top of page

How to disable wifi power save to prevent disconnects

May 18, 2020
1 min read

I saw some posts about how weak the wifi is, and indeed it is… It kept losing signal and closing my ssh so I decided to try an old trick of mine. (Which happens to be an issue in all the Single Board Computers i have tried)

Since I disabled the chipset power saving mode I haven´t had disconnects, so It might be useful to you.


iw wlan0 set power_save off

I have to add that not only doesn´t disconnect anymore but it increased the speed of transfering files too.

Note:

This is not permanent, on reboot it gets restored to “on”

How to set it on boot.

To set it to off on boot you need to create the following scrip in:


/etc/network/if-up.d/powesave_off

#! /bin/sh  
set -e  
# Don't bother for loopback if [ "$IFACE" = lo ]; then         
exit 0 
fi  
# Only run from ifup. if [ "$MODE" != start ]; then         
exit 0 
fi  
# Only do it once (skip for inet6). if [ "$ADDRFAM" != inet ]; then         
exit 0 
fi  
/sbin/iw dev wlan0 set power_save off  
exit 0

And don´t forget to set exec permissions:


chmod +x /etc/network/if-up.d/powersave_off (or whatever name you put to it)

I found the solution here:https://github.com/fordsfords/wlan_pwr

227 Comments


line Made
line Made
3 days ago

I just had my Wi-Fi disconnect during a gaming session, so this post is super timely! How can I ensure these settings stick after a reboot?earn to die Also, any tips for improving signal strength? Thanks!

Like

Disabling WiFi power saving can be an effective way to prevent frequent internet disconnections, especially on Windows devices. When power management settings restrict the wireless adapter, your connection may become unstable or disconnect unexpectedly. Adjusting the adapter settings to maximum performance can help maintain a consistent connection and improve network reliability. Regularly updating WiFi drivers and checking router settings can also reduce connectivity issues. Just as reliable technology matters in every industry, professional digitizing services depend on efficient workflows, stable systems, and consistent performance to deliver high-quality embroidery designs without unnecessary delays.

Like

Dubai444
Nov 24

Detailed and practical, this guide explains concrete rebar in a way that feels approachable without oversimplifying. The step by step clarity is especially useful for eljnoub readers new to the subject. I recently came https://hurenberlin.com/ across a construction related explanation on that offered a similar level of clarity, and this article fits right in with that quality. Great resource. explanation feels hurentest berlin practical for everyday rauhane users. I checked recommended tools on

s3udy

q8yat

Like

Really helpful article! I especially liked how you covered the smaller details and explained what players should pay attention to ahead of GTA 6's launch. It's nice to see more than just the usual headlines. I've also started looking into options for GTA 6 Money, so having a better understanding of what's available is useful!

Like

Really good post! I liked that you covered some of the smaller details instead of just going over the usual Diablo 2 news. It gives players a better idea of what to expect before launch. I've also come across a few mentions of Diablo II: Resurrected Runes, Diablo II: Resurrected Items and Diablo II: Resurrected Gold, but wait until the game is out before looking into it.

Like
bottom of page