Prusa-Link
Prusa-Link copied to clipboard
WiFi disconnects after some time
Using Pi Zero 2 W, everything works great for a certain amount of time (~5 hours or so). After this, the device drops off the network and the printer reads "No LAN Access".
I think I've narrowed it down to the wifi adapter's power management putting it to sleep after awhile.
It may be specific to my Unifi setup, not sure, but currently I'm working around it with the advice found here:
Append
/sbin/iwconfig wlan0 power off
to/etc/rc.local
before the lineexit 0
It seems that wireless-power off
in the /etc/network/interfaces/
file is suggested as well, though I saw reports of mixed success with that only.
Would it be possible to either have an option to turn wireless power management off more easily from the UI, or to have it off by default?
Looking into this, although I don't think i can measure results, it really seems like it should do what you say it should do, so I see no harm in using it. The implication is, this would be bad if running from a battery, which we are not in the absolute majority of cases.
I just ran into this as well with the default prusalink and raspi zero 2 w & followed the one above. Since RPIs connected to Prusa are always powered, this should be a default setting. the /sbin/iwconfig
did not work for me
Check if you think this should help once we build a new image #855