Gentoo Archives: gentoo-user

From: Alan Mackenzie <acm@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Eth0 interface not found - udev that little slut!!!!!
Date: Sat, 06 Apr 2013 15:58:18
Message-Id: 20130406155741.GA2729@acm.acm
In Reply to: [gentoo-user] Eth0 interface not found - udev that little slut!!!!! by Nick Khamis
1 Hi, Nick.
2
3 On Sat, Apr 06, 2013 at 10:51:42AM -0400, Nick Khamis wrote:
4 > After updating our systems we lost network connectivity to the
5 > servers. When trying to start net.eth0 we got the following message:
6
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
10 > Errror: Interface eth0 does not exist
11 > Ensure that you have loaded the correct kernel modules for your hardware
12
13 > # lsmod
14
15 > module used by
16 > tg3 0
17 > lbphy tg3
18
19 > eth0
20
21 > flags=4098<broadcast,multicast> mtu 1500
22 > ....
23 > interrupt=16
24
25
26 > lo
27
28 > flags=73<UP,LOOPBACK,RUNNING> mtu 16436
29 > inet 127.0.0.1 BROADCAST 255.255.255.0
30 > inet6 ::1 prefixlen 128 scopeid 0x10 <host>
31
32
33 > Please excuse me, I am running back and forth from the servers and
34 > typing the error message here. Did our configuration get switched to
35 > IP6? These are our DB servers and why me!!! Why ME!!!!!
36
37 No, it's not just you, it's happened to pretty much everybody. udev-200
38 now renames eth0, eth1, .... to something else, dependent upon
39 complicated rules. In my case eth0 has become p6p1, though many people
40 seem to have got longer names.
41
42 Have a look in /sys/class/net and see if your new name is there. If so,
43 edit all your config files containing eth0, switching to the new name.
44
45 Once you got that done and things work again, take a deep breath and have
46 a look at the most recent Gentoo news item ($ eselect news read) which
47 explains it all, more or less. Then decide whether the above is a long
48 term solution, and if not start reading docs about writing udev rules.
49
50 Yes, it's a pain in the backside. But at least with Gentoo, you've a
51 good chance of fixing things like this quickly.
52
53 > Your help is greatly appreciated,
54
55 > Nick
56
57 --
58 Alan Mackenzie (Nuremberg, Germany).

Replies

Subject Author
Re: [gentoo-user] Eth0 interface not found - udev that little slut!!!!! Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] Eth0 interface not found - udev that little slut!!!!! Volker Armin Hemmann <volkerarmin@××××××××××.com>
Re: [gentoo-user] Eth0 interface not found - udev Stroller <stroller@××××××××××××××××××.uk>