June 27, 2013 | Raspberry Pi |
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.
Need help with a hardware project or product? Drop us an email at email@example.com. We offer consulting services on AVR and Nordic nRF BLE - hardware design, firmware development, prototyping, PCB design/assembly, sourcing and manufacturing. We can help you bring your product to market!
We love hearing from our readers. Email us at firstname.lastname@example.org for questions or comments on this article. If you found this article useful, please support us by buying some of our hardware products.