On July 4, [EMAIL PROTECTED] said:

 > Am Dienstag, den 04.07.2006, 08:10 -0400 schrieb Alfred:
 > 
 > > has anyone had trouble with dual or triple network cards
 > > switching positions?  Example one bootup and card #1 is eth0 and
 > > the next it is eth3
 >
 > have a look at /etc/iftab and man iftab you can bind them fixed to
 > a interface name by specifying the MAC address.

You can also use udev on its own to handle this cleanly, without
involving ifrename:

  http://www.debian-administration.org/users/Utumno/weblog/2

For example:

[0 [EMAIL PROTECTED] ~]$ cat /etc/udev/netinterfaces.rules
KERNEL=="eth*",    SYSFS{address}=="29:19:db:4b:b6:6b",  NAME="3com"
KERNEL=="eth*",    SYSFS{address}=="d7:53:f6:7d:fd:d8",  NAME="wireless"
KERNEL=="eth*",    SYSFS{address}=="f1:c1:a1:27:10:f0",  NAME="wired"
KERNEL=="eth*",    SYSFS{address}=="26:df:48:50:b0:db:86:c5",   NAME="fw"
[0 [EMAIL PROTECTED] ~]$ ls -la /etc/udev/rules.d/010_netinterfaces.rules 
lrwxrwxrwx 1 root root 22 2006-06-05 01:36 
/etc/udev/rules.d/010_netinterfaces.rules -> ../netinterfaces.rules
[0 [EMAIL PROTECTED] ~]$ 

hth,

        --dkg

-- 
edubuntu-devel mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/edubuntu-devel

Reply via email to