6

Cannot find device "eth0"

view full story
linux-howto

http://forums.fedoraforum.org – I'm posting this here just in-case anyone else has the same issue so they can resolve it. I had an issue with a server where the rj45 connection on eth0 wouldn't clip in, so I RMA'd the motherboard and got a replacement. After swapping them everything worked, except for eth0. Code: [root@z2 ~]# ifconfig eth1      Link encap:Ethernet  HWaddr 00:25:B3:AB:9C:76            inet addr:10.0.0.3  Bcast:10.0.255.255  Mask:255.255.0.0           inet6 addr: fe80::225:b3ff:feab:9c76/64 Scope:Link           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1           RX packets:16926 errors:0 dropped:0 overruns:0 frame:0           TX packets:13454 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000           RX bytes:1755937 (1.6 MiB)  TX bytes:1353410 (1.2 MiB)           Interrupt:39 Memory:f6000000-f6012700 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:598 errors:0 dropped:0 overruns:0 frame:0           TX packets:598 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0           RX bytes:48354 (47.2 KiB)  TX bytes:48354 (47.2 KiB) eth1 worked fine, so I tried to bring up eth0 Code: [root@z2 ~]# ifup eth0 Cannot find device "eth0" Error for wireless request "Set Encode" (8B2A) :     SET failed on device eth0 ; No such device. Cannot find device "eth0" Cannot find device "eth0" Failed to bring up eth0. Here was the problem Code: [root@z2 ~]# cat /etc/udev/rules.d/70-persistent-net.rules # This file was automatically generated by the /lib/udev/write_net_rules # program run by the persistent-net-generator.rules rules file. # # You can modify it, as long as you keep each rule on a single line. # Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rule written by anaconda) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:23:7d:e9:5d:ca", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1" # Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rule written by anaconda) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:23:7d:e9:5d:c8", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" # PCI device 0x14e4:0x1639 (bnx2) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:25:b3:ab:9c:76", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1" # PCI device 0x14e4:0x1639 (bnx2) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:25:b3:ab:9c:74", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1" For some reason both new devices were named eth1. Anyway, renamed and fixed. (HowTos)