Last active
March 25, 2018 19:16
-
-
Save kjlape/29ad8782677cbc3ee9ee2fcfc85db98e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # navigate to the boot partition | |
| # set WPA_SSID and WPA_PSK | |
| touch ssh | |
| cat > wpa_supplicant.conf <<EOF | |
| ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
| update_config=1 | |
| country=US | |
| network={ | |
| ssid="$WPA_SSID" | |
| psk="$WPA_PSK" | |
| key_mgmt=WPA-PSK | |
| } | |
| EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment