FS#18391 - [netcfg] net-auto-wireless is broken with hardware rfkill switch

Attached to Project: Arch Linux
Opened by Sebastian Wicki (gandro) - Thursday, 18 February 2010, 19:36 GMT
Last edited by James Rayner (iphitus) - Tuesday, 23 February 2010, 11:43 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To James Rayner (iphitus)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


If RFKILL="hard" is set, net-auto-wireless/netcfg-wpa_actiond fails. It tries to enable/disable radio without checking weather this is possible (RFKILL="soft") or not (RFKILL="hard") and fails on hardware rfkill even if radio was enabled.

This may also applies for the old (deprecated) netcfg-auto-wireless.

Additional info:
* netcfg 2.5.2

Steps to reproduce:
* Set RFKILL to "hard"
* Try net-auto-wireless

Fix for netcfg-wpa_actiond:
See attachment.
This task depends upon

Closed by  James Rayner (iphitus)
Tuesday, 23 February 2010, 11:43 GMT
Reason for closing:  Fixed
Additional comments about closing:  Should be fixed in 2.5.4