# 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

 1. Download the OS Image from the [official page](https://www.raspberrypi.com/software/operating-systems/) (pick the light version, lol)
 2. check the SHA256 sum via 
 ```
 sha256sum <PATH_TO_*.IMG.XZ>
 ```
 3. extrackt the archive via 
 ```
 unxz <PATH_TO*.IMG.XZ>
 ```
 4. Write IMG to SD card via 
 ```
 sudo dd if=<PAT_TO*.IMG> of=/dev/<SDCARD> status=progress
 ```
 
 # Configurate Raspberrypi OS
 
 1. Enable SSH on first boot by createing a file in the boot partition called `ssh` via 
 ```
 touch /<PATH>/boot/ssh
 ```
 2. !!!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](https://www.raspberrypi.com/documentation/computers/configuration.html)