WiFi - olliebennett/raspberry-pi-scripts GitHub Wiki
WiFi
Based on RaspberryPi.org Configuration Docs
Installation
Connect the Pi (via LAN), and SSH in.
Open the wpa-supplicant configuration file in nano:
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
Go to the bottom of the file and add the following:
network={
ssid="your wifi network SSID"
psk="your wifi network password"
}
Tip: You can grab the connected network's password on MacOS under the System
section of Keychain Access
.
Finally, reboot and unplug the LAN cable:
sudo reboot
Tip: Once restarted, you'll need the Pi's new IP address to SSH back in. You can find this using the following:
arp -a