FS#20330 - [netcfg] net-auto-wireless needs to be restarted after hibernate
Attached to Project:
Arch Linux
Opened by Andrej Podzimek (andrej) - Saturday, 31 July 2010, 14:52 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Saturday, 30 July 2011, 19:02 GMT
Opened by Andrej Podzimek (andrej) - Saturday, 31 July 2010, 14:52 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Saturday, 30 July 2011, 19:02 GMT
|
Details
Description:
When using the standard vanilla kernel suspend-to-disk (hibernation), the net-auto-wireless feature seems to fail or bail out after resume. The wpa_actiond is not running any more and (presumably) the connection is down. '/etc/rc.d/net-auto-wireless restart' fixes the problem. This is a Lenovo ThinkPad W510 laptop with an Intel 6300 Ultimate WiFi adapter (the iwlagn driver). * package version(s) 2.5.4-1 * config and/or log files etc. CONNECTION='wireless' DESCRIPTION='Připojení doma' INTERFACE='wlan0' IP='dhcp' DHCP_OPTIONS='-L' DNS=('2002:5f52:****:1::1') ESSID='Net2' AP='**:**:**:**:**:**' SECURITY='wpa-configsection' SCAN='YES' IWCONFIG="rate auto rts auto frag auto essid ${ESSID} key open ap ${AP}" WPA_COUNTRY='CZ' WPA_DRIVER='nl80211' CONFIGSECTION=' ssid="Net2" scan_ssid=1 proto=RSN pairwise=CCMP group=CCMP key_mgmt=WPA-EAP eap=TLS identity="andrej" ca_cert="/etc/network.d/auth/ca.crt" client_cert="/etc/network.d/auth/home3.crt" private_key="/etc/network.d/auth/home3.key"' |
This task depends upon
Closed by Rémy Oudompheng (remyoudompheng)
Saturday, 30 July 2011, 19:02 GMT
Reason for closing: Fixed
Saturday, 30 July 2011, 19:02 GMT
Reason for closing: Fixed
http://projects.archlinux.org/netcfg.git/commit/?id=f1fe938e761f2b6a58c922ef74f0b1a26a1acda8
/usr/lib/network//connections//wireless: line 168: wireless_query: command not found
- 11netcfg doesn't work at all (it tries to use an rc.d script called net-auto).
- pm-utils.handler results in neither net-auto-wired or net-auto-wireless running after a suspend on my machine.
The attached patch (0001-Use-correct-rc.d-scripts.patch) makes 11netcfg work correctly. It does require the following contents in /etc/pm/config.d/netcfg on my machine:
NETCFG_SUSPEND=daemons