Operating System - Linux
1824936 Members
3884 Online
109678 Solutions
New Discussion юеВ

linux redhat 9 internet connection

 
SOLVED
Go to solution
Henry Chua
Super Advisor

linux redhat 9 internet connection

I just setup a terminal running rh9. it is hooked up to a router and other workstation seems to be able to see it.. however i cant seem to connect it to the internet like other workstation (which is runnin on winxp).. wat could be the problem?

thank u
5 REPLIES 5
Alexander Chuzhoy
Honored Contributor
Solution

Re: linux redhat 9 internet connection

One possibility-running firewall.
stop it with:
service iptables stop
and try to access the internet again.
Second possiblity:
bad network configuration,however if all your workstations connect the same way-via router and the linux has this router as default gateway-everything should work.
Edit the file:
/etc/sysconfig/network
specifically the line:
GATEWAY=

the ip of the router's internal leg should be appended to this line-if it's not there.
Henry Chua
Super Advisor

Re: linux redhat 9 internet connection

HI Alex

I tried stoping the firewall and adding the gateway. But still can't access internet.. I try pinging www.yahoo.com and it gives this
"[root@localhost sysconfig]# ping www.yahoo.com
ping: unknown host www.yahoo.com"

what could be the problem?
Huc_1
Honored Contributor

Re: linux redhat 9 internet connection

Can you ping to an internal workstation ?
this should have worked now that you have the right gateway entry in /etc/sysconfig/network !
Also does a netstat -r show the correct settings

Perhaps it is the iptables of the router between internal external that does not allow this node to do this ?, you could have a look at the log in /var/log/security to fish for some more informations.


Jean-Pierre
Smile I will feel the difference
Alexander Chuzhoy
Honored Contributor

Re: linux redhat 9 internet connection

I'd start trying to connect/ping IP addresses rather than hostnames,thus eliminating possible hostname resolving problem.

you might have problem with your dns server.
See if it's configured correctly.The line
nameserver x.x.x.x


should appear under /etc/resolv.conf
where x.x.x.x is the address of the DNS server.
Karsten Breivik_1
Frequent Advisor

Re: linux redhat 9 internet connection

Could it be you are using a Intel PRO/100 network card?

In the RH 9 release, there was an error in the device driver distributed with the OS preventing the interface coming up. If this is the case, insert another well supported card, like 3COM 509 or 905, get online, download the device driver patch for the Intel card and try again...

- k
poi