- Flash a copy of Raspberry Pi OS into a MicroSD (you can use Etcher).
- Go to the
bootdrive (with Ubuntu, it's in/media/$USER/boot). - Create an empty
sshfile with no extension. - And finally, create a
wpa_supplicant.conffile with this data:
country=AR
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev