electronut Labs

Cool Hardware & Awesome Projects for Makers worldwide.

Email Twitter Github

I keep logged into my Raspberry Pi from my Mac. The Pi is connected to my network using a USB WiFi adapter. But when I leave the login idle for a while, I find it to be (a) frozen and (b) I cannot login via a new ssh session - in fact, I can't even ping the Pi anymore.

I found the solution for problem (b) above in a StackOverflow post.

This is what you need to do:

sudo nano /etc/modprobe.d/8192cu.conf

Add the following:

# Disable power management
options 8192cu rtw_power_mgnt=0

Thanks to user Herohtar at SO - I tried this, and it seems to work very well. I still need to figure out problem (a) - prevent a login session from freezing on long periods of inactivity.



Support electronut.in

Generating original content for electronut.in takes up a lot of my time and monetary resources. If you found this article useful, please consider making a small donation. This will help me maintain electronut.in as a high quality Ad-free website.

Donate

Please sign up for our monthy newsletter

Only once a month, I will send you an email update on the latest electronut.in projects, as well as other related interesting happenings around the globe. Your email address will never be shared or abused, ever.