On Sat, 2003-09-27 at 12:47, Stephen Patterson wrote: > On Sat, 27 Sep 2003 00:10:08 +0200, [EMAIL PROTECTED] wrote: > > I would rather try to detect which interface is mapped to the driver > > instead of assuming the active one is always on eth0. > > Is there a way to do that? > > AFAIK there isn't a way to tell that, but if your network drivers are > all modules, you can prompt the system to always load rtl8139 for eth0 > anda different module for eth1. You do this by adding aliases to > /etc/modutils/aliases and running update-module. > > This is what I have on my firewall. > alias eth0 8139too > alias eth1 3c509 >
My main question about this, in the case where 8139too is not load and then I try to access eth1, this will load the 3c509 module, but will that bring up eth1 with no eth0 due to the alias, or will it bring up eth0 for 3c509 since its the first free interface? > > -- > Stephen Patterson http://patter.mine.nu/ > [EMAIL PROTECTED] remove SPAM to reply > Linux Counter No: 142831 GPG Public key: 252B8B37 > Last one down the pub's an MCSE -- Micha Feigin [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]