After installing Mandrake 10.1 eth0 is running good. However after reboot, "Bringing up eth0: FAILED" . I am only basic linux user can someone help me.
%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)
I assume this means that my box can see the two ethernet cards, so the driver is working.
%ifconfig eth0 192.168.0.11
%ping 192.168.0.5
PING 192.168.0.5 (192.168.0.5) 56(84) bytes of data.
From 192.168.0.11 icmp_seq=1 Destination Host Unreachable
From 192.168.0.11 icmp_seq=2 Destination Host Unreachable
From 192.168.0.11 icmp_seq=3 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.11
PING 192.168.0.11 (192.168.0.11) 56(84) bytes of data.
64 bytes from 192.168.0.11: icmp_seq=1 ttl=64 time=0.065 ms
--- 192.168.0.11 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.065/0.065/0.065/0.000 ms
%ifconfg
eth0 Link encap:Ethernet HWaddr 00:02:44:11
D:24
inet6 addr: fe80::202:44ff:fe11: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:11
D: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:11 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+64810minor)pagefaults 0swaps
%ping 192.168.0.11
connect: Network is unreachable
%cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
MII_NOT_SUPPORTED=yes
NEEDHOSTNAME=yes
check_link_down(){
return 1;
}
:-?