[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#407460: USB ethernet interface renamed after installation on NSLU2 which causes the system to be inaccessible

* Joey Hess <joeyh@debian.org> [2007-02-13 16:27]:
> I take it that netcfg's use of link detection doesn't make it default to
> eth1 in this case?

No, oldsys-preseed always sets netcfg/choose_interface.  Although now
I'm starting to wonder whether this is a good idea...

> The rule could go in rootskel for arm only, but it would need to be one
> that only affected the nslu2 and not other arms. If that is not possible
> in a udev rule, we would have to make rootskel move the rule into place
> during early boot if it detected an nslu2.

The rule Gordon suggested could be included on all arm machines since
it mentions the ixp4xx driver:

# Built-in Ethernet Adapter (NPE-B microcode not present)
SUBSYSTEM=="net", DRIVERS=="ixp4xx_mac", NAME="eth1"

And then the unofficial ixp4xx image which contains the microcode
would simply need to remove that file from the initramfs.

Anyway, I'm away from my slug for the next 3 weeks, but maybe someone
can try adding such a udev rule and the nic-modules udeb and see
whether it works.
Martin Michlmayr

Reply to: