Created
December 7, 2024 18:53
-
-
Save davesteele/9b5f566ad976b083b3c278e0e1fdfcfe to your computer and use it in GitHub Desktop.
Enable Wi-Fi on Raspbios when no regulatory domain set
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
# Enable wifi, even if no regulatory domain is set | |
# | |
# Supporting Comitup on Raspbios | |
# | |
# copy to e.g. /etc/systemd/system/ | |
# "systemctl enable wifi-on.service" | |
[Unit] | |
Description=Turn wifi on, regardless of regulatory domain | |
After=network.target network-online.target | |
Wants=network-online.target | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/bin/nmcli radio wifi on | |
[Install] | |
WantedBy=NetworkManager.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment