Skip to content
FixingBook
Verifiedbeginnerest. 15 minutes

Stop Wi-Fi from disconnecting every few minutes on Linux

Fix intermittent Wi-Fi drops on Ubuntu, Fedora and Arch caused by power saving, iwlwifi quirks or NetworkManager roaming.

wifinetworkmanageriwlwifiubuntu

Confirmed working on: Ubuntu 24.04 · Fedora 41 · Arch (2026) · Debian 13

Before you begin

Match the environmentUse this guide only for Ubuntu 24.04, Fedora 41, Arch (2026), Debian 13 or a clearly compatible setup.
Protect recoveryBack up important data and save encryption or account recovery keys before changing system state.
Know when to stopMake one change at a time and stop if the result differs from what the guide describes.

Problem overview

Wi-Fi connects fine but silently drops every few minutes, then reconnects. journalctl shows wlan0: deauthenticating or iwlwifi firmware errors.

Common causes

  • NetworkManager Wi-Fi power saving putting the radio to sleep
  • iwlwifi (Intel) firmware features misbehaving with certain routers
  • Aggressive roaming between 2.4 GHz and 5 GHz bands with the same SSID

Solution 1: Disable Wi-Fi power saving (fixes ~70% of cases)

sudo tee /etc/NetworkManager/conf.d/wifi-powersave-off.conf <<'EOF'
[connection]
wifi.powersave = 2
EOF
sudo systemctl restart NetworkManager

Value 2 disables power saving; 3 enables it (the default on many distros).

Solution 2: Tame iwlwifi on Intel cards

Check your card first:

lspci -k | grep -A3 -i network

If the driver is iwlwifi, disable the problematic features:

sudo tee /etc/modprobe.d/iwlwifi-fix.conf <<'EOF'
options iwlwifi power_save=0
options iwlmvm power_scheme=1
EOF
sudo reboot
Note

On kernels 6.7+ you can verify the options applied with systool -v -m iwlwifi after reboot.

Solution 3: Pin the connection to one band

If your router broadcasts one SSID on both bands, lock the connection to 5 GHz:

nmcli connection modify 'YourSSID' 802-11-wireless.band a
nmcli connection up 'YourSSID'
Caution

Use band a (5 GHz) only if signal strength is good where you work; otherwise pin to bg (2.4 GHz) for range.

Confirm the result

  1. Repeat the exact action that originally triggered the problem.
  2. Confirm the original error or symptom is gone and no new warning has appeared.
  3. If the guide changed a driver, service, package, or system setting, restart once and test again.
  4. If the result is worse or unexpected, stop. Reverse only the last change using its documented restore option; if none is documented, use your backup or qualified support.

Questions about this fix

Will disabling Wi-Fi power saving hurt battery life?

Slightly, typically under 5% on laptops. Most users consider it a worthwhile trade for a stable connection.

Did this fix work for you?

Weighted Consensus Protocol

Consensus0%
Required100% (Weight 3)
Contributors0
Verified By YouNo
Your Weight--

Did this solution resolve your issue?

Confirming if this works strengthens verification statistics on the registry.

Sign In to VerifySign in required to verify

FixingTeam10,000 rep

Official Project Maintainers

The core engineering and moderation team behind FixingBook. We curate, verify, and maintain the standards of the troubleshooting ledger.

Spotted something outdated? Suggest an edit. Maintainers review submissions within 48 hours.
Share:XReddit

Discussion (0)

No comments yet. Share your experience or verify if this fixed your issue!

Join the Discussion