Headless Raspbery pi

Tested on a RaspberryPI 4 B 2GB.

  1. Setup Raspbian OS on the disk
  2. In a Mac for example, create a wpa_supplicant.conf in /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}
  1. Add blank file ssh to /Volumes/boot
  2. 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/