Skip to content

Automates the configuration of RaspberryPi in headless mode.

Notifications You must be signed in to change notification settings

afdezl/rpi-headless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Headless RPi configuration

Headless setup for a RaspberryPi 3 to connect to a WiFi network and allow SSH.

Prerequisites

The following has only been attempted on a Debian machine.

Download and burn the raspbian-stretch-lite image into an SD card.

Assert that the SD card is available under /media/$USER. Follow the next steps to configure the RPi for headless setup.

Usage

NOTE: Run the rpi_headless.py script as sudo.

$ sudo ./rpi_headless.py --ssid <WiFI_name> --password <WiFi_password>

The card can now be unmounted and extracted. Boot the RaspberryPi and you should be able to SSH into it. If you have trouble finding the RaspberryPi IP, nmap can come in handy issuing a command like so:

nmap -sn 192.168.1.0/24

Optional

Set up a static IP address.

About

Automates the configuration of RaspberryPi in headless mode.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages