Skip to content

retrodaredevil/headless-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Headless Setup

Easily setup your Raspberry Pi by making changes to a mounted boot drive.

Quick installation

sudo python3 -m pip install git+git://github.com/retrodaredevil/headless-setup.git

Now run it!

cd /media/$USER/boot # go to wherever the boot partition is mounted
headless-setup

Features

  • Can enable ssh by putting an ssh file in the boot drive
  • Can set the WiFi credentials by creating a wpa_supplicant.conf file

Local installation

Clone this and run (With sudo)

python3 setup.py install

Running without installing

python3 headless_setup/__init__.py

Links

Finding IP Address

How to find your ip address: https://www.raspberrypi.org/documentation/remote-access/ip-address.md

However, usually the easiest thing is to run this command: nmap -p 22 --open -sV 192.168.1.0/24 (assuming SSH is enabled)

Future stuff to add

  • Option to add dtoverlay=disable-bt to config.txt to disable bluetooth

About

A simple command line utility that helps with the offline setup of a Raspberry Pi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages