paint-brush
Headless Raspberry Pi Setupby@jamesfmackenzie
375,014 reads
375,014 reads

Headless Raspberry Pi Setup

by James MackenzieJanuary 2nd, 2017
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

Don’t have an extra keyboard or HDMI cable? Here’s how to do a headless <a href="https://www.raspbian.org/" target="_blank">Raspbian</a> install on your Pi.
featured image - Headless Raspberry Pi Setup
James Mackenzie HackerNoon profile picture

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: pipassword: raspberry

Step 7. Configure your Pi

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

Originally published at jamesfmackenzie.com