[Debian-eeepc-devel] madwifi or ath5k in function.sh

Santi Béjar santi at agolina.net
Sun Oct 19 17:08:58 UTC 2008


2008/10/19 Artur R. Czechowski <arturcz at hell.pl>:
> On Sun, Oct 19, 2008 at 12:57:30AM +0200, Santi Béjar wrote:
>> I've test it with madwifi in 2.6.26 and ath5 in 2.6.27 (just one
>> driver with each kernel) and the patch does what is expected. But if
>> you change from madwifi (ath0 by default) to ath5k (wlan0 by default)
>> you get the wrong $WLAN_IF because the persistent rule in udev:
>>
>> $ cat /etc/udev/rules.d/70-persistent-net.rules
>> ...
>>
>> # PCI device 0x168c:0x001c (ath_pci)
>> SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:15:af:b7:0a:02",
>> ATTR{type}=="1", NAME="ath0"
> If you have never edited this file you can safely remove it. The file will
> be regenerated at next boot. If you made your own modification to the file
> you can remove only invalid entry.

I know it, but the point is that it should work even if you change the
driver without changing the name (the name of the interface should be
meaningless).

Santi



More information about the Debian-eeepc-devel mailing list