- Flash a copy of Raspberry Pi OS into a MicroSD (you can use Etcher).
- Go to the
boot
drive (with Ubuntu, it's in/media/$USER/boot
). - Create an empty
ssh
file with no extension. - And finally, create a
wpa_supplicant.conf
file with this data:
country=AR
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="WIFI_SSID"
scan_ssid=1
psk="WIFI_PASSWORD"
key_mgmt=WPA-PSK
}
With the steps above done, now you can ssh into it with ssh [email protected]
(or [email protected]
) with the password raspberry
.
Then, I do what any Linux-user does:
$ sudo apt-get update && sudo apt-get upgrade -y
$ sudo apt-get install python python-pip python3 python3-pip -y
$ passwd
If you have the error
Can't set locale; make sure $LC_* and $LANG are correct!
, you shouldsudo dpkg-reconfigure locales
and select your locale (I selecteden_GB.UTF-8
andes_AR.UTF-8
... just in case).