-   Linux - Networking (
-   -   help getting connected to internet (

leroy27336 01-22-2004 12:38 AM

help getting connected to internet
can anyone explain how to set up an internet connection for Red Hat 9. My NIC is on board, i'm getting an ip address, but i'm not able to pull up a webpage.....any help regarding this issue would be greatly appreciated....

carlmarshall 01-22-2004 04:07 AM

Can you give us more please?

How are you connecting? Through the NIC to a gateway? dial-up?


Grafbak 01-22-2004 04:59 AM

To get Internet on Linux you need the following :

an ip-adress on your NIC (eth0). You can check this with ifconfig.
Consider an adress starting with 169 a wrong adress.
If you get your ip from a dhcp server, you should get one.

You need DNS servers, you can find the entries in /etc/resolv.conf
It should look like this :


for example, you will have your own dns servers probably.

Then, if you use a router or gateway at your home, you must tell your pc so. You can do this with : route add default gw (the ip of your gateway can differ from what i type here)

If you could post a little more info about your network it would be helpfull. Hope this post was a help for you however.

Good Luck !

All times are GMT -5. The time now is 03:27 AM.