Easily setup your Raspberry Pi by making changes to a mounted boot
drive.
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
- Can enable ssh by putting an
ssh
file in the boot drive - Can set the WiFi credentials by creating a
wpa_supplicant.conf
file
Clone this and run (With sudo)
python3 setup.py install
python3 headless_setup/__init__.py
- https://www.raspberrypi.org/documentation/remote-access/ssh/
- https://www.raspberrypi.org/documentation/configuration/wireless/headless.md
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)
- Option to add
dtoverlay=disable-bt
toconfig.txt
to disable bluetooth