SetUp RaspberryPi Headleass without installing tool (Raspberry Pi Imager)
RaspberryPi OS has changed sum stuff like default user ... so here is a new guid how to setup you RaspberryPi headless:
Install Raspberrypi OS
- Download the OS Image from the official page (pick the light version, lol)
- check the SHA256 sum via
sha256sum <PATH_TO_*.IMG.XZ>
- extrackt the archive via
unxz <PATH_TO*.IMG.XZ>
- Write IMG to SD card via
sudo dd if=<PAT_TO*.IMG> of=/dev/<SDCARD> status=progress
Configurate Raspberrypi OS
- Enable SSH on first boot by createing a file in the boot partition called
ssh
via
touch /<PATH>/boot/ssh
- !!!Create User!!!! (yeh thats new ...) create a file called
userconf.txt
in the boot partition. Add users to your liking by adding<username>:<HASH>
in a line each. The password Hash can be generated via openssl
echo '<PASSWORD>' | openssl passwd -6 -stdin
DONE
well you may want to setup WIFI an stuff ... look for your self HERE