Did you ever try ? I think no. I've got the problem a few times while
(re)configuring multi-ethernet machines.
ne2k-pci is the first module loaded then and it finds two interfaces.
As there is no interfaces registered at the moment, they are named eth0 and
eth1 (sic!)
The interface names from modules.conf mean nothing here, they are ignored.
I see tho ways to get the proper intyerface names:
1. Force loading all modules in the appropriate sequence (ne before
ne2k-pci) either manually or via pre-install command
2. Renaming interfaces after they are initialized (yes, interface names can
be changed, but it is ugly)
> Note that the `ifconfig` command refers to the interfaces by name, and
> it's the settings in modules.conf that decide what type of interface
> that name refers to. That mapping can't be changed by any interface
> configuration or initialisation command, and the names used are those
> as given.
ifconfig does not assign interface names. The kernel driver (module) does.
And the driver has no option passed (even I thing it is impossiblke to pass
any) to define new interface naming scheme.
> > To avoid such problems one probably should add a lot of
> > pre-install parameters in modules.conf.
>
> What problems?
Described above.
Andrzej
-- ======================================================================= Andrzej M. Krzysztofowicz ankry@mif.pg.gda.pl phone (48)(58) 347 14 61 Faculty of Applied Phys. & Math., Technical University of Gdansk - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/