eth0 error messages

Q After installing Mandrake 10.1, eth0 is running well. However after reboot, I get this message: "Bringing up eth0: FAILED". Help!

%cat /etc/resolv.conf
search nsw.optushome.com.au
nameserver 203.2.75.132
nameserver 198.142.0.51
%lspci | grep Ethernet
00:0b.0 Ethernet controller: Realtek
Semiconductor Co., Ltd. RTL -
8129/8139C/8139C+ (rev10)
00:0c.0 Ethernet controller: Realtek
Semiconductor Co., Ltd. RTL -
8129/8139C/8139C+ (rev10)
%ifconfig eth0 192.168.0.1  1
%ping 192.168.0.5
PING 192.168.0.5 (192.168.0.5)
56(84) bytes of data.
From 192.168.0.1 icmp_seq=1
1
Destination Host Unreachable
From 192.168.0.1 icmp_seq=2
1
Destination Host Unreachable
From 192.168.0.1 icmp_seq=3
1
Destination Host Unreachable
--- 192.168.0.5 ping statistics ---
5 packets transmitted, 0 received,
+3 errors, 100% packet loss, time
3998ms
, pipe 3
%ping 192.168.0.1  1
PING 192.168.0.1 (192.168.0.1
1             1)
56(84) bytes of data.
64 bytes from 192.168.0.1 icmp_
1:
seq=1 ttl=64 time=0.065 ms
--- 192.168.0.1 ping statistics ---
1
1 packets transmitted, 1 received,
0% packet loss, time 0ms
rtt min/avg/max/mdev =
0.065/0.065/0.065/0.000 ms
%ifconfig
eth0 Link encap:Ethernet HWaddr
00:02:44:1   1:DD:24
inet6 addr: fe80::202:44ff:fe1   1:
dd24/64 Scope:Link
UP BROADCAST RUNNING
MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0
overruns:0 frame:0
TX packets:195 errors:0 dropped:0
overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:33386
(32.6 Kb)
Interrupt:9 Base address:0x9f00
eth0:9 Link encap:Ethernet HWaddr
00:02:44:1    1:DD:24
inet addr:127.255.255.255
Bcast:127.255.255.255
Mask:255.0.0.0
UP BROADCAST RUNNING
MULTICAST MTU:1500 Metric:1
Interrupt:9 Base address:0x9f00
eth1 Link encap:Ethernet HWaddr
00:50:22:E9:8E:A4
inet6 addr: fe80::250:22ff:
fee9:8ea4/64 Scope:Link
UP BROADCAST MULTICAST
MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0
overruns:0 frame:0
TX packets:23 errors:0 dropped:0
overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:2538
(2.4 Kb)
Interrupt:1 Base address:0xae00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING
MTU:16436 Metric:1
RX packets:243 errors:0 dropped:0
overruns:0 frame:0
TX packets:243 errors:0 dropped:0
overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:20570 (20.0 Kb) TX
bytes:20570 (20.0 Kb)
%ifup eth0
Determining IP information for
eth0... done.
/sbin/ifup: line 433: 7771 Hangup /
etc/init.d/tmdns reload >/dev/null
2>&1
% /etc/init.d/network status
Configured devices:
lo eth0
Currently active devices:
lo eth1
%time /etc/init.d/network restart
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [OK ]
Setting network parameters: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
1.90user 0.66system 1:38.44elapsed
2%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (0major+64810mi
nor)pagefaults 0swaps
%ping 192.168.0.1   1
connect: Network is unreachable
%cat /etc/sysconfig/network-scripts/
ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
MII_NOT_SUPPORTED=yes
NEEDHOSTNAME=yes

A For both eth0 and eth1, there are packets being transmitted but nothing being received. This suggests that DHCP requests are sent out but not responded to. Running dhclient from the command line to manually request an IP address for eth0 will output useful information, such as link failure or errors. Why there is a 127.255.255.255 address on eth0:9 is anyone's guess. Checking out /etc/sysconfig/network-scripts and removing ifcfg-eth0:9 should remove this because it will interact with traffic on the loopback address of 127.0.0.1 since the netmask 255.0.0.0 includes this IP. While the kernel does detect the Ethernet card, it doesn't suggest that it's working correctly. Running dmesg will show any kernel messages, indicating a timeout or other driver failure causing issues with DHCP.

Back to the list