This project will enable you to work on your Raspberry Pi directly from your Apple Mac, making extra peripherals unnecessary.
touch /Volumes/boot/ssh
This will create a file called ssh on the micro SD card.
touch /Volumes/boot/wpa_supplicant.conf
This will create a file called wpa_suplicant.conf on your micro SD card.
country=UK
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="YOUR-NETWORK-NAME"
psk="YOUR-PASSWORD"
}
Ensure that both the Pi and Mac are on the same WiFi network!
ssh-keygen -R raspberrypi.local
ssh pi@raspberrypi.local
You might get a “host not found” error after typing the first command, this is fine as it’s simply clearing out previous references to raspberrypi.local
At this point, you’re ready to use your Pi from your Mac using Terminal.
From a quick tap to smashing that love button and show how much you enjoyed this project.