xxxxxxxxxx
# ssh into Raspberry Pi
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
# Edit/Add country and network
country=US
network={
ssid="Your SSID"
psk="Your WiFI Password"
key_mgmt=WPA-PSK
}
# Restart network
sudo systemctl restart wpa_supplicant
# Or Restart Pi
sudo reboot
xxxxxxxxxx
country=FR
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="NOM_RESEAU"
scan_ssid=1
psk="MOTDEPASSE"
key_mgmt=WPA-PSK
}