FS#11748 - [netcfg] fails to take wifi-profile down on iwl3945.
Attached to Project:
Arch Linux
Opened by Ramil (gravicappa) - Wednesday, 15 October 2008, 11:58 GMT
Last edited by James Rayner (iphitus) - Saturday, 27 June 2009, 01:49 GMT
Opened by Ramil (gravicappa) - Wednesday, 15 October 2008, 11:58 GMT
Last edited by James Rayner (iphitus) - Saturday, 27 June 2009, 01:49 GMT
|
Details
Description:
netcfg fails to take wifi-profile down on iwl3945. But works fine after adding lame workaround to wireless_down() in /usr/lib/network/wireless.subr: wireless_down() { ... /bin/true } Additional info: * hardware $ lspci | grep 3945 03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02) * package version(s) netcfg 2.x.x kernel26 2.6.27-2 (and 2.6.26-xx) * config and/or log files etc. /etc/network.d/home-wifi: CONNECTION="wireless" INTERFACE=wlan0 SCAN="no" SECURITY="wep" ESSID="kzz" KEY="<skipped>" IP="static" IFOPTS="10.0.0.1 netmask 255.255.255.0 broadcast 10.0.0.255" TIMEOUT=30 WIFI_MODE=ad-hoc PRE_UP="ifconfig wlan0 down; iwconfig wlan0 mode ad-hoc" WEP_OPTS="mode $WIFI_MODE essid $ESSID channel 5 key restricted $KEY" Steps to reproduce: sudo netcfg -d home-wifi |
This task depends upon
Line "iwconfig $INTERFACE essid off key off &> /dev/null" in function wireless_down() returns 250.
# iwconfig ra0 essid off key off;echo return:$?
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device ra0 ; Network is down.
return:250
Please change the order of wireless_down() in wireless.subr:
wireless_down() {
PROFILE=$1 NOETHERNETDOWN=$2
wpa_cli terminate &> /dev/null
iwconfig $INTERFACE essid off key off &> /dev/null
if ! checkyesno $2; then
. $SUBR_DIR/ethernet.subr
ethernet_down $1
fi
#ifconfig $INTERFACE down
}
It is June 2009 now and I still got the same Problem :-/
Broadcom-wl driver, latest stable archlinux.
Further, there's been a copy of netcfg in [testing] for the last 2-3 weeks which also has this fix.