[SOLVED] NetworkManager - sudden timeouts on previously-working wireless conncetions

Recently I've encountered a weird set of issues with wi-fi and NetworkManager (card is QCA6174, for those who might ask later, working under ath10k_pci driver)

I do not know how is it triggered (intervals seem random, with one exception), but on certain networks suddenly all TCP connections are timeout'ing, then the only temporary fix is to disconnect and reconnect to the same network, it works for minute or an hour, then it is back again to not connecting. UDP packets are coming as intended.

At first I suspected my DNS config, and yes, it was incorrect, but after correcting it there was no change of this situation.

Then I noticed that longer "sessions" of manually re-connecting using plasma-nm would cause it to stutter and freeze, sometimes along with rest of plasma UI.

I thought that the latest update might fix it all, that's why I was delaying this post, but now all affected networks are duplicated entries in plasma-nm along with device name in brackets after SSID.

And now about the exception - today I've found out that attempting to download anything with Steam client (e.g. steamvr update) triggers that timeout behavior near immediately, but this time plasma-nm also showing "!" near signal strength.

Edit: Almost forgot to tell this important information - other devices on the same wi-fi network, with same manual DNS settings, accessing same webpages at the time this occurs connect just fine.

See this post for many ath10k fixes:

the problem is that it used to work fine for past year wiithout changing any of these settings

You're not using a static distro. A lot of things change at every update.

currently none of these solutions apply to my situation

here is dmesg -w output, looks pretty weird to me:

[23007.760064] audit: type=1131 audit(1559385268.450:455): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[23040.053950] wlp3s0: disconnect from AP MACADDRESS for new auth to MACADDRESS
[23040.060628] wlp3s0: authenticate with MACADDRESS
[23040.120221] wlp3s0: send auth to MACADDRESS (try 1/3)
[23040.121784] wlp3s0: MACADDRESS denied authentication (status 1)
[23040.354056] wlp3s0: authenticate with MACADDRESS
[23040.447597] wlp3s0: send auth to MACADDRESS (try 1/3)
[23040.454585] wlp3s0: authenticated
[23040.454873] wlp3s0: associating with AP with corrupt probe response
[23040.457111] wlp3s0: associate with MACADDRESS (try 1/3)
[23040.479749] wlp3s0: RX ReassocResp from MACADDRESS (capab=0x411 status=0 aid=4)
[23040.482617] wlp3s0: associated
[23076.206806] wlp3s0: disconnect from AP MACADDRESS for new auth to MACADDRESS
[23076.217960] wlp3s0: authenticate with MACADDRESS
[23076.277441] wlp3s0: send auth to MACADDRESS (try 1/3)
[23076.279694] wlp3s0: MACADDRESS denied authentication (status 1)
[23076.518683] wlp3s0: authenticate with MACADDRESS
[23076.612959] wlp3s0: send auth to MACADDRESS (try 1/3)
[23076.641937] wlp3s0: authenticated
[23076.642190] wlp3s0: associating with AP with corrupt probe response
[23076.644370] wlp3s0: associate with MACADDRESS (try 1/3)
[23076.711268] wlp3s0: RX ReassocResp from MACADDRESS (capab=0x411 status=0 aid=1)
[23076.713722] wlp3s0: associated
[23112.804423] wlp3s0: disconnect from AP MACADDRESS for new auth to MACADDRESS
[23112.811583] wlp3s0: authenticate with MACADDRESS
[23112.870969] wlp3s0: send auth to MACADDRESS (try 1/3)
[23112.872560] wlp3s0: MACADDRESS denied authentication (status 1)
[23113.109267] wlp3s0: authenticate with MACADDRESS
[23113.203210] wlp3s0: send auth to MACADDRESS (try 1/3)
[23113.308273] wlp3s0: send auth to MACADDRESS (try 2/3)
[23113.414976] wlp3s0: send auth to MACADDRESS (try 3/3)
[23113.521573] wlp3s0: authentication with MACADDRESS timed out
[23113.772496] wlp3s0: authenticate with MACADDRESS
[23113.830507] wlp3s0: send auth to MACADDRESS (try 1/3)
[23113.836019] wlp3s0: authenticated
[23113.836251] wlp3s0: associating with AP with corrupt probe response
[23113.838336] wlp3s0: associate with MACADDRESS (try 1/3)
[23113.850655] wlp3s0: RX AssocResp from MACADDRESS (capab=0x1411 status=0 aid=2)
[23113.853372] wlp3s0: associated
[23113.933604] wlp3s0: Limiting TX power to 20 (20 - 0) dBm as advertised by MACADDRESS
[23149.624492] wlp3s0: disconnect from AP MACADDRESS for new auth to MACADDRESS
[23149.631160] wlp3s0: authenticate with MACADDRESS
[23149.690047] wlp3s0: send auth to MACADDRESS (try 1/3)
[23149.692086] wlp3s0: MACADDRESS denied authentication (status 1)
[23149.903929] wlp3s0: authenticate with MACADDRESS
[23149.962539] wlp3s0: send auth to MACADDRESS (try 1/3)
[23149.964192] wlp3s0: authenticated
[23149.964353] wlp3s0: associating with AP with corrupt probe response
[23149.965369] wlp3s0: associate with MACADDRESS (try 1/3)
[23149.982646] wlp3s0: RX ReassocResp from MACADDRESS (capab=0x1411 status=0 aid=2)
[23149.985170] wlp3s0: associated
[23150.081091] wlp3s0: Limiting TX power to 20 (20 - 0) dBm as advertised by MACADDRESS
[23185.775428] wlp3s0: disconnect from AP MACADDRESS for new auth to MACADDRESS
[23185.782553] wlp3s0: authenticate with MACADDRESS
[23185.841015] wlp3s0: send auth to MACADDRESS (try 1/3)
[23185.842608] wlp3s0: MACADDRESS denied authentication (status 1)
[23186.053703] wlp3s0: authenticate with MACADDRESS
[23186.112403] wlp3s0: send auth to MACADDRESS (try 1/3)
[23186.114109] wlp3s0: authenticated
[23186.114506] wlp3s0: associating with AP with corrupt probe response
[23186.115741] wlp3s0: associate with MACADDRESS (try 1/3)
[23186.133490] wlp3s0: RX ReassocResp from MACADDRESS (capab=0x1411 status=0 aid=2)
[23186.136553] wlp3s0: associated
[23186.228649] wlp3s0: Limiting TX power to 20 (20 - 0) dBm as advertised by MACADDRESS
[23221.939620] wlp3s0: disconnect from AP MACADDRESS for new auth to MACADDRESS
[23221.946643] wlp3s0: authenticate with MACADDRESS
[23222.004330] wlp3s0: send auth to MACADDRESS (try 1/3)
[23222.012804] wlp3s0: MACADDRESS denied authentication (status 1)
[23222.250093] wlp3s0: authenticate with MACADDRESS
[23222.343956] wlp3s0: send auth to MACADDRESS (try 1/3)
[23222.349354] wlp3s0: authenticated
[23222.349585] wlp3s0: associating with AP with corrupt probe response
[23222.352664] wlp3s0: associate with MACADDRESS (try 1/3)
[23222.375722] wlp3s0: RX ReassocResp from MACADDRESS (capab=0x411 status=0 aid=4)
[23222.378556] wlp3s0: associated
[23256.548108] wlp3s0: disconnect from AP MACADDRESS for new auth to MACADDRESS
[23256.555274] wlp3s0: authenticate with MACADDRESS
[23256.614038] wlp3s0: send auth to MACADDRESS (try 1/3)
[23256.619410] wlp3s0: MACADDRESS denied authentication (status 1)
[23256.859823] wlp3s0: authenticate with MACADDRESS
[23256.956496] wlp3s0: send auth to MACADDRESS (try 1/3)
[23256.966608] wlp3s0: authenticated
[23256.966824] wlp3s0: associating with AP with corrupt probe response
[23256.969464] wlp3s0: associate with MACADDRESS (try 1/3)
[23256.983173] wlp3s0: associate with MACADDRESS (try 2/3)
[23257.013842] wlp3s0: RX ReassocResp from MACADDRESS (capab=0x411 status=0 aid=3)
[23257.016656] wlp3s0: associated

What is that supposed to mean?

I spotted 4 recommended fixes on that thread I posted that could possibly help with your issue. You are being very dismissive, while at the same time providing no information on which fixes you have tested.

Did you test alternative kernels as suggested? If so, which ones?

Did you test out the kvalo firmware from github.

Did you disable IPv6?

Did you read my router setup guide and test its recommendations?

You dismiss suggestions outright, yet you are on the forum asking for assistance. When you dismiss suggestions out of hand without even testing them, you may find it difficult to get further assistance.

Here is another suggestion:

Try this fix that can sometimes help to get a connection.

Depending on which Manjaro edition you installed this change may already have been implemented.

Disabling MAC address randomization may sometimes be required to obtain a connection.

To disable MAC address randomization you must create (or edit) the following configuration file:

etc/NetworkManager/conf.d/disable-random-mac.conf

Add the following lines to the conf file:

[device]
wifi.scan-rand-mac-address=no

Save the changes and reboot your router and computer.

You may use the suggestion, (or not). However, this will be my last suggestion, as I prefer to not waste my time helping uncooperative users.

Let me answer in order of your questions:

  • I've tried each solution from 79713 and 66232, but after a while tcp connections would timeout again
  • Yes, 4.18, 4.19 and 5.1
  • I am unable to download it
  • Yes, although it changed nothing
  • Yes
  • Disabling randomization did not help at all

Yesterday I've re-enabled fully-automatic DHCP for affected networks, that seems to help, with this post being a proof, but then again, it's a huge security risk and I'd rather be able to at least have my custom DNS settings enforced/prioritized on all networks

Well, I gave up after a while, took a scripted way of switching back and forth between networks. But then, after doing batch update on 13th everything went back to normal, I'm happy to report that 5Ghz is stable again

After prolonged testing, only one brand of routers seem to upset plasma-nm, with that dreaded exclamation mark, slowdowns and complete freezes of this app, but few restart cycles of networking seem to "fix" this for a while

Forum kindly sponsored by Bytemark