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 -- 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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]