Skip to content

Instantly share code, notes, and snippets.

@MoritzBuetzer
Last active January 28, 2021 08:24
Show Gist options
  • Save MoritzBuetzer/01966f23fc29be8607d2872a47522ad3 to your computer and use it in GitHub Desktop.
Save MoritzBuetzer/01966f23fc29be8607d2872a47522ad3 to your computer and use it in GitHub Desktop.
Raspberry Pi headless ssh an wifi setup (both files in /boot/)
# just an empty file
STATIC_IP="xxx.xxx.xxx.xxx/24"
STATIC_GW="xxx.xxx.xxx.xxx"
STATIC_DNS="xxx.xxx.xxx.xxx"
country=CH
update_config=1
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="YOUR_SSID"
psk="YOUR_PASSWORD"
key_mgmt=WPA-PSK
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment