Am Samstag 20 Juni 2009 09:06:51 schrieb Konstantinos Agouros: > Hi, > > I have a box that serves as a firewall and thus has different NICs. > However when booting I run into a problem: > > One of the NICs needs the de4x5 driver another the tulip one. Udev > loads tulip first, which then tries to claim the card the needs de4x5 > but this does not work. So I have to manually set things straight after- > wards. Is there a way to force it to first load de4x5 and then tulip? > /etc/modules.autoload.d seems to be used too late.
You can let udev assign persistant names to your network interfaces.
# cat /etc/udev/rules.d/10-local.rules
KERNEL=="eth*", ATTRS{address}=="00:1c:25:1a:ee:0c", NAME="lan0"
KERNEL=="wlan*", ATTRS{address}=="00:1e:4c:37:39:41", NAME="wlan0"
Then create the appropriate symlinks for them in /etc/init.d.
HTH...
Dirk
signature.asc
Description: This is a digitally signed message part.

