Wifi regularly disconnecting

I’m having some issues with regular wifi disconnects. I don’t control router in a rented apartment that we’re staying now, but somehow it affects only Manjaro machine. My work related OSX laptop and my wife’s windows machine all seem stable.

Maybe someone can give me advise what I could do here?

inxi -Nxxxza

Network:
  Device-1: Intel Ethernet I219-V vendor: Lenovo ThinkPad X1 Carbon 5th Gen
    driver: e1000e v: kernel port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15d8
    class-ID: 0200
  Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel
    bus-ID: 04:00.0 chip-ID: 8086:24fd class-ID: 0280
  Device-3: Realtek RTL8153 Gigabit Ethernet Adapter type: USB
    driver: r8152 bus-ID: 4-1.2:3 chip-ID: 0bda:8153 class-ID: 0000
    serial: <filter>

I checked drivers/firmware and those seem to be loaded just fine.

But while trying to analyse the logs and running (dmesg -w) I found these PREV_AUTH_NOT_VALID deauthenticated messages. They seem to directly correlate with those moments when I get kicked out from wifi network.

[ 2688.709364] wlp4s0: deauthenticated from 76:4d:28:12:28:96 (Reason: 2=PREV_AUTH_NOT_VALID)
[ 2690.216642] wlp4s0: authenticate with 76:4d:28:12:28:96
[ 2690.226844] wlp4s0: send auth to 76:4d:28:12:28:96 (try 1/3)
[ 2690.228508] wlp4s0: authenticated
[ 2690.229535] wlp4s0: associate with 76:4d:28:12:28:96 (try 1/3)
[ 2690.235366] wlp4s0: RX AssocResp from 76:4d:28:12:28:96 (capab=0x401 status=12 aid=16383)
[ 2690.235372] wlp4s0: 76:4d:28:12:28:96 denied association (code=12)
[ 2692.291478] wlp4s0: authenticate with 76:4d:28:12:28:96
[ 2692.300804] wlp4s0: send auth to 76:4d:28:12:28:96 (try 1/3)
[ 2692.303396] wlp4s0: authenticated
[ 2692.306264] wlp4s0: associate with 76:4d:28:12:28:96 (try 1/3)
[ 2692.314635] wlp4s0: RX AssocResp from 76:4d:28:12:28:96 (capab=0x401 status=12 aid=16383)
[ 2692.314642] wlp4s0: 76:4d:28:12:28:96 denied association (code=12)
[ 2696.475523] wlp4s0: authenticate with 76:4d:28:12:28:96
[ 2696.485324] wlp4s0: send auth to 76:4d:28:12:28:96 (try 1/3)
[ 2696.487246] wlp4s0: authenticated
[ 2696.489590] wlp4s0: associate with 76:4d:28:12:28:96 (try 1/3)
[ 2696.497961] wlp4s0: RX AssocResp from 76:4d:28:12:28:96 (capab=0x401 status=0 aid=5)
[ 2696.502700] wlp4s0: associated

I’m not certain, if this is something I’m able to fix on my end? Any advise?

I’ve found a pretty similar issue raised with kernel:
https://bugzilla.kernel.org/show_bug.cgi?id=205691#c1

So I’ll try to downgrade my kernel and see what’ will happen.

For iwlwifi I use these files/options:

/etc/modprobe.d/iwlwifi.conf

options iwlwifi 11n_disable=8 swcrypto=1

/etc/modprobe.d/iwlmvm.conf

options iwlmvm power_scheme=1

The first one “does not disable anything but re-enables transmission antenna aggregation”, as well as uses software for decryption instead of hardware.

The second file disables ‘power saving’ for the intel wireless (yes they have it under a secondary module)

1 Like

I have been running with these options without a single reconnect for 30 minutes, it might be too early to judge, but those could have solved my issue.

I’ll run it for a day more, to verify that this is the case. Will mark your answer as a solution, if everything goes smoothly.

Thank you very much

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.