top of page

How to disable wifi power save to prevent disconnects

  • Writer: Alex
    Alex
  • 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

137 Comments


Mathias Nilsson
Mathias Nilsson
2 days ago

Iceland has a smaller gambling market compared to many European countries, which directly affects how people evaluate digital platforms. Local law historically treated most forms of gambling as restricted activity, allowing only specific charity-linked or lottery formats. Commercial venues are not part of everyday life here, so searches tend to point toward international options. I checked www.toponlinecasinosiceland.is for reference and found it aggregates platform comparisons with some technical detail worth reading. Acceptance by a site does not equal local regulation or consumer protection. Practical factors like currency support, document verification, and withdrawal timing tend to matter more than a polished front page. Anyone approaching this area should verify licensing independently and not rely on surface-level impressions. Proceed with caution.

Like

Easy Games
Easy Games
3 days ago

This ClockworkPi guide on disabling Wi-Fi power save mode is incredibly helpful for preventing annoying network disconnects! Having a stable connection is vital. Whenever my mind needs a quick, relaxing break after tweaking device terminal settings and system files, I love to jump online and play Easy Games without any lag. Excellent tutorial!

Like

I’ve seen Oxiveda mentioned before, interesting to read this perspective.

Like

helpful content overall, i usually use instagram downloader whenever i find something important on instagram that i want to keep saved


Like

This tip is helpful for anyone dealing with disconnects, feels a bit better after reading, might hop into Drift Boss for a bit before testing again.

Like
bottom of page