You are not logged in.

#1 2020-10-30 13:24:01

vlct
Member
Registered: 2020-10-30
Posts: 3

[Resolved] Frequent wifi disconnects with reason code 2

Hello Arch community,

I'm having a rather weird issue with my system - I have periodic wifi disconnects that seem to happen every 10 minutes.

journalctl -u iwd.service

Okt 30 10:03:53 gibson iwd[848]: Received Deauthentication event, reason: 2, from_ap: true
Okt 30 10:13:53 gibson iwd[848]: Received Deauthentication event, reason: 2, from_ap: true
Okt 30 10:23:50 gibson iwd[848]: Received Deauthentication event, reason: 2, from_ap: true
Okt 30 10:33:50 gibson iwd[848]: Received Deauthentication event, reason: 2, from_ap: true
Okt 30 10:43:50 gibson iwd[848]: Received Deauthentication event, reason: 2, from_ap: true
Okt 30 10:53:50 gibson iwd[848]: Received Deauthentication event, reason: 2, from_ap: true
Okt 30 11:03:54 gibson iwd[848]: Received Deauthentication event, reason: 2, from_ap: true
Okt 30 11:13:54 gibson iwd[848]: Received Deauthentication event, reason: 2, from_ap: true
Okt 30 11:23:54 gibson iwd[848]: Received Deauthentication event, reason: 2, from_ap: true
Okt 30 11:33:54 gibson iwd[848]: Received Deauthentication event, reason: 2, from_ap: true
Okt 30 11:43:54 gibson iwd[848]: Received Deauthentication event, reason: 2, from_ap: true
Okt 30 11:53:54 gibson iwd[848]: Received Deauthentication event, reason: 2, from_ap: true
Okt 30 12:03:54 gibson iwd[848]: Received Deauthentication event, reason: 2, from_ap: true
Okt 30 12:13:54 gibson iwd[848]: Received Deauthentication event, reason: 2, from_ap: true
Okt 30 12:23:51 gibson iwd[848]: Received Deauthentication event, reason: 2, from_ap: true
Okt 30 12:33:51 gibson iwd[848]: Received Deauthentication event, reason: 2, from_ap: true
Okt 30 12:43:55 gibson iwd[848]: Received Deauthentication event, reason: 2, from_ap: true
Okt 30 12:53:51 gibson iwd[848]: Received Deauthentication event, reason: 2, from_ap: true
Okt 30 13:03:51 gibson iwd[848]: Received Deauthentication event, reason: 2, from_ap: true
Okt 30 13:13:55 gibson iwd[848]: Received Deauthentication event, reason: 2, from_ap: true
Okt 30 13:13:56 gibson iwd[848]: Received Deauthentication event, reason: 6, from_ap: true

systemctl status iwd.service

❯ systemctl status iwd
● iwd.service - Wireless service
     Loaded: loaded (/usr/lib/systemd/system/iwd.service; disabled; vendor preset: disabled)
     Active: active (running) since Fri 2020-10-30 13:37:38 CET; 30min ago
TriggeredBy: ● iwd.timer
   Main PID: 848 (iwd)
      Tasks: 1 (limit: 38409)
     Memory: 1.8M
     CGroup: /system.slice/iwd.service
             └─848 /usr/lib/iwd/iwd

Okt 30 13:37:38 gibson systemd[1]: Started Wireless service.
Okt 30 13:37:38 gibson iwd[848]: station: Network configuration is disabled.
Okt 30 13:37:38 gibson iwd[848]: Wiphy: 0, Name: phy0
Okt 30 13:37:38 gibson iwd[848]:         Permanent Address: f8:ac:xx:xx:xx:xx
Okt 30 13:37:38 gibson iwd[848]:         Bands: 2.4 GHz 5 GHz
Okt 30 13:37:38 gibson iwd[848]:         Ciphers: CCMP TKIP BIP
Okt 30 13:37:38 gibson iwd[848]:         Supported iftypes: ad-hoc station ap p2p-client p2p-go p2p-device
Okt 30 13:44:01 gibson iwd[848]: Received Deauthentication event, reason: 2, from_ap: true
Okt 30 13:54:02 gibson iwd[848]: Received Deauthentication event, reason: 2, from_ap: true
Okt 30 14:04:01 gibson iwd[848]: Received Deauthentication event, reason: 2, from_ap: true

lspci:
29:00.0 Network controller: Intel Corporation Dual Band Wireless-AC 3168NGW [Stone Peak] (rev 10)

kernel:
5.9.1-arch1-1 (latest, up to date)

IWD:
iwd 1.9-1


Already tested:
- removed and re-added the wifi
- changed frequency / SSID of the wifi
- Reviewed 802.11 specification for reason code 2 == previous authentication no longer valid
- tested network manager backend for IWD > same issue (NM is deactivated, using only iwd with dhcp)


Has anyone ever seen something like this or can point me into the right direction?
This is the only affected system in my wireless network.

The router I use is a Fritzbox type 6591, 2,4 / 5 GHz, country specific configuration is applied to the system.
Authentication is WPA2 with CCMP

Any help greatly appreciated as this is really annoying.

Thank you and best regards,
Alex

Last edited by vlct (2020-10-30 14:09:00)

Offline

#2 2020-10-30 13:36:26

vlct
Member
Registered: 2020-10-30
Posts: 3

Re: [Resolved] Frequent wifi disconnects with reason code 2

Just found https://bbs.archlinux.org/viewtopic.php?id=260217 - testing the mentioned solution

Offline

#3 2020-10-30 14:08:16

vlct
Member
Registered: 2020-10-30
Posts: 3

Re: [Resolved] Frequent wifi disconnects with reason code 2

Appears to be resolved by creating / modifiying the /etc/iwd/main.conf


[General]
ControlPortOverNL80211=False

Offline

#4 2020-10-30 20:53:26

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,240

Re: [Resolved] Frequent wifi disconnects with reason code 2

vlct wrote:

Appears to be resolved by creating / modifiying the /etc/iwd/main.conf


[General]
ControlPortOverNL80211=False

I had a similar issue but kernel 5.9.2 has a patch that fixes it for me. Have you tried ti with 5.9.2 ?


Mike C

Offline

#5 2020-10-31 14:11:15

cavetroglodyt
Member
Registered: 2018-05-04
Posts: 3

Re: [Resolved] Frequent wifi disconnects with reason code 2

Had the same problem and can confirm that kernel 5.9.2 solves the problem on its own.

Offline

Board footer

Powered by FluxBB