Linux Wi-Fi Disconnecting After Suspend: Proven Fix (2026)
Table of Contents
- 1. Root Cause
- 2. Restart Network Manager Service
- 3. Disable Wi-Fi Power Saving
- 4. Adjust Driver Parameters (iwlwifi)
- 5. Create a Systemd Resume Script
- 6. Use a udev Rule for Resume
- 7. Switch to a Different Network Manager
- 8. Update Kernel and Firmware
- 9. Disable IPv6 for Wireless Interface
- 10. Advanced: Custom Resume Hook
- 11. Frequently Asked Questions
- 12. Conclusion
Linux wi-fi disconnecting after suspend is a frequent frustration for laptop users. You close the lid, open it later, and the network is gone.
When the linux wi-fi disconnecting after suspend occurs, no automatic reconnection happens. This proven fix guide provides effective solutions to prevent Wi-Fi disconnections after resume on Linux.
Quick Fix: Restart Network Manager with sudo systemctl restart NetworkManager after resume. If that works, automate it with a systemd script. For persistent issues, disable Wi-Fi power saving with sudo iw dev wlan0 set power_save off.
1. Root Cause
The primary reason for linux wi-fi disconnecting after suspend lies in power management policies. When a laptop enters suspend mode, the system instructs hardware to enter low-power states.
The Wi-Fi chip, often controlled by drivers like iwlwifi (Intel) or ath10k (Qualcomm), goes into deep sleep. Upon resume, the driver may fail to re-initialise the hardware correctly.
Network Manager may not receive the proper wake-up signal. Kernel power-saving features can cause the interface to stay inactive after resume. This behaviour is well-documented in Linux kernel mailing lists.
The issue varies across distributions and hardware generations. According to the Arch Linux Wiki, power management conflicts are a common cause of post-suspend network failures.
2. Restart Network Manager Service
The simplest workaround for linux wi-fi disconnecting after suspend is to restart Network Manager after waking. This forces the service to re-scan networks.
sudo systemctl restart NetworkManagerIf this resolves the issue temporarily, you can automate it. Create a script that executes this command upon resume. This method is widely recommended in Ubuntu forums and the Arch Wiki.
Outcome: Restarting Network Manager resolves the linux wi-fi disconnecting after suspend issue for many users.
3. Disable Wi-Fi Power Saving
Power saving on the Wi-Fi interface is a common culprit. By default, many drivers enable power_save to conserve battery. This can prevent proper reconnection after sleep.
sudo iw dev wlan0 set power_save offReplace wlan0 with your interface name (check with iw dev). To make this permanent, add the command to /etc/rc.local or create a systemd service. This change eliminates the disconnection entirely on many Intel chips.
Outcome: Disabling power saving prevents the linux wi-fi disconnecting after suspend problem.
4. Adjust Driver Parameters (iwlwifi)
For Intel wireless cards using the iwlwifi driver, specific module parameters can improve resume behaviour. Setting power_save=0 and enabling swcrypto can help.
sudo modprobe -r iwlwifi
sudo modprobe iwlwifi power_save=0 swcrypto=1To make this persistent, create /etc/modprobe.d/iwlwifi.conf with the line options iwlwifi power_save=0 swcrypto=1. This approach is documented in the Intel wireless documentation and has helped many users.
Outcome: Adjusting driver parameters ensures the linux wi-fi disconnecting after suspend error is eliminated.
5. Create a Systemd Resume Script
Systemd can execute custom scripts automatically upon resume. This method ensures Network Manager restarts without manual intervention for the linux wi-fi disconnecting after suspend issue.
sudo nano /usr/lib/systemd/system-sleep/restart-network.shAdd the following content:
#!/bin/bash
case $1 in
post)
/usr/bin/systemctl restart NetworkManager
;;
esacMake the script executable with sudo chmod +x /usr/lib/systemd/system-sleep/restart-network.sh. This community-proven solution works across Debian, Fedora, and Arch.
Outcome: Automating with systemd permanently solves the linux wi-fi disconnecting after suspend problem.
6. Use a udev Rule for Resume
Another robust approach is to create a udev rule that triggers on resume. Udev can run commands based on hardware events, making it reliable for the linux wi-fi disconnecting after suspend issue.
sudo nano /etc/udev/rules.d/99-wifi-resume.rulesAdd the rule:
ACTION=="change", SUBSYSTEM=="power_supply", RUN+="/usr/bin/systemctl restart NetworkManager"While this triggers on power supply changes, it can be adapted for resume events. Systemd scripts are generally preferred for simplicity.
Outcome: A udev rule provides an event-driven fix for linux wi-fi disconnecting after suspend.
7. Switch to a Different Network Manager
Some users find that alternative network management tools handle suspend/resume more gracefully. Switching from Network Manager to connman or wpa_supplicant can help.
sudo apt install connman
sudo systemctl disable NetworkManager
sudo systemctl enable connmanAfter switching, test the resume behaviour. This approach is recommended in the Arch Wiki for persistent network problems.
Outcome: Changing the network manager resolves the linux wi-fi disconnecting after suspend issue with different resume-handling logic.
8. Update Kernel and Firmware
Outdated kernels or Wi-Fi firmware can cause unstable resume behaviour. Updating to the latest stable kernel often includes fixes for power management and driver bugs.
sudo apt update
sudo apt upgrade linux-generic
sudo rebootFor Fedora, use sudo dnf update kernel. For Arch, sudo pacman -S linux. Additionally, check for firmware updates using sudo apt install linux-firmware. This is a fundamental step.
Outcome: Updating the kernel and firmware eliminates known bugs causing linux wi-fi disconnecting after suspend.
9. Disable IPv6 for the Wireless Interface
In some cases, IPv6 autoconfiguration conflicts with the resume process. Disabling IPv6 for the wireless interface can prevent the linux wi-fi disconnecting after suspend issue.
sudo sysctl -w net.ipv6.conf.wlan0.disable_ipv6=1To make it permanent, add net.ipv6.conf.wlan0.disable_ipv6=1 to /etc/sysctl.conf. This is a less common but effective workaround.
Outcome: Disabling IPv6 resolves the linux wi-fi disconnecting after suspend issue in specific networking environments.
10. Advanced: Custom Resume Hook
For users comfortable with scripting, creating a custom resume hook that unloads and reloads the Wi-Fi driver can be highly effective. This forces the hardware to be fully reinitialised.
#!/bin/bash
case $1 in
post)
modprobe -r iwlwifi
modprobe iwlwifi
systemctl restart NetworkManager
;;
esacPlace this script in /usr/lib/systemd/system-sleep/ and make it executable. This aggressive method has been shared by many Linux power users on forums.
Outcome: A custom resume hook ensures the linux wi-fi disconnecting after suspend error is fixed permanently.
11. Frequently Asked Questions
Why does Wi-Fi disconnect after suspend on Linux?
It occurs due to power management features that put the Wi-Fi chip into deep sleep. The driver or network manager fails to reinitialise correctly upon resume.
How can I automate Wi-Fi reconnection after suspend?
Create a systemd resume script or a udev rule to restart Network Manager automatically after resume.
Does disabling Wi-Fi power saving affect battery life?
Yes, it may slightly reduce battery life because the Wi-Fi chip stays active. The impact is often negligible compared to a stable connection.
Which distributions are most affected by this issue?
Ubuntu, Fedora, and Arch Linux users frequently report it, especially on laptops with Intel or Qualcomm wireless cards.
Can I use a different network manager to avoid this problem?
Yes, switching to connman or wpa_supplicant can resolve the issue if Network Manager’s resume handling is problematic.
How do I check my Wi-Fi interface name?
Use iw dev or ip a to list your wireless interfaces (e.g., wlan0, wlp2s0).
Is updating the kernel always necessary?
Not always, but it is a recommended step because many suspend/resume fixes are backported to newer kernels.
What is the iwlwifi driver?
The iwlwifi driver is used for Intel wireless chips. It is one of the most common Wi-Fi drivers on Linux laptops.
Can TLP power management cause this issue?
Yes, TLP’s default settings may disable Wi-Fi during suspend. Adjust TLP configuration to prevent this.
What if none of these methods work?
File a bug report with your distribution’s bug tracker or the kernel team. Provide detailed logs from dmesg and journalctl.
12. Conclusion
The linux wi-fi disconnecting after suspend issue is frustrating but solvable. By following the methods outlined — from restarting Network Manager to creating custom resume hooks — you can achieve a stable connection after every wake-up. Start with simpler solutions and escalate only if necessary. For more Linux troubleshooting, explore our Linux Hub and guides on Ubuntu no Wi-Fi adapter found, Linux Wi-Fi not working, and Linux Bluetooth not working. With patience and the right approach, you can overcome the linux wi-fi disconnecting after suspend problem and enjoy uninterrupted wireless connectivity.