Created
November 29, 2017 19:12
-
-
Save chibby0ne/ad576b3a360b7b898acb69246b8fc053 to your computer and use it in GitHub Desktop.
Disabling Raspberry Pi 3 Wifi Power Save
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There are 3 ways of disabling power save on the Raspberry Pi 3 depending on how you wifi is configured: | |
1. Configured using NetworkManager | |
Follow this gist: https://gist.github.com/jcberthon/ea8cfe278998968ba7c5a95344bc8b55 | |
2. Configured using Command Line editing `/etc/network/interface` | |
The accepted known method is to add the following line *AFTER* the setting up of the interface | |
`wireless-power off` | |
Some other tutorials suggest to add this instead: | |
`post-up iw wlan0 set power_save off` | |
e.g: | |
``` | |
iface wlan0 inet dhcp | |
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf | |
post-up iw wlan0 set power_save off | |
``` | |
or | |
``` | |
iface wlan0 inet dhcp | |
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf | |
wireless-power off | |
``` | |
3. Configured using Pixel's GUI Wifi icon | |
I tried to add the lines used for method 2 as well as the following line in the `/etc/network/interfaces`, but this only resoulted in a error saying `/etc/network/interfaces:7: misplaced option` and `ifup: couldn't read interfaces file /etc/network/interfaces`. Therefore I decided to add it to `/etc/rc.local` which is source by root just after starting the session. | |
`iw wlan0 set power_save off` | |
Add that line *BEFORE* the `exit 0` line in `/etc/rc.local` | |
Thanks to https://raspberrypi.stackexchange.com/a/34952 for the first 2 methods. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment