FS#25514 - [netcfg] 2.6.7 net-auto-wireless daemon doesn't stop if hard rfkill switch is used
Attached to Project:
Arch Linux
Opened by Oleksii Tkachuk (alexta) - Thursday, 11 August 2011, 17:36 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Saturday, 13 August 2011, 17:54 GMT
Opened by Oleksii Tkachuk (alexta) - Thursday, 11 August 2011, 17:36 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Saturday, 13 August 2011, 17:54 GMT
|
Details
Description:
The general way of using net-auto-wireless daemon when you have hardware rfkill switch is following: 1. switch on radio frequency (using driver specific API) 2. start net-auto-wireless 3. ... working ... 4. stop net-auto-wireless (radio must be on at this point, since commands in PRE_DOWN event must have network access, for example to umount network shares) 5. switch off radio frequency Stopping daemon fails with "Cannot set state on hardware rfkill switch" error at point 4. This is due to wrong stop request handler in the netcfg-wpa_actiond script. I've written little patch to fix this issue (see attach). P.S. This patch fixes minor bug with missing file in the /usr/lib/network directory also (this bug appeared after renaming /usr/lib/network/wireless to /usr/lib/network/rfkill). |
This task depends upon
Closed by Rémy Oudompheng (remyoudompheng)
Saturday, 13 August 2011, 17:54 GMT
Reason for closing: Fixed
Saturday, 13 August 2011, 17:54 GMT
Reason for closing: Fixed
Comment by
Rémy Oudompheng (remyoudompheng) -
Saturday, 13 August 2011, 17:54 GMT
Patch committed for netcfg 2.6.8