Quick Bit: Fix Intermittent Wifi on Linux (Mint) due to PowerSave
This is mostly a reminder for myself as I expect I'll run into this issue again. I recently upgraded my Linux kernel to 6.17.0-22.22~24.04.1, which inadvertently removed my ability to connect to WiFi.
This is mostly a reminder for myself as I expect I'll run into this issue again. I recently upgraded my Linux kernel to 6.17.0-22.22~24.04.1, which inadvertently removed my ability to connect to WiFi. Once I downgraded to the previous kernel 6.17.0-20 I was able to reconnect to WiFi. However, while normal browsing was working as expected, if I attempted any time of online gaming, in this case Helldivers 2, I would lose connection several minutes into each match. This was due to PowerSave being enabled. Despite plenty of documentation, troubleshooting this common Linux quirk is often a slog due to the sheer number of potential causes.
Downgrade the kernel
- Reboot your machine and during the boot sequence hit the
ESCkey. - Select advanced options, then which kernel you want to boot with.
- Let the system boot.
Remove problematic kernel
- Open
Update Manager->View->Linux Kernelsselect the problematic kernel thenRemoveThis will allow the computer to boot up with the last stable kernel.
Disable Wi-Fi Power Management
- Open the configuration file
sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf- If
wifi.powersave = 3appears that means PowerSave is enabled. - Change the value to
2which is disabled. - Save the file.
- Restart the network manager with
sudo systemctl restart NetworkManager
Disable IPv6 (optional)
Many Steam games running through Proton struggle with IPv6, leading to frequent "Server Connection Lost" errors. Disabling it at the OS level often stabilizes the handshake with game servers.
- Go to your Network Settings in the Mint UI.
- Select your Wi-Fi connection and click the IPv6 tab.
- Change the method to Ignore or Disable.
- Apply and reconnect to your Wi-Fi.