[Voyage-linux] Sequence of wifi device discovery
Paul Pichota
(spam-protected)
Wed Apr 4 23:44:11 HKT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Edwin Whitelaw wrote:
> I'm sure this has been discussed before but I have been unable to find
> it searching this list or Google...
>
> I'm running Voyage 0.3 (fully upgraded) on a WRAP. Two radios, one
> NL2611 using hostap and setup as an AP for .11b clients. The other is a
> an Atheros radio (same problem with both CM9 or SR5).
>
> Seems that the assignment of wifi0/wifi1 to the respective radios is not
> consistent across reboots, either soft or hard. Sometimes the wlan0
> gets wifi0 and at other times the atheros card will be assigned wifi0.
> Obviously, this causes configuration failure since the interfaces file
> explicitly assigns the ath0 to a specific wifi device.
>
> Is there a way to deterministically set the device assignment?
>
> Thanks,
>
> Edwin
Hi Edwin,
You can map the symbolic names to the MAC addresses. On my desktop
system I have the following lines in /etc/udev/rules.d/10-network.rules
SUBSYSTEM=="net", SYSFS{address}=="xx:xx:xx:xx:xx:xx", NAME="lan0"
SUBSYSTEM=="net", SYSFS{address}=="xx:xx:xx:xx:xx:xx", NAME="wlan0"
Voyage 0.3 also uses udev, but I cannot tell which file to edit or if it
suffices to add that file.
Regards,
Paul Pichota
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGE8fImH6TS/e/KAIRAsaqAJ9LMjpdi8v2QBL56133xGfSzmM8nwCfXqHT
Ey1kbQ3CmbUm3p+7m8Eugho=
=0z5j
-----END PGP SIGNATURE-----
More information about the Voyage-linux
mailing list