udev renames wireless devices when using wlanconfig/ignores interface names given to wlanconfig
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
shorewall (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: shorewall
udev misbehaves in Ubuntu when working with wireless LAN cards, incrementing the device number without reason.
Using driver: madwifi
Running the following commands:
#> ifconfig ath0 down
#> wlanconfig ath0 destroy
#> wlanconfig ath0 create wlandev wifi0 wlanmode [sta|adhoc|
(see http://
This has been reported several times in the forums. After much hair pulling and the loss of my weekend, it turns out that this seems to be the fault of udev.
A solution is detailed here: http://
...But this solution required modification to work, at least on Gutsy.
The modified (working) solution is:
=======
1) Modify /etc/udev/
/etc/udev/rules.d# less 70-persistent-
Comment the following (shown commented):
#ACTION=="add", SUBSYSTEM=="net", KERNEL=
# NAME!="?*", DRIVERS=="?*", GOTO="persisten
Replace with the following:
ACTION=="add", SUBSYSTEM=="net", KERNEL=
NAME!="?*", DRIVERS=="?*", GOTO="persisten
Note the change in capitalization from "ath*" to "Ath*". Another solution found was to remove the "ath*" completely. Changing the capitalization appears to have the same effect.
=======
2) Delete or (preferably) move /etc/udev/
=======
3) /etc/init.
Problem solved. ath0 now stays ath0.