Created
April 27, 2025 16:13
-
-
Save mpalourdio/06bc85e5eb63706d4d57033fd7ef4cd5 to your computer and use it in GitHub Desktop.
Disable wifi power management on raspberry pi by systemd
This file contains hidden or 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
#create /etc/systemd/system/wlan0pwr.service | |
#sudo systemctl enable wlan0pwr.service | |
[Unit] | |
Description=Disable wlan0 powersave | |
After=network-online.target | |
Wants=network-online.target | |
[Service] | |
Type=oneshot | |
ExecStart=/sbin/iwconfig wlan0 power off | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment