How to disable wifi power save to prevent disconnects
- Alex

- May 18, 2020
- 1 min read
This article is at: https://forum.clockworkpi.com/t/how-to-disable-wifi-power-save-to-prevent-disconnects/933
By Petrakis
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 0And 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



Reference page from passfab I used PassFab Software for password recovery, and my experience was quite satisfactory. The interface is user-friendly, making it easy to navigate through the various features. I appreciated the efficiency with which it handled my password issues, restoring access without unnecessary complications. However, I did notice that the recovery process took longer than expected at times. Overall, I found it to be a reliable tool for password management, though there is room for improvement in speed.
I saw the author mentioned "iw wlan0 set powersave off". Maybe I'll give this a try. It’s neat they shared the script too, especially since the uma racing wiki doesn't cover this exact problem.
Welcome to Chatora Blogger-where we chase the best flavors, from spicy street-side gems to comforting meals made right in my kitchen! ("Chatora" means someone who loves to taste, and I'm here to taste everything!)
Join me as I:
Explore Hidden Food Spots: Discover the most mouth-watering street food, local delicacies, and secret eateries in my city and beyond.
Recreate Iconic Dishes: Get easy-to-follow recipes for classic dishes like the perfect momo, crispy samosa, and cheesy pizza slices.
Share Honest Reviews: No filters, just real reactions! I'll tell you what's worth the hype and what's best left on the plate.
Celebrate Global Flavors: From quick noodles to hearty curries, we're exploring food from every corner of the globe.
Hit the Subscribe…
Very informative blog, highly recommended
Mataro Blue strain
Kazan State Medical University is one of the oldest and top-ranked medical institutions in Russia, known for its excellent MBBS program and global recognition. Approved by NMC & WHO, it offers advanced medical training, modern labs, experienced faculty, and strong clinical exposure. A popular choice for Indian students seeking affordable and quality medical education abroad.