FS#29337 - [netcfg] WPA Authentication/Association Failed
Attached to Project:
Arch Linux
Opened by Felipe Contreras (felipec) - Sunday, 08 April 2012, 13:21 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 30 April 2013, 01:03 GMT
Opened by Felipe Contreras (felipec) - Sunday, 08 April 2012, 13:21 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 30 April 2013, 01:03 GMT
|
Details
Description:
When I try to connect to a Wi-Fi hotspot with no encryption I get this error. I can connect just fine using iwconfig/ip/dhcpcd by first switching to ad-hoc mode. I tried configuring the profile with ADHOC=yes, but I get the same error. Versioon: 2.6.8-1 Log: DEBUG: status reported to profile_up as: DEBUG: Loading profile n9 DEBUG: Configuring interface wlan0 DEBUG: wireless_up stop_wpa wlan0 DEBUG: wireless_up start_wpa wlan0 /run/network//wpa.wlan0/wpa.conf nl80211,wext DEBUG: wireless_up stop_wpa wlan0 DEBUG: wireless_up Configuration generated at /run/network//wpa.wlan0/wpa.conf DEBUG: wireless_up ifup DEBUG: wireless_up start_wpa wlan0 /run/network//wpa.wlan0/wpa.conf nl80211,wext DEBUG: wireless_up wpa_check DEBUG: wpa_cli -p /run/wpa_supplicant -i wlan0 status > WPA Authentication/Association Failed DEBUG: profile_up connect failed |
This task depends upon
Closed by Eric Belanger (Snowman)
Tuesday, 30 April 2013, 01:03 GMT
Reason for closing: Won't fix
Additional comments about closing: netcfg has been moved to AUR
Tuesday, 30 April 2013, 01:03 GMT
Reason for closing: Won't fix
Additional comments about closing: netcfg has been moved to AUR
I have similar problem with authentication via wicd. Solution is revert kernel to 3.2.9 version.
I think this problem is associated with the network card Atheros AR9285: http://www.linuxquestions.org/questions/slackware-14/bad-password-wicd-kernel-3-3-1-wpa2-aes-atheros-ar9285-938748/
I'll try compiling my own kernel.
Also, for the record, I can connect to other networks that have encryption, but this one doesn't have it. I wonder why netcfg runs wpa_suplicant for non-encrypted networks.
nl80211: Join IBSS failed: ret=-22 (Invalid argument)
Which lead me to this:
"Apparently the issue is that NM isn't always sending a starting frequency when attempting to create or join an Ad-Hoc network."
https://bugzilla.redhat.com/show_bug.cgi?id=699203#c10
So I tried this configuration:
SECURITY='wpa-configsection'
ADHOC=yes
CONFIGSECTION='
ssid="Nokia N9"
frequency=2412
mode=1
key_mgmt=NONE'
And this seems to work, however, I'm thinking the issue is in the nl80211 driver; why is there no default frequency? If no the driver, then netcfg should set a default frequency when ADHOC is defined, or better yet; avoid wpa_supplicant completely.
I still need to manually set a default frequency. Somebody needs to do that when ADHOC=yes.
Right now it seems high levels do that (NetworkManager, wicd), but I'm thinking wpa_supplicant should that, or even the nl80211 driver. The old wext driver worked fine.
See:
http://w1.fi/bugz/show_bug.cgi?id=439
http://article.gmane.org/gmane.linux.network/226816
If someone can briefly gives me some directions I’d like to help to fix that.
This is still happening for me.