Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volkerarmin@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Eth0 interface not found - udev that little slut!!!!!
Date: Sat, 06 Apr 2013 20:15:50
Message-Id: 51608262.4040708@googlemail.com
In Reply to: Re: [gentoo-user] Eth0 interface not found - udev that little slut!!!!! by Mick
1 Am 06.04.2013 21:33, schrieb Mick:
2 > On Saturday 06 Apr 2013 20:03:15 Volker Armin Hemmann wrote:
3 >> Am 06.04.2013 17:57, schrieb Alan Mackenzie:
4 >>> Hi, Nick.
5 >>>
6 >>> On Sat, Apr 06, 2013 at 10:51:42AM -0400, Nick Khamis wrote:
7 >>>> After updating our systems we lost network connectivity to the
8 >>>> servers. When trying to start net.eth0 we got the following message:
9 >>>> /ib64/rc/net/wpa_supplicant.sh: line 68: _is wireless command not found
10 >>>> /etc/init.d/net.eth0: line 548: _exists command not found
11 >>>> Errror: Interface eth0 does not exist
12 >>>> Ensure that you have loaded the correct kernel modules for your hardware
13 >>>> # lsmod
14 >>>> module used by
15 >>>> tg3 0
16 >>>> lbphy tg3
17 >>>> eth0
18 >>>> flags=4098<broadcast,multicast> mtu 1500
19 >>>> ....
20 >>>> interrupt=16
21 >>>>
22 >>>> lo
23 >>>> flags=73<UP,LOOPBACK,RUNNING> mtu 16436
24 >>>> inet 127.0.0.1 BROADCAST 255.255.255.0
25 >>>> inet6 ::1 prefixlen 128 scopeid 0x10 <host>
26 >>>>
27 >>>> Please excuse me, I am running back and forth from the servers and
28 >>>> typing the error message here. Did our configuration get switched to
29 >>>> IP6? These are our DB servers and why me!!! Why ME!!!!!
30 >>> No, it's not just you, it's happened to pretty much everybody. udev-200
31 >>> now renames eth0, eth1, .... to something else, dependent upon
32 >>> complicated rules. In my case eth0 has become p6p1, though many people
33 >>> seem to have got longer names.
34 >>>
35 >>> Have a look in /sys/class/net and see if your new name is there. If so,
36 >>> edit all your config files containing eth0, switching to the new name.
37 >>>
38 >>> Once you got that done and things work again, take a deep breath and have
39 >>> a look at the most recent Gentoo news item ($ eselect news read) which
40 >>> explains it all, more or less. Then decide whether the above is a long
41 >>> term solution, and if not start reading docs about writing udev rules.
42 >>>
43 >>> Yes, it's a pain in the backside. But at least with Gentoo, you've a
44 >>> good chance of fixing things like this quickly.
45 >>>
46 >>>> Your help is greatly appreciated,
47 >>>> Nick
48 >> in my case it is still eth0:
49 >> ifconfig
50 >> eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
51 >> inet 192.168.178.21 netmask 255.255.255.0 broadcast
52 >> 192.168.178.255
53 >> inet6 fe80::1e6f:65ff:fe87:6f6a prefixlen 64 scopeid 0x20<link>
54 >> ether 1c:6f:65:87:6f:6a txqueuelen 1000 (Ethernet)
55 >> RX packets 4647305 bytes 6693078055 (6.2 GiB)
56 >> RX errors 0 dropped 0 overruns 0 frame 0
57 >> TX packets 2943816 bytes 226871998 (216.3 MiB)
58 >> TX errors 0 dropped 1 overruns 0 carrier 0 collisions 0
59 >>
60 >> sys-fs/udev
61 >> Available versions: (~)168-r2[1] [M]171-r10 197-r8^t{tbz2}
62 >> (~)198-r6^t{tbz2} (~)199-r1^t{tbz2} 200^t{tbz2} **9999^t {acl
63 >> action_modeswitch build debug doc edd extras +firmware-loader floppy
64 >> gudev hwdb introspection keymap +kmod +openrc +rule_generator selinux
65 >> static-libs test}
66 >> Installed versions: 200^t{tbz2}(18:30:31
67 >> 29.03.2013)(firmware-loader gudev hwdb keymap kmod openrc -acl -doc
68 >> -introspection -selinux -static-libs)
69 >>
70 >> I did keep net.eth0....
71 > Is your eth0 NIC a module (modprobed), or built in the kernel?
72 r8169 41918 0
73 module

Replies

Subject Author
[gentoo-user] Re: Eth0 interface not found - udev that little slut!!!!! "Jörg Schaible" <joerg.schaible@×××.de>