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

Bug#224645: netcfg wishlists, udhcpc|pump, intend /etc/network/interfaces



* Gaudenz Steinlin <gaudenz@soziologie.ch> [2003-12-21 12:10]:
> > After boot, eth0 and eth1 suddenly changed!  I told debian-installer to use
> > eth1 (the 3Com) for DHCP, but after reboot the 3Com was suddenly eth0!
> Do you have any clue why this happened? This sounds like nasty problem
> with module loading order...

Ok, I did some more debugging and found why this happens.  discover
recognizes the devices in the same order all the time.  However, while
hw-detect honours that order, after boot /etc/init.d/discover sorts
the modules in order to eliminate duplicates:

  MODULES=$(discover --module $ARGUMENTS | sort -u)

So while "discover --module all" reports:

via-rhine
3c59x

They are in fact loaded in reverse order after the sort.
-- 
Martin Michlmayr
tbm@cyrius.com



Reply to: