xxxxxxxxxx
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=<Insert 2 letter ISO 3166-1 country code here>
network={
ssid="HomeNetworkSSID"
psk="passwordHome"
key_mgmt=WPA-PSK
}
xxxxxxxxxx
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US
network={
ssid="Your network name/SSID"
psk="Your WPA/WPA2 security key"
key_mgmt=WPA-PSK
}
xxxxxxxxxx
# to add wifi network via command line
wpa_passphrase "<your ssid>" "<your password>" >> /etc/wpa_supplicant/wpa_supplicant.conf