Created
July 17, 2016 00:24
-
-
Save dkarchmer/0b7c610f5ca89e58130830a33ad77348 to your computer and use it in GitHub Desktop.
Steps to create a docker based RPi3 image
This file contains hidden or 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
# Download latest image from http://blog.hypriot.com/downloads/. Assuming v0.8.0. | |
unzip hypriotos-rpi-v0.8.0.img.zip | |
# And identify SSD disk | |
diskutil list | |
# Unmount disk. Assuming we identified /dev/disk2 in previous step | |
diskutil unmountdisk /dev/disk2 | |
# Flash SD card. May take up to 5min with no feedback | |
sudo dd if=hypriotos-rpi-v0.8.0.img of=/dev/rdisk2 bs=1m | |
# Unmount again | |
diskutil unmountdisk /dev/disk2 | |
##### READY FOR RPi | |
# set wifi | |
echo 'network={ | |
ssid="your-ssid" | |
psk="your-psk" | |
}' | sudo tee -a /etc/wpa_supplicant/wpa_supplicant.conf | |
sudo ifdown wlan0 | |
sudo ifup wlan0 | |
# Set hostname and wifi | |
sudo nano /boot/device-init.yaml | |
# Update libraries | |
sudo apt-get update | |
sudo apt-get install wireless-tools | |
sudo ifconfig -a | |
# Other | |
sudo apt-get install emacs | |
# Scan BLE devices | |
sudo hcitool lescan |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment