Skip to content

Instantly share code, notes, and snippets.

@StanBoyet
Created April 18, 2020 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save StanBoyet/59c5eeca68b1d8be6d06cc2bff2d058a to your computer and use it in GitHub Desktop.
Save StanBoyet/59c5eeca68b1d8be6d06cc2bff2d058a to your computer and use it in GitHub Desktop.
Raspberry Pi Headless Wifi Setup
# To place /etc/wpa_supplicant/wpa_supplicant.conf
# Adapted from https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md
# Needed for compability with the latest Buster Raspbian release
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=FR
network={
ssid="ssid name"
scan_ssid=1 # Needed for hidden SSID
id_str="home"
psk="yourPassword"
priority=1
}
network={
ssid="ssid name 2"
id_str="work"
psk="yourPassword"
priority=2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment