Last active
December 6, 2020 03:25
-
-
Save antonfisher/2dffec9271d03948053f9d99f2e1f665 to your computer and use it in GitHub Desktop.
Raspberry Pi Headless Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# on host: | |
# write an os image to the sd card: | |
# https://www.raspberrypi.org/documentation/installation/installing-images/README.md | |
# setup wifi (in boot): | |
# https://www.raspberrypi.org/documentation/configuration/wireless/headless.md | |
vim wpa_supplicant.conf | |
#ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
#update_config=1 | |
#country=<Insert 2 letter ISO 3166-1 country code here> | |
#network={ | |
# ssid="<Name of your wireless LAN>" | |
# psk="<Password for your wireless LAN>" | |
#} | |
# enable ssh (in boot) | |
touch ssh | |
# boot up the board, find out it's address: | |
sudo nmap -sn 10.0.0.0/24 | grep -n2 -i raspberry | |
# ssh to rpi, password: "raspberry" | |
ssh [email protected] | |
ssh -Ct pi@IP | |
# on rpi: | |
# enable camera | |
sudo raspi-config | |
# ---> 5 Interfacing Options | |
# ---> P1 Camera Enable/Disable connection to the Raspberry Pi Camera | |
# ---> Yes | |
sudo apt update | |
sudo apt upgrade | |
sudo apt install vim htop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment