- 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
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
$ passwdIf you have the error
Can't set locale; make sure $LC_* and $LANG are correct!, you shouldsudo dpkg-reconfigure localesand select your locale (I selecteden_GB.UTF-8andes_AR.UTF-8... just in case).