Debian Linux, Wifi disconnect frequently

Just feel so bored with the same problem over and over again, it is my internal Wifi.
It keeps disconnecting frequently. I bought a USB Wifi dongle and it also does not
help very much.

After some googling and found out that there is wifi.powersafe option that could be
set to disabled wifi power safe, link. Immediately set the conf file

$ sudo vim /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

add this in the file if blank:

[connection]
wifi.powersave = 2

And if there is entries, then try to look for the above option and set to 2.
Which you could check for each of the options are

NM_SETTING_WIRELESS_POWERSAVE_DEFAULT (0): use the default value NM_SETTING_WIRELESS_POWERSAVE_IGNORE (1): don't touch existing setting NM_SETTING_WIRELESS_POWERSAVE_DISABLE (2): disable powersave NM_SETTING_WIRELESS_POWERSAVE_ENABLE (3): enable powersave

Then restart the NetworkManager

$ systemctl restart network-manager

My wifi is now working smoothly ^^

Comments