You are not logged in.

#1 2024-09-02 21:46:41

Ada
Member
Registered: 2016-08-18
Posts: 13

[SOLVED] Frequent wifi disconnects after update

Hi all,

EDIT: just found this post which seems to have the same issue: https://bbs.archlinux.org/viewtopic.php?id=298989
seems like a problem from iwd and ell which should be solved via downgrading those two packages

after I updated my arch, I experience frequent disconnect in my home WiFi. It might reconnect after 30s or take several minutes.
This is the only device where this happens.
I have two networks running : Symbol on 2.4GHz and Symbol5 on 5GHz which might be interesting to understand the logs, as NetworkManager tries to connect sometimes one, sometimes the other.

my chip and driver:

lspci -v

03:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
	Subsystem: Intel Corporation Device 0080
	Physical Slot: 0
	Flags: bus master, fast devsel, latency 0, IRQ 91, IOMMU group 13
	Memory at fd700000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

I browsed the internet and the typical reason of conflicting services does not seem to be my problem, as NetworkManager should be the only service running

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

bluetooth.service                        | bluetooth.target.wants
cups.socket                              | sockets.target.wants
dbus-org.bluez.service                   | system
dbus-org.freedesktop.nm-dispatcher.service | system
display-manager.service                  | system
dropbox@xxx.service                   | multi-user.target.wants
gcr-ssh-agent.socket                     | sockets.target.wants
getty@tty1.service                       | getty.target.wants
NetworkManager.service                   | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
ntpd.service                             | multi-user.target.wants
p11-kit-server.socket                    | sockets.target.wants
pulseaudio.socket                        | sockets.target.wants
remote-fs.target                         | multi-user.target.wants

however, I do see iwd throwing an error. I expected NetworkManager to call wpa_supplicant, but not necessarily iwd. Could that be an indication?
I also see "deauthenticating ... by local choice (Reason: 3=DEAUTH_LEAVING)" but cannot make sense of it.
Anything else helpful in this dmesg output?

dmesg -x

kern  :info  : [ 2765.916188] iwd[4626]: segfault at 28 ip 00005e7abcfdf932 sp 00007fff13f2c9f8 error 4 in iwd[38932,5e7abcfb0000+a0000] likely on CPU 0 (core 0, socket 0)
kern  :info  : [ 2765.916218] Code: 8b 7b 20 67 e8 3f 7a 06 00 48 89 df 48 8b 5d f8 c9 ff 25 09 98 0a 00 90 f3 0f 1e fa 48 8b 07 c7 40 60 00 00 00 00 48 8b 47 18 <f6> 40 28 01 75 08 e9 d3 f8 ff ff 0f 1f 00 e9 5b ff ff ff 66 66 2e
kern  :info  : [ 2766.117371] wlan0: deauthenticating from dc:39:6f:2b:81:ae by local choice (Reason: 3=DEAUTH_LEAVING)
kern  :info  : [ 2770.541568] wlan0: authenticate with dc:39:6f:2b:81:af (local address=ee:be:89:38:ed:ec)
kern  :info  : [ 2770.544812] wlan0: send auth to dc:39:6f:2b:81:af (try 1/3)
kern  :info  : [ 2770.556939] wlan0: aborting authentication with dc:39:6f:2b:81:af by local choice (Reason: 3=DEAUTH_LEAVING)
kern  :info  : [ 2774.308715] wlan0: authenticate with dc:39:6f:2b:81:af (local address=a8:7e:ea:ba:63:50)
kern  :info  : [ 2774.311903] wlan0: send auth to dc:39:6f:2b:81:af (try 1/3)
kern  :info  : [ 2774.367430] wlan0: authenticated
kern  :info  : [ 2774.393463] wlan0: associate with dc:39:6f:2b:81:af (try 1/3)
kern  :info  : [ 2774.397623] wlan0: RX AssocResp from dc:39:6f:2b:81:af (capab=0x1511 status=0 aid=3)
kern  :info  : [ 2774.450878] wlan0: associated
kern  :debug : [ 2774.450977] wlan0: Limiting TX power to 20 (23 - 3) dBm as advertised by dc:39:6f:2b:81:af
kern  :info  : [ 2777.191434] wlan0: disconnect from AP dc:39:6f:2b:81:af for new auth to dc:39:6f:2b:81:ae
kern  :info  : [ 2777.424872] wlan0: authenticate with dc:39:6f:2b:81:ae (local address=a8:7e:ea:ba:63:50)
kern  :info  : [ 2777.427997] wlan0: send auth to dc:39:6f:2b:81:ae (try 1/3)
kern  :info  : [ 2777.494641] wlan0: authenticated
kern  :info  : [ 2777.543522] wlan0: associate with dc:39:6f:2b:81:ae (try 1/3)
kern  :info  : [ 2777.563542] wlan0: RX AssocResp from dc:39:6f:2b:81:ae (capab=0x1431 status=0 aid=2)
kern  :info  : [ 2777.633429] wlan0: associated
kern  :debug : [ 2777.633593] wlan0: Limiting TX power to 20 (20 - 0) dBm as advertised by dc:39:6f:2b:81:ae

journalctl is full with network related entries. Please find some 5 min log here (almost 1k lines but partially repetitive): https://pastebin.com/gL6L7KL5
Again, more iwd than expected.
There is also a lot

Removed BSSID ...from ignore list (clear)

Any other output that would be helpful?

Many thanks in advance for any help

Last edited by Ada (2024-09-03 10:17:03)

Offline

#2 2024-09-02 22:09:04

seth
Member
Registered: 2012-09-03
Posts: 57,935

Re: [SOLVED] Frequent wifi disconnects after update

Please use [code][/code] tags, not "quote" tags. Edit your post in this regard.


Then see https://bbs.archlinux.org/viewtopic.php?id=298989
But wpa_supplicant also shows up in that snippet, so it's not that you configured iwd as NM backend - no idea what starts it from what we got, though.
But you don't want that to happen.


If you're gonna post the entire journal, please don't use -x (or -r), it's just spam.

Offline

#3 2024-09-03 10:16:43

Ada
Member
Registered: 2016-08-18
Posts: 13

Re: [SOLVED] Frequent wifi disconnects after update

Thanks Seth. Updated the post and will heed your comments on the future.

As of my problem: seems solved after upagrading iwd to version 2.20-2 as commented in the other thread.

Offline

Board footer

Powered by FluxBB