Headless Raspberry Pi Setup

Written by jamesfmackenzie | Published 2017/01/02
Tech Story Tags: raspberry-pi | technology | iot | how-to | hackernoon-es

TLDRvia the TL;DR App

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


Written by jamesfmackenzie | Husband, Father, Coder, Lifelong Learner. Collector of Retro Computers. Programming for 20+ years
Published by HackerNoon on 2017/01/02