diff --git a/active/device_raspberry_pi/raspberry_pi.md b/active/device_raspberry_pi/raspberry_pi.md new file mode 100644 index 0000000..7048c3f --- /dev/null +++ b/active/device_raspberry_pi/raspberry_pi.md @@ -0,0 +1,12 @@ +# Raspberry Pi + +## Headless Configuration + +1. Create a file called `ssh` in `bootfs` +2. Create a file called `userconf.txt` in `bootfs` +3. Run `echo 'YourPassword' | openssl passwd -6 -stdin` in your terminal to generate your encrypted password +4. Edit `userconf.txt` and add a single line: `username:encrypted_password` +5. Save `userconf.txt` and eject the SD card +6. Plug in the pi +7. Find the pi with `nmap -sn 10.0.0.0/24` +8. Login with `ssh username@pi-ip-address`