You are not logged in.

#1 2014-08-04 15:47:37

pirj
Member
From: Phuket, Thailand
Registered: 2011-11-24
Posts: 19

[Solved by downgrading kernel] WPA issue [probably hardware?]

Spent 3 hours trying to restore my system that doesn't want to connect to my home wifi AP (keenetic lite) with WPA2 anymore.

Workaround:
Connect manually to Guest network protected by WEP.

ip link set wlan0 up
iw dev wlan0 connect Guest key 0:secret

It's taking a long while to connect. Sometimes you need to put wlan0 down and then back up, usually many times.

And it wasn't very straightforward to figure out how to set it up properly on Keenetic, there's an option in web UI, but you have to telnet and issue

ip nat GuestWiFi

.

Problem:

# netctl start zyxel
# dmesg -w

[ 5255.547200] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 5257.097328] wlan0: authenticate with 22:4a:03:77:ea:c9
[ 5257.117681] wlan0: send auth to 22:4a:03:77:ea:c9 (try 1/3)
[ 5257.219936] wlan0: send auth to 22:4a:03:77:ea:c9 (try 2/3)
[ 5257.323158] wlan0: send auth to 22:4a:03:77:ea:c9 (try 3/3)
[ 5257.426535] wlan0: authentication with 22:4a:03:77:ea:c9 timed out
[ 5278.144935] wlan0: authenticate with 22:4a:03:77:ea:c9
[ 5278.166477] wlan0: direct probe to 22:4a:03:77:ea:c9 (try 1/3)
[ 5278.368119] wlan0: direct probe to 22:4a:03:77:ea:c9 (try 2/3)
[ 5278.571293] wlan0: direct probe to 22:4a:03:77:ea:c9 (try 3/3)
[ 5278.774479] wlan0: authentication with 22:4a:03:77:ea:c9 timed out

# journalctl -xn
Aug 04 19:04:43 tp kernel: wlan0: authenticate with 22:4a:03:77:ea:c8
Aug 04 19:04:43 tp kernel: wlan0: direct probe to 22:4a:03:77:ea:c8 (try 1/3)
Aug 04 19:04:43 tp kernel: wlan0: direct probe to 22:4a:03:77:ea:c8 (try 2/3)
Aug 04 19:04:43 tp kernel: wlan0: direct probe to 22:4a:03:77:ea:c8 (try 3/3)
Aug 04 19:04:43 tp kernel: wlan0: authentication with 22:4a:03:77:ea:c8 timed out
Aug 04 19:04:52 tp network[25153]: WPA association/authentication failed for interface 'wlan0'
Aug 04 19:04:53 tp network[25153]: Failed to bring the network up for profile 'zyxel'
Aug 04 19:04:53 tp systemd[1]: netctl@zyxel.service: main process exited, code=exited, status=1
Aug 04 19:04:53 tp systemd[1]: Failed to start Automatically generated profile by wifi-menu.
-- Subject: Unit netctl@zyxel.service has failed
-

All netctl and netctl-auto profiles are disabled and stopped.

I've tried to tweak

ipv6.disable=1

Kernel setting, no difference, just that IPv6 message went away.

None of my neighbours APs has the same frequency/channel.

I've added to zyxel profile:

TimeoutUp=300
TimeoutCarrier=300

Didn't affect anything.

I've played with

iw wlan0 set

txpower, power, frag and rts as section 3.7 Connection always times out of Wireless network configuration advises.
RTL8188 doesn't seem to support iw's power commands.

