Linux Certification, System Administration, Programming, Networking Books
Internet Connection on RH9

Hello, I hope someone can help me out.

I've been working for a few days to get my internet connection working on my new install of RH 9, but cannot get it to work. I have an HP desktop, with a realtek 8139 NIC.

I have reason to believe that the driver is installed correctly. With cat /proc/net/dev I see both eth0 and lo, and for eth0 I have 0's for fifo, errs, drop.
With isbn/ifconfig, I have for eth0:
Link encap: Ethernet Hwaddr 00:40:2B:3D:OB:F1
inet addr: 128.119.163.67 Bcast 128.119.163.255 Mask: 255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets: 325 errors:0 dropped:0 overruns:0 frame:0
TX packets 521 errors:0 dropped:0 overruns:0 carriers:0 txqueuelen:100
RX bytes: 32320 TX bytes: 32166
Interrupt:11 Base Address: 0X700

The machine is connected to an office network with DHCP, and I've set it up as such. With windows running I am able to access the internet.

With /sbin/route, I get * under gateway.

I am new to linux, so I apologize if this is an obvious question and would be grateful for any insight!

-------------------------------------------------------------------

Do you have DNS set up? Look in /etc/resolv.conf:
# cat /etc/resolv.conf

Are your DNS servers in there, such as this:

nameserver 208.26.20.131

For a secondary and tertiary nameserver, simply add another "nameserver" line below the first one.

Good luck.

-------------------------------------------------------------------

What is the IP of your router? Let's say it is 128.119.163.254
# route add -net default gw 128.119.163.254 netmask 0.0.0.0 metric 1

You should now see the correct gateway in the output from the route command.

Quick Links:
Do you have a Linux Question?

Linux Home: Linux System Administration Hints and Tips