I reproduced the problem by modifying one entry of my iftab file so that it
does not match anymore:
[EMAIL PROTECTED]:~$ cat /etc/iftab
# This file assigns persistent names to network interfaces. See iftab(5).
eth0 mac 00:11:43:7A:0A:2B# was 2A at the end
eth1 mac 00:12:F0:3F:A9:82
[EMAIL PROTECTED]:~$ ifconfig -a
eth1 Lien encap:Ethernet HWaddr 00:12:F0:3F:A9:82
inet adr:152.81.65.185 Bcast:152.81.65.255 Masque:255.255.254.0
[...]
eth2 Lien encap:Ethernet HWaddr 00:11:43:7A:0A:2A
BROADCAST MULTICAST MTU:1500 Metric:1
Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
Octets reçus:0 (0.0 b) Octets transmis:0 (0.0 b)
Interruption:169
(no eth0 in the list)
[EMAIL PROTECTED]:~$ sudo ifup eth0
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth0.
So, in some sense, there is no error. If you do ifconfig -a, you see
that the eth0 were renamed to eth2. But I filled a BR anyway because 1)
the error message is not clear 2) the problem is not here with old tg3
drivers
If ifup would spit a message like "if you think that the device is
plugged and activated, you may want to check its MAC address in the
/etc/iftab file" or so, I would be more than happy.
--
Fails to bring the interface if the mac address don't match
https://launchpad.net/bugs/54589
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs