Ask / Submit
20

Wlan asking for password again (WPA2/PSK) [answered]

asked 2014-07-17 01:27:37 +0200

Corvinux gravatar image

updated 2014-08-12 15:18:03 +0200

chemist gravatar image

Constantly breaking and opening wlan UI dialog for entering psk key, which is already saved. Shouldn't this "BUG] WLAN does not connect automatically to saved network" be fixed?

tail -f /var/log/wpa_supplicant.log

wlan0: Trying to associate with SSID 'HHQ' wlan0: Associated with 20:aa:4b:00:a2:60 wlan0: WPA: Key negotiation completed with 20:aa:4b:00:a2:60 [PTK=CCMP GTK=CCMP] wlan0: CTRL-EVENT-CONNECTED - Connection to 20:aa:4b:00:a2:60 completed [id=1 id_str=] wlan0: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=SI wlan0: Associated with 00:1a:30:8e:ff:60 wlan0: WPA: IE in 3/4 msg does not match with IE in Beacon/ProbeResp (src=00:1a:30:8e:ff:60) WPA: RSN IE in Beacon/ProbeResp - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 0c 00 WPA: RSN IE in 3/4 msg - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 28 00 wlan0: CTRL-EVENT-DISCONNECTED bssid=00:1a:30:8e:ff:60 reason=17 locally_generated=1 wlan0: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=WORLD wlan0: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=SI wlan0: CTRL-EVENT-SCAN-STARTED wlan0: Trying to associate with SSID 'HHQ' wlan0: Associated with 00:1a:30:8e:ff:60 wlan0: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=SI wlan0: WPA: IE in 3/4 msg does not match with IE in Beacon/ProbeResp (src=00:1a:30:8e:ff:60) WPA: RSN IE in Beacon/ProbeResp - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 0c 00 WPA: RSN IE in 3/4 msg - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 28 00 wlan0: CTRL-EVENT-DISCONNECTED bssid=00:1a:30:8e:ff:60 reason=17 locally_generated=1 wlan0: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=WORLD wlan0: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=SI wlan0: CTRL-EVENT-SCAN-STARTED wlan0: CTRL-EVENT-SCAN-STARTED wlan0: CTRL-EVENT-SCAN-STARTED

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by Corvinux
close date 2018-11-03 16:40:48.646110

Comments

I had exactly the same issue. Solved it with exact same settings on all three APs (N-only and WPA2 AES encryption). I installed DD-WRT firmware on all. Luckilly all my models are supported with DD-WRT.

dash72 ( 2014-07-17 07:53:44 +0200 )edit

I also had the same problem at a conference, no problems at home or office

nedo ( 2014-07-17 11:32:17 +0200 )edit

Also problems here. At home wifi works fine but in the university both (eduroam and the members network) don't work. I followed the instructions given on this page: https://together.jolla.com/question/315/wpa-8021x-enteprise-others-wifi-support-needed-workaround/

I installed patched wpasupplicant. I read somewhere that this is not needed anymore. So any idea on this after update?

NuklearFart ( 2014-07-18 10:50:58 +0200 )edit

1 Answer

Sort by » oldest newest most voted
7

answered 2014-07-17 02:00:38 +0200

tigeli gravatar image

When wpa_supplicant sees a mismatch with RSN IE's in 4-way-handshake 3/4 comparing beacon/probe resp with the 3/4 msg it is a valid disconnect as someone could have plant a rogue AP within your device range and tries to hack into to your network. However I do not believe this is the case.

  1. It seems that there are multiple access point serving the essid: HHQ?
  2. If yes, are the access points mixed different generation eg. the other is 802.11b/g/n and the other 802.11b/g? Or the access points are different brand/model?

I've reproduced similar kind of issue on earlier software releases and it seems that the wlan driver itself is not updating the RSN IE to wpa_supplicant from the currently associated access point but keeps using the previously associated access points RSN IE (within the same essid).

We are currently discussing with our partners to get this issue fixed.

edit flag offensive delete publish link more

Comments

Hi tigli, tnx for answering, you're incredibly right. I have 2 different APs with the same SSID and security setting. One is Cisco 1242AG (802.11a/b/g) dual band and the other is Linksys 160NL (802.11b/g/n) with OpenWrt Attitude Adjustment 12.09 firmware.

Corvinux ( 2014-07-17 02:20:40 +0200 )edit
3

I guess that's why I have trouble connecting to eduroam. Thousands of APs with the same SSID ...

luchmhor ( 2014-07-17 09:13:59 +0200 )edit

I'm having a similar situation with eduroam, "rmmod wlan; modprobe wlan" helps

till ( 2014-07-17 11:19:42 +0200 )edit

@till with this particular problem it won't help as this problem occurs only when roaming.

tigeli ( 2014-07-17 11:33:33 +0200 )edit

just found out that disabling and reenabling wifi is enough when eduroam stops working after some time

till ( 2014-07-17 15:45:34 +0200 )edit

Question tools

Follow
8 followers

Stats

Asked: 2014-07-17 01:27:37 +0200

Seen: 1,630 times

Last updated: Aug 12 '14