22.04, wifi keeps disconnecting for a few seconds frequently
NetworkManager WiFi Power Saving
Background
NetworkManager is a system network service that manages your network devices and connections and attempts to keep network connectivity active when available. It manages Ethernet, WiFi, mobile broadband (WWAN) and PPPoE devices while also providing VPN integration with a variety of different VPN services.
From the source code: wifi.powersave can have the following value:
(0): use the default value (1): don’t touch existing setting (2): disable powersave (3): enable powersave
Check
1
sudo cat /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
[connection]
wifi.powersave = 3
Change wifi.powersave to 2
Sources
Photo by Jonathan Kemper on Unsplash
Ubuntu https://ubuntu.com/core/docs/networkmanager
Ask Ubuntu https://askubuntu.com/questions/1403773/22-04-wifi-keeps-disconnecting-for-a-few-seconds-frequently
Github https://gist.github.com/jcberthon/ea8cfe278998968ba7c5a95344bc8b55
Want to thank me?
🤝 Buy me a coffee https://buymeacoffee.com/dbplatz