Headless Setup

From Autopilot Wiki
Revision as of 22:33, 26 April 2022 by Jonny (talk | contribs) (Created page with "How to setup RaspiOS without a keyboard or monitor == Accessing == * Create a RaspiOS bootable microsd card (Installing RaspiOS or [https://www.raspberrypi.com/docum...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

How to setup RaspiOS without a keyboard or monitor

Accessing

  • Create a RaspiOS bootable microsd card (Installing RaspiOS or Official documentation)
  • Create a file named SSH (without extension) in the /boot directory (SSH)
  • In Bullseye or Newer: Create a file userconf.txt in /boot with format username:encrypted-password
    • To get an encrypted password, use
    echo 'mypassword' | openssl passwd -6 -stdin
  • Optionally: Configure WiFi
  • You should now be able to open a shell to your raspberry pi with ssh username@ip.address - consult your router configuration for the IP.


References