FS#18212 - [netcfg] net-auto-wireless if one of the profiles is wireless-open
Attached to Project:
Arch Linux
Opened by Maciej Sitarz (macieks2) - Sunday, 07 February 2010, 15:15 GMT
Last edited by James Rayner (iphitus) - Sunday, 21 February 2010, 04:14 GMT
Opened by Maciej Sitarz (macieks2) - Sunday, 07 February 2010, 15:15 GMT
Last edited by James Rayner (iphitus) - Sunday, 21 February 2010, 04:14 GMT
|
Details
Description:
net-auto-wireless is not working properly if one of the profiles has no SECURITY option set. Additional info: * netcfg 2.5.1 * wireless-open: # cat /etc/network.d/wireless-open CONNECTION="wireless" DESCRIPTION="A simple opened wireless connection" INTERFACE="wlan0" ESSID="MyNetwork" IP="dhcp" Steps to reproduce: # cp /etc/network.d/examples/wireless-open /etc/network.d/wireless-open # /usr/bin/netcfg-wpa_actiond wlan0 wireless-open Line 37: WPA-PSK accepted for key management, but no PSK configured. Line 37: failed to parse network block. Failed to read or parse configuration '/tmp/wpa.wlan0/wpa.conf'. How to fix this: Basically adding SECURITY="none" to the profile helps, but maybe it should be handled somewhere in the code? |
This task depends upon
Closed by James Rayner (iphitus)
Sunday, 21 February 2010, 04:14 GMT
Reason for closing: Fixed
Additional comments about closing: explicitly requiring SECURITY="none" in next version.
Sunday, 21 February 2010, 04:14 GMT
Reason for closing: Fixed
Additional comments about closing: explicitly requiring SECURITY="none" in next version.

I believe simply adding the line SECURITY="none" to
/etc/network.d/examples/wireless-open should do the trick here. it
would also be nice if the news on netcfg 2.5.2 were updated to
mention this, as this is a change that will effectively prevent
net-auto-wireless from working if an open network is configured,
without giving a proper error message.

I think that this should be set in the default open wireless
profile.

As netcfg is no longer in "Testing", it would be great if somebody
could set the category to "Core".