Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] WiFi stops working after a while (Read 319 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

[SOLVED] WiFi stops working after a while

My wifi connection work after reboot, but some time later stops working. I have checked dmesg and found that it is deauthenticated because of GROUP_KEY_HANDSHAKE_TIMEOUT:

Code: [Select]
[    4.228520] iwlwifi 0000:02:00.0: enabling device (0000 -> 0002)
[    4.228652] iwlwifi 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[    4.235950] iwlwifi 0000:02:00.0: Detected crf-id 0xa5a5a5a1, cnv-id 0xa5a5a5a1 wfpm id 0xa5a5a5a1
[    4.235981] iwlwifi 0000:02:00.0: PCI dev 088e/4060, rev=0xb0, rfid=0xd55555d5
[    4.242094] iwlwifi 0000:02:00.0: loaded firmware version 18.168.6.1 6000g2b-6.ucode op_mode iwldvm
[    4.413130] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG enabled
[    4.413134] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
[    4.413135] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[    4.413136] iwlwifi 0000:02:00.0: Detected Intel(R) Centrino(R) Advanced-N 6235 AGN, REV=0xB0
[    5.235289] iwlwifi 0000:02:00.0: Radio type=0x2-0x1-0x0
[    5.537489] iwlwifi 0000:02:00.0: Radio type=0x2-0x1-0x0
[    5.750260] wlan0: authenticate with ac:de:55:b7:21:ea
[    5.755158] wlan0: send auth to ac:de:55:b7:21:ea (try 1/3)
[    5.763836] wlan0: authenticated
[    5.767059] wlan0: associate with ac:de:55:b7:21:ea (try 1/3)
[    5.768331] wlan0: RX AssocResp from ac:de:55:b7:21:ea (capab=0x1011 status=0 aid=1)
[    5.787381] wlan0: associated
[    5.865666] wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by ac:de:55:b7:21:ea
[ 5176.484286] wlan0: deauthenticated from ac:de:55:b7:21:ea (Reason: 16=GROUP_KEY_HANDSHAKE_TIMEOUT)
[ 5179.854665] wlan0: authenticate with ac:de:55:b7:21:ea
[ 5179.859229] wlan0: send auth to ac:de:55:b7:21:ea (try 1/3)
[ 5179.946718] wlan0: authenticated
[ 5179.947106] wlan0: waiting for beacon from ac:de:55:b7:21:ea
[ 5180.049165] wlan0: associate with ac:de:55:b7:21:ea (try 1/3)
[ 5180.050315] wlan0: RX AssocResp from ac:de:55:b7:21:ea (capab=0x1011 status=0 aid=1)
[ 5180.069317] wlan0: associated
[ 5180.150995] wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by ac:de:55:b7:21:ea
[12371.717349] wlan0: deauthenticated from ac:de:55:b7:21:ea (Reason: 16=GROUP_KEY_HANDSHAKE_TIMEOUT)
[12375.086165] wlan0: authenticate with ac:de:55:b7:21:ea
[12375.090917] wlan0: send auth to ac:de:55:b7:21:ea (try 1/3)
[12375.182823] wlan0: authenticated
[12375.183211] wlan0: waiting for beacon from ac:de:55:b7:21:ea
[12375.287467] wlan0: associate with ac:de:55:b7:21:ea (try 1/3)
[12375.288620] wlan0: RX AssocResp from ac:de:55:b7:21:ea (capab=0x1011 status=0 aid=1)
[12375.307693] wlan0: associated
[12375.387122] wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by ac:de:55:b7:21:ea
[19558.963299] wlan0: deauthenticated from ac:de:55:b7:21:ea (Reason: 16=GROUP_KEY_HANDSHAKE_TIMEOUT)
[19562.311094] wlan0: authenticate with ac:de:55:b7:21:ea
[19562.315659] wlan0: send auth to ac:de:55:b7:21:ea (try 1/3)
[19562.329788] wlan0: authenticated
[19562.330163] wlan0: waiting for beacon from ac:de:55:b7:21:ea
[19562.432418] wlan0: associate with ac:de:55:b7:21:ea (try 1/3)
[19562.433552] wlan0: RX AssocResp from ac:de:55:b7:21:ea (capab=0x1011 status=0 aid=1)
[19562.452661] wlan0: associated
[19562.533984] wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by ac:de:55:b7:21:ea

I'm using connman 1.41-1 on Artix Linux 6.5.7-artix1-1. Somebody on the arch forum had the same issue and it seems to be an issue with iwd. However, my installation does not use iwd, I use connman with wpa_supplicant.

What can I do to solve this disconnection problem?

Re: WiFi stops working after a while

Reply #1
Maybe my poblem is not the deauthentication I described, because the dmesg log shows that the wireless connection is then instantly reauthenticated. But something is wrong, because I lose connection a few minutes after reboot. It does not matter whether I'm using wifi or ethernet, or both. How to diagnose this?

Re: WiFi stops working after a while

Reply #2
I think this all might have been an issue with my router. Anyway, I have now switched off the wifi module on the machine, so I'm only using ethernet. A couple of hours later it stopped losing the connection.