Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WiFi disconnects after some time #811

Open
Redth opened this issue Jul 17, 2023 · 3 comments
Open

WiFi disconnects after some time #811

Redth opened this issue Jul 17, 2023 · 3 comments

Comments

@Redth
Copy link

Redth commented Jul 17, 2023

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 line exit 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?

@TojikCZ
Copy link
Contributor

TojikCZ commented Aug 2, 2023

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.

@srinathh
Copy link

srinathh commented Sep 11, 2023

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

@TojikCZ
Copy link
Contributor

TojikCZ commented Oct 4, 2023

Check if you think this should help once we build a new image #855

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants