DEV Community 👩‍💻👨‍💻


Posted on

Setting Up a Headless Pi on new Raspbian Images

Yesterday I wanted to boot my raspberry pi 3 without having to connect it to my monitor; I realised after flashing the card 3 times it wasn't working...

Typically you just need 2 files to have a functional headless raspberry pi (ssh, wpa_supplicant) right from boot. However, in this case I was met with a blue-screen of death asking me to create a new username by connecting a wired keyboard...

Anyways, without sounding any more dramatic;

Here is what the new setup should look like on every Raspbian sd-card /BOOT partition:

  • wpa_supplicant.conf
  • userconf.txt {pi:encrypted-password}
  • ssh

You can also just clone my repo for the defaults.

Latest comments (0)

We are hiring! Do you want to be our Senior Platform Engineer? Forem is hiring a Senior Platform Engineer

If you're interested in ops and site reliability and capable of dipping in to our Linux stack, we'd love your help shoring up our systems!