Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#13639 - netcfg: wireless interface must be down before setting mode
Attached to Project:
Arch Linux
Opened by Paride Legovini (torn) - Tuesday, 03 March 2009, 05:37 GMT
Last edited by James Rayner (iphitus) - Tuesday, 03 March 2009, 08:32 GMT
Opened by Paride Legovini (torn) - Tuesday, 03 March 2009, 05:37 GMT
Last edited by James Rayner (iphitus) - Tuesday, 03 March 2009, 08:32 GMT
|
DetailsI think we had a little misunderstanding with my last bug report. Netcfg fails here because it tries to set the mode to a wireless interface while the interface is up, not vice versa. I'm using ath5k, but I've read this is a general limitation of mac80211. So the lines you added:
# Required by atheros and others (mac80211?) to enable device ifconfig $INTERFACE up are exactly the opposite of what we need. A fix could taking down the interface just before setting the wireless mode (remember that iwlist takes the interface up). Maybe a cleaner approach is: 1. at the very start of the script, take down the interface 2. set the mode to managed 3. run the iwlist (and the other scan stuff) 4. do the real configuration with iwconfig, without specifying any mode. I'll wait for the next testing release :) |
This task depends upon
Closed by James Rayner (iphitus)
Tuesday, 03 March 2009, 08:32 GMT
Reason for closing: Duplicate
Additional comments about closing: Duplicate. Already fixed in git and [testing] release.
Tuesday, 03 March 2009, 08:32 GMT
Reason for closing: Duplicate
Additional comments about closing: Duplicate. Already fixed in git and [testing] release.