The below is tested with the June 2017 release of Raspbian Jessie, for setting up a Pi without any local peripherals connected.
- Flash Raspbian image (see below)
- Create empty file named
ssh
in root of SD card - Create
wpa_supplicant.conf
in root of SD card (see below) - Eject and put SD card in Pi
ssh pi@raspberrypi.local
(or otherwise find IP address)sudo raspi-config
- Change
pi
user's password - Change hostname
- Enable VNC access (Interfacing options -> VNC)
- Change
- Configure VNC Connect for Cloud access (see below)
- Reboot
sudo apt update && sudo apt upgrade -y && sudo apt dist-upgrade
- Open Disk Utility
- Select SD's partition, note "Device" name (
disk#s#
) <- First digit - Eject partition (not disk) from Disk Utility
sudo dd bs=1m if=path_of_your_image.img of=/dev/rdisk#
network={
ssid="NETWORK NAME"
psk="PASSWORD"
}
network={
ssid="NETWORK NAME 2"
psk="PASSWORD 2"
}
- TODO
Ensure package libxkbcommon0
is installed
Ensure package gksu
is installed