# wpa_supplicant -i wlan0 -c <(wpa_passphrase ZyXEL_KEENETIC_LITE_77EAC8 password)
Successfully initialized wpa_supplicant
wlan0: CTRL-EVENT-SCAN-STARTED 
wlan0: SME: Trying to authenticate with 22:4a:03:77:ea:c8 (SSID='ZyXEL_KEENETIC_LITE_77EAC8' freq=2422 MHz)
wlan0: CTRL-EVENT-SCAN-STARTED 
wlan0: SME: Trying to authenticate with 22:4a:03:77:ea:c8 (SSID='ZyXEL_KEENETIC_LITE_77EAC8' freq=2422 MHz)
wlan0: CTRL-EVENT-SCAN-STARTED 
wlan0: SME: Trying to authenticate with 22:4a:03:77:ea:c8 (SSID='ZyXEL_KEENETIC_LITE_77EAC8' freq=2422 MHz)
wlan0: CTRL-EVENT-SCAN-STARTED 
wlan0: SME: Trying to authenticate with 22:4a:03:77:ea:c8 (SSID='ZyXEL_KEENETIC_LITE_77EAC8' freq=2422 MHz)
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="ZyXEL_KEENETIC_LITE_77EAC8" auth_failures=1 duration=10 reason=CONN_FAILED
wlan0: CTRL-EVENT-SCAN-STARTED 
wlan0: CTRL-EVENT-SCAN-STARTED 
wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="ZyXEL_KEENETIC_LITE_77EAC8"
wlan0: SME: Trying to authenticate with 22:4a:03:77:ea:c8 (SSID='ZyXEL_KEENETIC_LITE_77EAC8' freq=2422 MHz)
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="ZyXEL_KEENETIC_LITE_77EAC8" auth_failures=2 duration=23 reason=CONN_FAILED
wlan0: CTRL-EVENT-SCAN-STARTED 
wlan0: CTRL-EVENT-SCAN-STARTED 
wlan0: CTRL-EVENT-SCAN-STARTED 
wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="ZyXEL_KEENETIC_LITE_77EAC8"
wlan0: SME: Trying to authenticate with 22:4a:03:77:ea:c8 (SSID='ZyXEL_KEENETIC_LITE_77EAC8' freq=2422 MHz)
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="ZyXEL_KEENETIC_LITE_77EAC8" auth_failures=3 duration=46 reason=CONN_FAILED

Sometimes it authenticates, but fails to assiciate:
[ 6725.651614] wlan0: authenticated
[ 6725.655247] wlan0: associate with 22:4a:03:77:ea:c8 (try 1/3)
[ 6725.757446] wlan0: associate with 22:4a:03:77:ea:c8 (try 2/3)
[ 6725.860694] wlan0: associate with 22:4a:03:77:ea:c8 (try 3/3)
[ 6725.963968] wlan0: association with 22:4a:03:77:ea:c8 timed out

And sometimes in dmesg TADA!:

[ 5411.287750] wlan0: RX AssocResp from 22:4a:03:77:ea:c8 (capab=0x411 status=0 aid=2)
[ 5411.288014] wlan0: associated
[ 5411.288580] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 5411.288780] cfg80211: Calling CRDA for country: RU
[ 5411.299333] cfg80211: Regulatory domain changed to country: RU
[ 5411.299345] cfg80211:  DFS Master region: ETSI
[ 5411.299349] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 5411.299354] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 5411.299358] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 5411.299363] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2000 mBm), (0 s)
[ 5411.299367] cfg80211:   (5650000 KHz - 5730000 KHz @ 80000 KHz), (N/A, 3000 mBm), (0 s)
[ 5411.299371] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)

Sometimes it works for Guest network, and in rare cases with wpa_supplicant.

Is that [quot]At the times of 3.15 kernel rtl8188eu driver is buggy and has many stability issues[/quot]? It as working flawlessly for couple years. What happened?
Is there any way to use dkms-8188eu from AUR?

Or do I just go and buy an external USB WiFi dongle that just works? Any advises which one? Will TP-Link TL-WN727N work fine?

UPD: bbcodify

UPD: After update to linux from 3.15.7-1 to 3.15.8-1 I experience random disconnects with no trace in

dmesg

.

iw dev wlan0 connect

doesn't retry, so I need to sit in console and repeat it by hand. Argh.

UPD: Downgraded to linux-3.14.6-1. Everything works fine, no timeouts, no long connects, both wpa_supplicant and

iw dev wlan0 connect

work super sharp.

Looking into 8192cu-dkms from AUR.

Last edited by pirj (2014-08-04 21:01:45)

Offline

#2 2014-08-04 17:03:57

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved by downgrading kernel] WPA issue [probably hardware?]

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_Code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB