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

Replies

Subject Author
Re: [gentoo-user] Eth0 interface not found - udev that little slut!!!!! Mick <michaelkintzios@×××××.com>