You are not logged in.
I got two nic, eth0 and eth1 (integrated, and pci card). cable attached only to pci card, but after every reboot I have to change rc.conf from eth0, to eth1 and vice versa. how do I make it stay?
Last edited by anarxi (2009-07-22 14:54:37)
there is now knowledge that is not power
Offline
we are not condemned to write ugly code
Offline
Additionally, if you only use one of them, you can just blacklist the driver for the other one.
Offline
t.y.
SUBSYSTEM=="net", ATTRS{address}=="aa:bb:cc:dd:ee:ff", NAME="lan0"
SUBSYSTEM=="net", ATTRS{address}=="ff:ee:dd:cc:bb:aa", NAME="wlan0"
id the trick, but for the future reference maybe anyone know, how do I find out which modules are being loaded for which card? (to use first solution from link)
MODULES=(8139too e100)
there is now knowledge that is not power
Offline
udevadm info -a -p /sys/class/net/<yourdevice> | grep DRIVERS
although the first solution doesn't consistently work.
Offline
udevadm info -a -p /sys/class/net/<yourdevice> | grep DRIVERS
although the first solution doesn't consistently work.
ty
there is now knowledge that is not power
Offline
lspci -k shows all devices with corresponding drivers/modules.
Offline