Skip to content

Instantly share code, notes, and snippets.

@mpalourdio
Created April 27, 2025 16:13
Show Gist options
  • Save mpalourdio/06bc85e5eb63706d4d57033fd7ef4cd5 to your computer and use it in GitHub Desktop.
Save mpalourdio/06bc85e5eb63706d4d57033fd7ef4cd5 to your computer and use it in GitHub Desktop.
Disable wifi power management on raspberry pi by systemd
#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