My wifi connection keeps disconnecting frequently (say once in a couple of minutes) sometimes it gets back and sometimes I need to activate and deactivate aeroplane mode.
I tried to change my network provider to make sure it is this laptop problem and not the internet I use. The same happened with ADSL connection, android hotspot, and TD LTE modem.
Really annoying.
Some info:
output of lspci -knn | grep Net -A2:
02:00.0 Network controller [0280]: Qualcomm Atheros AR9485 Wireless Network Adapter [168c:0032] (rev 01) Subsystem: Lite-On Communications Inc AR9485 Wireless Network Adapter [11ad:6628] Kernel driver in use: ath9k Kernel modules: ath9kand out put of grep wlan /var/log/kern.log:
Apr 17 21:26:24 mb-X202E kernel: [ 18.970719] ath9k 0000:02:00.0 wlp2s0: renamed from wlan0
Apr 17 23:49:29 mb-X202E kernel: [ 19.312256] ath9k 0000:02:00.0 wlp2s0: renamed from wlan0
Apr 18 00:30:25 mb-X202E kernel: [ 18.915112] ath9k 0000:02:00.0 wlp2s0: renamed from wlan0
Apr 18 12:26:07 mb-X202E kernel: [ 21.278385] ath9k 0000:02:00.0 wlp2s0: renamed from wlan0
Apr 18 22:21:55 mb-X202E kernel: [ 19.425881] ath9k 0000:02:00.0 wlp2s0: renamed from wlan0
Apr 21 19:56:26 mb-X202E kernel: [ 18.985724] ath9k 0000:02:00.0 wlp2s0: renamed from wlan0Ubuntu 22.04
Gnome 42
Asus X202E
34 Answers
Similar behavior, wifi keeps disconnecting and malfunction
my hardware : laptop Asus N751JK Network controller: Qualcomm Atheros AR9462 Wireless Network Adapter (rev 01) Subsystem: AzureWave AR9462 Wireless Network Adapter
I was runing Ubuntu 20.10, 21.04 up to Ubuntu 21.10 with Kernel 5.13.0 without any problem. I migrated to Ubuntu 22.04 which installs Kernel 5.15 then the problems started. I upgraded and tested unsuccessfully the following Kernels : 5.15.28, 5.15.36, 5.16.14, 5.16.20, 5.17.4, 5.17.5
I disabled the power save as explained without improvement in any of the Kernels tested. Also the "intel_iommu=off" mentioned at Bug#994590 didn't help.
I downgraded and currently running without any problem using the Kernel 5.13.19-051319-generic.
There is no problem in my airpoint (router) nor my internet access, I have other different computers and devices working correctly on wifi. In addition the N751JK works correctly when using the Ethernet adapter for the physical cable.
Using the solution mentioned in @chili555 comment, I tried disabling Power saving and it worked sofar (at least for the recent 20 minutes which is a record):
sudo sed -i 's/3/2/' /etc/NetworkManager/conf.d/*P.S: By the way, when I have set power mode to balanced in power settings, why there must be a power saving setting like that enabled?
Try:
sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.confAnd change wifi.powersave to 2
I tried most of the answers above, some of them worked but the problem started again after a couple of hours. Finally I installed a fresh Ubuntu and get rid of the disconnection syndrome but the same thing started to happen the day before yesterday.
At last my searches led to a bug with the 5.15 kernel and I found that there are many people facing the same problem with 5.15 and 5.16 kernels. I just updated to the latest kernel (5.17.7) and it has solved the problem for two days now.
I tried this solution to update to the latest kernel