Headless Raspbery pi
Tested on a RaspberryPI 4 B 2GB.
- Setup Raspbian OS on the disk
- In a Mac for example, create a
wpa_supplicant.confin /Volumes/boot. Just replace with your country, ssid and psk
1country=US
2ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
3update_config=1
4
5network={
6 ssid="NETWORK-NAME"
7 psk="NETWORK-PASSWORD"
8}
- Add blank file
sshto /Volumes/boot - Use the disk to boot the pi.
More details in https://desertbot.io/blog/headless-raspberry-pi-4-ssh-wifi-setup
Additional Info: https://www.raspberrypi.org/blog/a-security-update-for-raspbian-pixel/