You are not logged in.

#1 2014-05-07 23:51:37

mpz
Member
Registered: 2010-10-14
Posts: 54

[SOLVED] Cannot connect to WPA2 Personal network

I just did a fresh arch install and cannot get nm-applet to connect to a secure network. I supplied correct authentication method and password and it just keeps prompting me to re-enter password. Tailing the log I got:

May 07 18:26:36 alien NetworkManager[365]: <info> Activation (wlan0) starting connection '<SSID> 1'
May 07 18:26:36 alien NetworkManager[365]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
May 07 18:26:36 alien NetworkManager[365]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
May 07 18:26:36 alien NetworkManager[365]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
May 07 18:26:36 alien NetworkManager[365]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
May 07 18:26:36 alien NetworkManager[365]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
May 07 18:26:36 alien NetworkManager[365]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
May 07 18:26:36 alien NetworkManager[365]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
May 07 18:26:36 alien NetworkManager[365]: <info> Activation (wlan0/wireless): connection '<SSID> 1' has security, and secrets exist.  No new secrets needed.
May 07 18:26:36 alien NetworkManager[365]: <info> Config: added 'ssid' value '<SSID>'
May 07 18:26:36 alien NetworkManager[365]: <info> Config: added 'scan_ssid' value '1'
May 07 18:26:36 alien NetworkManager[365]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
May 07 18:26:36 alien NetworkManager[365]: <info> Config: added 'psk' value '<omitted>'
May 07 18:26:36 alien NetworkManager[365]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
May 07 18:26:36 alien NetworkManager[365]: <info> Config: set interface ap_scan to 1
May 07 18:26:36 alien NetworkManager[365]: <info> (wlan0): supplicant interface state: inactive -> scanning
May 07 18:26:39 alien kernel: wlan0: authenticate with b4:e9:b0:d4:32:b0
May 07 18:26:39 alien NetworkManager[365]: <info> (wlan0): supplicant interface state: scanning -> authenticating
May 07 18:26:39 alien kernel: wlan0: send auth to b4:e9:b0:d4:32:b0 (try 1/3)
May 07 18:26:39 alien kernel: wlan0: authenticated
May 07 18:26:39 alien kernel: wlan0: associate with b4:e9:b0:d4:32:b0 (try 1/3)
May 07 18:26:39 alien NetworkManager[365]: <info> (wlan0): supplicant interface state: authenticating -> associating
May 07 18:26:39 alien kernel: wlan0: RX AssocResp from b4:e9:b0:d4:32:b0 (capab=0x431 status=0 aid=1)
May 07 18:26:39 alien kernel: wlan0: associated
May 07 18:26:39 alien kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
May 07 18:26:39 alien kernel: wlan0: deauthenticating from b4:e9:b0:d4:32:b0 by local choice (reason=3)
May 07 18:26:39 alien NetworkManager[365]: <info> (wlan0): supplicant interface state: associating -> 4-way handshake
May 07 18:26:39 alien NetworkManager[365]: <warn> Connection disconnected (reason -3)
May 07 18:26:39 alien kernel: cfg80211: Calling CRDA to update world regulatory domain
May 07 18:26:39 alien NetworkManager[365]: <info> (wlan0): supplicant interface state: 4-way handshake -> disconnected
May 07 18:26:39 alien NetworkManager[365]: <info> Activation (wlan0/wireless): disconnected during association, asking for new key.
May 07 18:26:39 alien NetworkManager[365]: <info> (wlan0): device state change: config -> need-auth (reason 'supplicant-disconnect') [50 60 8]
May 07 18:26:39 alien NetworkManager[365]: <info> (wlan0): supplicant interface state: disconnected -> inactive
May 07 18:26:42 alien ntpd[490]: Listen normally on 7 wlan0 fe80::1a3d:a2ff:fe7b:4e9c UDP 123
May 07 18:26:42 alien ntpd[490]: peers refreshed
May 07 18:26:42 alien ntpd[490]: new interface(s) found: waking up resolver
May 07 18:26:52 alien NetworkManager[365]: <warn> No agents were available for this request.
May 07 18:26:52 alien NetworkManager[365]: <info> (wlan0): device state change: need-auth -> failed (reason 'no-secrets') [60 120 7]
May 07 18:26:52 alien NetworkManager[365]: <info> Marking connection '<SSID> 1' invalid.
May 07 18:26:52 alien NetworkManager[365]: <warn> Activation (wlan0) failed for connection '<SSID> 1'
May 07 18:26:52 alien NetworkManager[365]: <info> (wlan0): device state change: failed -> disconnected (reason 'none') [120 30 0]
May 07 18:26:52 alien NetworkManager[365]: <info> (wlan0): deactivating device (reason 'none') [0]

Based on log messages, I can only speculate that NW is malforming my credentials and that is why handshake fails. I connected successfully with my other laptop (also running Arch with NM although not updated in couple months) and my mobile device. I searched for couple hours and did not find anything relevant. Anyone know how to debug this?

Thank you.

Last edited by mpz (2015-10-27 15:04:59)

Offline

#2 2014-05-08 10:44:12

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: [SOLVED] Cannot connect to WPA2 Personal network

I had issue's when using WPA2 keys that contained non alpha numeric characters. I suggest you try a really simple 10 letter key (AAAAAAAAAA) and see if it works.


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#3 2014-05-08 12:27:50

mpz
Member
Registered: 2010-10-14
Posts: 54

Re: [SOLVED] Cannot connect to WPA2 Personal network

I read about that. Not the issue in this case. Thanks.

Offline

#4 2014-05-08 12:45:59

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: [SOLVED] Cannot connect to WPA2 Personal network

May 07 18:26:39 alien kernel: wlan0: deauthenticating from b4:e9:b0:d4:32:b0 by local choice (reason=3)

means

Deauthenticated because sending STA is leaving (or has left) IBSS or ESS

Another thread indicated that something else might be interfering. Did you check that netctl is disabled?


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#5 2015-10-27 15:04:07

mpz
Member
Registered: 2010-10-14
Posts: 54

Re: [SOLVED] Cannot connect to WPA2 Personal network

I know this is a necro-bump but for completeness sake (and since it's still relevant) I want to mark this as SOLVED as I'm sure others will have this issue.

Rexilion was spot on. It was in fact the case of netctl and NetworkManager running concurrently. Stopping and disabling netctl fixed the problem for me.

Offline

#6 2015-10-27 18:53:17

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: [SOLVED] Cannot connect to WPA2 Personal network

Great!


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#7 2015-10-27 19:01:12

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,601

Re: [SOLVED] Cannot connect to WPA2 Personal network

It would appear that this thread has a happy ending smile
Closing


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB