LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   unable to ping dns server in rhel 6 (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-ping-dns-server-in-rhel-6-a-4175502415/)

gauravverma07 04-20-2014 10:21 PM

unable to ping dns server in rhel 6
 
Hi,
I have my laptop dual booted with both Win 7 and Rhel 6. I have configured static ip address to both of them but in win 7 internet is working fine whereas in rhel 6 it is not working. Infact it unable to ping any address outside the network.please help..Some of the details are as follows:

1) ip configuration : static
2) ip address : 192.168.1.120
3) default gateway : 192.168.1.1
4) dns server : 208.69.150.250

John VV 04-20-2014 10:37 PM

FIRST is this the 30 day free trial of RHEL 6.5
if so are you going to BUY the required yearly support contract

-- RHEL 6.5 is not free --
You need to buy the support contract
https://www.redhat.com/apps/store/desktop/


or

install the FREE rebuild of RedHat
CentOS 6.5

Cent has added extra software for desktop use
both cent and ScientificLinux should "just work" on the network setup and config

are you using the Default Gnome2 desktop
or something else


in gnome 2 you should have a network "icon" on the right side of the top tool bar
or
in the gnome menu ( left side of the top tool bar)
System / Preferences / Network Connections

gauravverma07 04-28-2014 04:31 AM

unable to ping dns in rhel 6.5
 
Thanks John, but I have recently upgraded my RHEL 6 to 6.5 and i am within the 30 days trial period. Moreover my concern is that when i connect the router cable directly to my laptop i get access to internet but when i do by taking the cable from switch i am not able to access it.But my win 7 is getting the internet even from switch also. Kindly help.

kirukan 04-28-2014 04:47 AM

Make sure the network interface is working
1. #ip a --> check interface is up and running with static ip
2. #route -n --> check the default route
3. #ping 127.0.0.1
4. #ping default-gateway
5. #dmesg | grep ethN ethernet interface

gauravverma07 04-28-2014 07:34 AM

Thanks, the internet issue is solved.Now i'm trying to install the linux-gtalk zip file but its not working. Please help.

cizzi 04-28-2014 07:55 AM

Quote:

Originally Posted by gauravverma07 (Post 5160495)
Thanks, the internet issue is solved.Now i'm trying to install the linux-gtalk zip file but its not working. Please help.

How are you trying to install it? unzipped it and compiled it? or via package manager?

gauravverma07 04-28-2014 08:21 AM

I have double clicked the zip file but there is not executable script file inside..

John VV 04-28-2014 02:00 PM

is this the software?
https://code.google.com/p/qgtalk/
and did you download it from google code ?
https://code.google.com/p/qgtalk/downloads/list
qGTalk_en-0.5.1.tar.gz

you will need to build that SOURCE CODE
and for that you will NEED to buy the redhat Support contract / license
redhat is NOT free

or

migrate to the FREE CentOS 6.5
http://wiki.centos.org/HowTos/Migrat...=%28migrate%29

you will need to install the gcc compiler and a bunch of software needed to build that code
--- this will take a lot of time !!!
you will need to first learn HOW to build the software

first extract the contencs of the archive " qGTalk_en-0.5.1.tar.gz"
qGTalk_en-0.5.1/
in the folder there is a file called README ( yes just like Alice with "eatme" and "drinkme" this is README )
and read the INSTALL file
these are the instructions
seeing as this is a QT project the normal
./configure
make
DOSE NOT apply
there is a file called "qGTalk.pro"
this is used by the program "qmake"

qmake needs to be installed
for that you will need to have access to the redhat RHN software repo
( a registered licensed install of RHEL -- ie a paid for install )
or
be using the free CentOS 6.5

gauravverma07 05-03-2014 05:08 AM

Thanx for the solution..

Well, I have tried to setup a network with my server which is connected to a router via a 24 port switch.The server has two n/w interfaces eth0 having the ip range 192.168.1.0/24(192.168.1.2 for the server itself) and another eth1 having 10.1.1.0/8(10.1.1.1 for the server itself).The internet is coming to the server via the router having ip 192.168.1.1 which is acting as the default gateway. Now, I have connected an 8-port switch to the n/w interface eth1 of the server and have connected my laptop the the switch. the ip I have given to my laptop is 10.1.1.2. Kindly give the possible commands to run in my server so that the internet can be shared to my laptop also.


All times are GMT -5. The time now is 06:09 PM.