Skip to content

Instantly share code, notes, and snippets.

@theparticleman theparticleman/setup.sh
Last active Oct 6, 2017

Embed
What would you like to do?
Raspberry Pi robot setup
#!/bin/bash
# Change keyboard layout
#sudo raspi-config, 4 - Localization, 3 - Change keyboard layout,
# Enable SSH
#sudo raspi-config, 5 - Interfacing Options, 2 - SSH
# Enable Camera
#sudo raspi-config, 5 - Interfacing Options, 1 - Camera
# Set up wifi
sudo cp /etc/wpa_supplicant/wpa_supplicant.conf ~/temp.txt
echo -e "\nnetwork={\n\tssid=\"wireless\"\n\tpsk=\"password\"\n}" >> ~/temp.txt
sudo cp ~/temp.txt /etc/wpa_supplicant/wpa_supplicant.conf
# Assign Raspberry Pi static IP address if needed
# Past this point the setup commands can be run remotely
sudo apt-get update
sudo apt-get install git -y
sudo apt-get install python-picamera -y
git clone https://github.com/simonmonk/raspirobotboard3.git
cd raspirobotboard3/python
sudo python setup.py install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.