Skip to content

Instantly share code, notes, and snippets.

@dmalawey
Last active February 11, 2022 18:14
Show Gist options
  • Save dmalawey/269ae3633fd103bd7a4a1836be520cf7 to your computer and use it in GitHub Desktop.
Save dmalawey/269ae3633fd103bd7a4a1836be520cf7 to your computer and use it in GitHub Desktop.
wpa supplicant example
country=US
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
# First network to search for
network={
ssid="your_ssid"
psk="your_password"
}
# Backup (usually using my mobile hotspot)
network={
ssid="iPhone"
psk="my_password"
}
@dmalawey
Copy link
Author

Updated this example file to include a secondary option. If the main network goes down, the pi will search for the second option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment