Raspberry Pi‎ > ‎

Disable power management to prevent wifi from shutting down

posted Apr 24, 2016, 1:43 PM by Chris G   [ updated Apr 24, 2016, 1:44 PM ]
Out of the box, the Raspberry Pi is designed with power efficiency in mind. Because of that, the Pi will shit down unused devices with every chance it gets, and that includes the WiFi signal. So, if you have a headless Raspberry Pi and are having trouble connecting to it via http or ssh, this is the most likely cause.

To solve this, simply edit the following file:


sudo nano /etc/modprobe.d/8192cu.conf
and add the following:


options 8192cu rtw_power_mgnt=0 rtw_enusbss=0

Save, and reboot, and your Pi will stay connected more reliably, but use a little more power.