Setting up WiFi on a Raspberry Pi.
Add a text file called wpa_supplicant.conf
to /boot
and set the following parameters:
country=US ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network={ ssid="your_real_wifi_ssid" scan_ssid=1 psk="your_real_password" key_mgmt=WPA-PSK }