network interface names changed from eth0 to eth1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| udev (Ubuntu) |
Medium
|
Unassigned |
Bug Description
I didn't changed the hardware (it's an ibook), but the since I updated from breezy to dapper the names of the interfaces changed and eth0 is empty.
My ethernet card (sungem) moved from eth0 to eth1 and my wlan-card (bcm43xx) moved from eth1 to eth2.
I have this problem also with a self-built kernel (2.6.15), which works fine with breezy. Maybe this isn't a kernel problem, but I have no idea where to fill this bug better.
x (xk2c-deactivatedaccount) wrote : | #1 |
x (xk2c-deactivatedaccount) wrote : | #2 |
After entering the right Mac adress in /etc/iftab it works.
$ ifconfig
eth0 Protokoll:Ethernet Hardware Adresse 00:0B:6A:BB:8E:ED
Changed in linux-image-2.6.15-18-powerpc: | |
status: | Unconfirmed → Confirmed |
x (xk2c-deactivatedaccount) wrote : | #3 |
I have talked with Keywan Najafi Tonekaboni offlist.
We both used:
$ locale
> LANG=de_DE.UTF-8
> LANGUAGE=
> LC_CTYPE=
> LC_NUMERIC=
> LC_TIME=
> LC_COLLATE=
> LC_MONETARY=
> LC_MESSAGES=
> LC_PAPER=
> LC_NAME=
> LC_ADDRESS=
> LC_TELEPHONE=
> LC_MEASUREMENT=
> LC_IDENTIFICATI
> LC_ALL=
and....
> $ cat /etc/environment
> LANGUAGE=
>
> LANG=de_DE.UTF-8
It might possible, that the install-script which should put the MAC-address in /etc/iftab fails with this locale settings, because:
$ ifconfig
eth0 Protokoll:Ethernet Hardware Adresse 00:0B:6A:BB:8E:ED
[...]
$ LANG=C ifconfig
eth0 Link encap:Ethernet HWaddr 00:0B:6A:BB:8E:ED
[...]
When the script "greps" the MAC from this output, it could break with User-locale settings.
Anyone who can confirm this?
x (xk2c-deactivatedaccount) wrote : | #4 |
# LANG=C dpkg -l /etc/iftab
No packages found matching /etc/iftab.
Does this mean /etc/iftab is obsolete in Dapper?
x (xk2c-deactivatedaccount) wrote : | #5 |
Uups
That should have been:
dpkg -S iftab
udev: /usr/share/
udev: /lib/udev/
udev: /usr/share/
udev: /etc/udev/
/etc/iftab must be maintained by hand at the moment
Changed in udev: | |
status: | Confirmed → Rejected |
same here. I have i386.
I think the problem is that /etc/iftab has the wrong Mac-Adress. It was auto generated during dist-upgrade from breezy here.
$ cat /etc/iftab
# This file assigns persistent names to network interfaces. See iftab(5).
eth0 mac 00:80:c8:fa:e1:18
$ ifconfig
eth1 Protokoll:Ethernet Hardware Adresse 00:0B:6A:BB:8E:ED
These Mac Adresses do not match.
I will now test if it works, when they are the same.