Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.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:34:17
Message-Id: 201304062033.54951.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] Eth0 interface not found - udev that little slut!!!!! by Volker Armin Hemmann
1 On Saturday 06 Apr 2013 20:03:15 Volker Armin Hemmann wrote:
2 > Am 06.04.2013 17:57, schrieb Alan Mackenzie:
3 > > Hi, Nick.
4 > >
5 > > On Sat, Apr 06, 2013 at 10:51:42AM -0400, Nick Khamis wrote:
6 > >> After updating our systems we lost network connectivity to the
7 > >> servers. When trying to start net.eth0 we got the following message:
8 > >> /ib64/rc/net/wpa_supplicant.sh: line 68: _is wireless command not found
9 > >> /etc/init.d/net.eth0: line 548: _exists command not found
10 > >> Errror: Interface eth0 does not exist
11 > >> Ensure that you have loaded the correct kernel modules for your hardware
12 > >> # lsmod
13 > >> module used by
14 > >> tg3 0
15 > >> lbphy tg3
16 > >> eth0
17 > >> flags=4098<broadcast,multicast> mtu 1500
18 > >> ....
19 > >> interrupt=16
20 > >>
21 > >> lo
22 > >> flags=73<UP,LOOPBACK,RUNNING> mtu 16436
23 > >> inet 127.0.0.1 BROADCAST 255.255.255.0
24 > >> inet6 ::1 prefixlen 128 scopeid 0x10 <host>
25 > >>
26 > >> Please excuse me, I am running back and forth from the servers and
27 > >> typing the error message here. Did our configuration get switched to
28 > >> IP6? These are our DB servers and why me!!! Why ME!!!!!
29 > >
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 >
49 > in my case it is still eth0:
50 > ifconfig
51 > eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
52 > inet 192.168.178.21 netmask 255.255.255.0 broadcast
53 > 192.168.178.255
54 > inet6 fe80::1e6f:65ff:fe87:6f6a prefixlen 64 scopeid 0x20<link>
55 > ether 1c:6f:65:87:6f:6a txqueuelen 1000 (Ethernet)
56 > RX packets 4647305 bytes 6693078055 (6.2 GiB)
57 > RX errors 0 dropped 0 overruns 0 frame 0
58 > TX packets 2943816 bytes 226871998 (216.3 MiB)
59 > TX errors 0 dropped 1 overruns 0 carrier 0 collisions 0
60 >
61 > sys-fs/udev
62 > Available versions: (~)168-r2[1] [M]171-r10 197-r8^t{tbz2}
63 > (~)198-r6^t{tbz2} (~)199-r1^t{tbz2} 200^t{tbz2} **9999^t {acl
64 > action_modeswitch build debug doc edd extras +firmware-loader floppy
65 > gudev hwdb introspection keymap +kmod +openrc +rule_generator selinux
66 > static-libs test}
67 > Installed versions: 200^t{tbz2}(18:30:31
68 > 29.03.2013)(firmware-loader gudev hwdb keymap kmod openrc -acl -doc
69 > -introspection -selinux -static-libs)
70 >
71 > I did keep net.eth0....
72
73 Is your eth0 NIC a module (modprobed), or built in the kernel?
74 --
75 Regards,
76 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

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