Last active
April 21, 2019 05:24
-
-
Save GregHilston/c6ea3f74c70062e738b4f542a1b18a9c to your computer and use it in GitHub Desktop.
Add an empty file called "ssh" and this file to the root of your Raspberry Pi SD card to automate the connection to wifi
This file contains 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
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
update_config=1 | |
country=US | |
network={ | |
ssid="" | |
psk="" | |
key_mgmt=WPA2-PSK | |
} |
Its also important to note, the new line characters should be LF
and not CR LF
...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This file is to be placed in the
boot
folder when mounting an RPI sd card.Note: that on windows, when you mount the sd card, the
boot
folder is mounted for you, so you can just place these files in the "root"