Click to See Complete Forum and Search --> : Ethernet not working on a new redhat install


schafferm
02-12-2006, 07:11 PM
Hi.

Jsut installed redhat - linux newbie. I can not get my ethernet connection to work.

Using a standard intel 10/100mb ethernet card. I know the card works and the port on the rotuer is working - when plugged into a different machine (Windows), I get an dynamically assigned IP. When I ran ifconfig the first time, I saw the Loopback and the ethernet card. However, I did not see the IP address assigned, I did see a IP6 address -- so I disabled IP6 by placing a singled alias command in the modprobe.conf file (net-pf-10 off). That removed the ip6 line in the ifconfig file, but still no ip address - even after a reboot. The ifconfig for eth0 shows UP Broadcast running.

I can not ping my router. Web obviously does not work. I've tried a static IP - and while I get an IP address in IFconfig - I still am dead in the water.

HELP?!

je_fro
02-12-2006, 07:32 PM
Is there a place to enable DHCP in whatever tool you're using? That's what you need...

happybunny
02-12-2006, 07:53 PM
can you dhclient eth0?

schafferm
02-12-2006, 09:49 PM
Hi

dhclient eth0 - returns nothing - just a pause
DHCP is set as part of the the obtain IP section of the tool - no hostname is provided.

schafferm
02-14-2006, 12:07 AM
If I force an IP outside of the dynamic range for my router, then route returns the following

Kernal IP routing
Dest Gateway Genmask Flags Metric Ref Use Iface
192.168.15.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default * 192.168.15.2 UG 0 0 0 eth0

If I set netcfg to dynamically pull an IP, then route returns nothing after the header lines. 192.168.15.2 is my router's gateway. no clue what 169.254.0.0 is or how it pulled 192.168.15.0

je_fro
02-14-2006, 12:18 AM
http://www.google.com/search?num=100&hl=en&lr=&safe=off&q=%22169.254.0.0%22

schafferm
02-14-2006, 08:52 AM
Whenever DHCP clients are unable to contact their DHCP server they default to selecting their own IP address from the 169.254.0.0 network until the DHCP server becomes available again. This is frequently referred to as Automatic Private IP Addressing (APIPA).

OK - So I know why it's there now - but I still can't get Linux to grab an IP from the server. - Yet a windows PC connceted to the same line can?

je_fro
02-14-2006, 04:06 PM
hmm...take a look at the output from ifconfig before and after running "dhclient" and "ifconfig eth0 up"