How to disable wifi power save to prevent disconnects
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




5. Router configuration becomes easier when you understand how the admin page works. Whether you are searching for 192.168.o1 or another gateway address, always confirm the correct IP from your router documentation.
Cómo instalar Delta Executor en Android requiere considerar la versión y configuración del dispositivo. Revisar previamente los requisitos puede facilitar la comprensión de los pasos necesarios para el proceso.
Really useful guide for anyone dealing with recurring Wi-Fi disconnects on a single-board computer. I like that the post explains both the immediate power-saving change and how to make it persistent after reboot. The practical troubleshooting approach makes the solution easy to understand and apply.
It also highlights how logical problem-solving and step-by-step thinking can be useful beyond technology. Students working through quantitative subjects often use resources such as a math assignment helper to better understand complex problems and organize their solutions clearly. Thanks for sharing such a practical and easy-to-follow technical guide!
I really enjoyed reading this post. You explained everything in a simple way and shared some useful information. Thanks for sharing your experience. Yacine TV