- Burn Buster image onto SD card.
- Navigate to
/Volumes/boot
- Create a file called
wpa_supplicant.conf
- Put this in it...
country=US # Your 2-digit country code
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
network={
ssid="YOUR_NETWORK_NAME"
psk="YOUR_PASSWORD"
key_mgmt=WPA-PSK
}
- Enable SSH by running
touch ssh
in/Volumes/boot
. - Log into the Raspberry Pi now. Modify the hostname of the Pi to whatever you like:
sudo nano /etc/hostname
Change raspberrypi to WHATEVER
Next,
sudo nano /etc/hosts
Find the line starting with 127.0.0.1
, and change the name following it to your new hostname.
If you already have SSH keys on your system, simply...
ssh-copy-id [email protected]
If you experience problems logging in (WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!, e.g.), you may have to remove the IP address from known hosts. This can be accomplished via the ssh-keygen
utility:
ssh-keygen -R [hostname-or-IP]
Et voila!