Headless Raspberry Pi Setup

James Mackenzie
Jan 2, 2017 · 3 min read

Don’t have an extra keyboard or HDMI cable? Here’s how to do a headless Raspbian install on your Pi.

Step 1. Download Raspbian Image

Head on over here to grab a copy of the Raspbian image. The “Lite” version will do.

Step 2. Write Image to SD Card

Write the image to SD card. You can find detailed instructions here.

Step 3. Add “SSH” File to the SD Card Root

Enable SSH by placing a file named “ssh” (without any extension) onto the boot partition of the SD card:

Step 4. Boot your Pi

Pop your prepared SD card, power and a network cable into the Pi.

Step 5. Find your Pi’s IP Address

To configure your Pi, you need the IP address. You can find this in your Router’s DHCP lease allocation table:

Step 6. SSH into your Pi

Use your favourite SSH client (I prefer PuTTY) to access the Pi. The default credentials are:

username: pi
password: raspberry

Step 7. Configure your Pi

That’s it! You can now configure your Pi via sudo raspi-config

Originally published at jamesfmackenzie.com

Hacker Noon is how hackers start their afternoons. We’re a part of the @AMI family. We are now accepting submissions and happy to discuss advertising & sponsorship opportunities.

If you enjoyed this story, we recommend reading our latest tech stories and trending tech stories. Until next time, don’t take the realities of the world for granted!

HackerNoon.com

#BlackLivesMatter

HackerNoon.com

Elijah McClain, George Floyd, Eric Garner, Breonna Taylor, Ahmaud Arbery, Michael Brown, Oscar Grant, Atatiana Jefferson, Tamir Rice, Bettie Jones, Botham Jean

James Mackenzie

Written by

Husband, Father, Coder, Lifelong Learner. Collector of Retro Computers. Perpetually Programming for 20+ years

HackerNoon.com

Elijah McClain, George Floyd, Eric Garner, Breonna Taylor, Ahmaud Arbery, Michael Brown, Oscar Grant, Atatiana Jefferson, Tamir Rice, Bettie Jones, Botham Jean