Image for post
Image for post

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.

Image for post
Image for post

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:

Image for post
Image for post

Step 4. Boot your Pi

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

Image for post
Image for post

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:

Image for post
Image for post

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
Image for post
Image for post

Step 7. Configure your Pi

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

Image for post
Image for post

Originally published at jamesfmackenzie.com

Image for post
Image for post
Image for post
Image for post
Image for post
Image for post

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!

Image for post
Image for post

HackerNoon.com

#BlackLivesMatter

Sign up for Get Better Tech Emails via HackerNoon.com

By HackerNoon.com

how hackers start their afternoons. the real shit is on hackernoon.com. Take a look

By signing up, you will create a Medium account if you don’t already have one. Review our Privacy Policy for more information about our privacy practices.

Check your inbox
Medium sent you an email at to complete your subscription.

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

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

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight.

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox.

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month.

Get the Medium app