LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   help getting connected to internet (http://www.linuxquestions.org/questions/linux-networking-3/help-getting-connected-to-internet-137346/)

leroy27336 01-21-2004 11:38 PM

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 03:07 AM

Can you give us more please?

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

Carl.

Grafbak 01-22-2004 03: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 :

nameserver 212.83.68.130

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 192.168.0.1 (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 05:20 AM.