You are not logged in.

#1 2022-03-02 19:17:29

m4ttj
Member
Registered: 2020-07-26
Posts: 29

iwd disconnecting randomly

I'm using NetworkManager with iwd as the backend and have a strange issue where my wifi will disconnect, connect, disconnect, very rapidly within a few seconds and finish by staying disconnected. I then have to disable wifi in nmcli (or the plasma applet for it) and enable to be able to reconnect.

If I check journalctl for the iwd service I see a lot of

Mar 02 19:00:34 matthew-laptop iwd[223026]: Received Deauthentication event, reason: 4, from_ap: false
Mar 02 19:00:36 matthew-laptop iwd[223026]: Received Deauthentication event, reason: 4, from_ap: false
Mar 02 19:00:38 matthew-laptop iwd[223026]: Received Deauthentication event, reason: 4, from_ap: false
Mar 02 19:00:39 matthew-laptop iwd[223026]: Received Deauthentication event, reason: 4, from_ap: false

but then also some

Mar 02 17:24:33 matthew-laptop iwd[223026]: wiphy_estimate_data_rate() failed
Mar 02 17:27:46 matthew-laptop iwd[223026]: wiphy_estimate_data_rate() failed
Mar 02 17:28:53 matthew-laptop iwd[223026]: wiphy_estimate_data_rate() failed
Mar 02 17:47:16 matthew-laptop iwd[223026]: wiphy_estimate_data_rate() failed
Mar 02 17:49:24 matthew-laptop iwd[223026]: wiphy_estimate_data_rate() failed
Mar 02 18:37:53 matthew-laptop iwd[223026]: wiphy_estimate_data_rate() failed
Mar 02 18:41:05 matthew-laptop iwd[223026]: wiphy_estimate_data_rate() failed
Mar 02 18:58:24 matthew-laptop iwd[223026]: wiphy_estimate_data_rate() failed

but I assume the latter is irrelevant. A quick Google search reveals that reason 4 is for inactivity, however I haven't noticed a particular correlation between me being inactive and it occuring (I've had it occur in the middle of a youtube video, for example). I can't find anything that looks exactly like my problem, any ideas?

I'm running 5.16.10-arch1-1 kernel, iwd 1.25-1 , and NetworkManager 1.36.0-1. My wifi card shows up as 02:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78) in lspci.

Offline

#2 2022-03-02 19:51:53

seth
Member
Registered: 2012-09-03
Posts: 49,952

Re: iwd disconnecting randomly

https://bugzilla.kernel.org/show_bug.cgi?id=203709
There's a whole host of suggested workarounds
* disable mac address randomization, https://bugzilla.kernel.org/show_bug.cgi?id=203709#c92
* power_scheme=1 power_save=0, https://bugzilla.kernel.org/show_bug.cgi?id=203709#c94
* 11n_disable=1, https://bugzilla.kernel.org/show_bug.cgi?id=203709#c96 (I've less faith in this one - it'd likely rather select a different SSID for a specific issue w/ the AP)

Online

Board footer

Powered by FluxBB