[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Order of network interfaces (WLAN and ethernet)



Dear Sven

Am Mon, Apr 03, 2006 at 06:25:35PM +0100 hat Sven Huster getippert:
> I got this configured in my /etc/udev/local.rules :
> 
> BUS=="pci", KERNEL=="eth[0-9]", SYSFS{address}=="00:0c:f1:98:2e:ac" \
>         NAME="wifi0"
> 
> BUS=="pci", KERNEL=="eth[0-9]", SYSFS{address}=="00:0f:1f:34:01:f4", \
>         NAME="lan0"
> 
> 
> Names my ethernet interface lan0 and the wireless wifi0 based on their MAC
> addresses

Great! I have now the following (not the comma before the
backslash):

# cat /etc/udev/rules.d/z99_local.rules
BUS=="pci", KERNEL=="eth[0-9]", SYSFS{address}=="00:0e:35:6f:45:73", \
        NAME="wifi0"

BUS=="pci", KERNEL=="eth[0-9]", SYSFS{address}=="00:0b:5d:54:da:88", \
        NAME="lan0"

And it is working as expected. Thank you very much!

Regards
-- 
Philipp      | work: philipp.frauenfelder@mailsp.com +41 1 802 20 00
Frauenfelder | home: philipp@frauenfelder-kuerner.ch +41 1 862 73 14
[PGP]        | http://www.frauenfelder-kuerner.ch/
Proudly running Debian GNU/Linux. See http://www.debian.org/



Reply to: