Forked from maheshsenni/rpi3_setup_partition_setup_snippet.sh
Last active
May 24, 2020 16:44
-
-
Save tcarreira/6fb84f37e7409b026faf37d45db5016b to your computer and use it in GitHub Desktop.
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
# Enable SSH | |
touch /tmp/1/ssh | |
# Configure WiFi | |
cat > /tmp/1/wpa_supplicant.conf <<EOF | |
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
update_config=1 | |
country=<TWO_LETTER_ISO_COUNTRY_CODE> | |
network={ | |
ssid="<WIFI_NETWORK_NAME>" | |
psk="<WIFI_PASSWORD>" | |
key_mgmt=WPA-PSK | |
} | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment