As all the HDMI connectors on my TV are already filled, I planned to setup the Raspberry pi’s as network only devices. After flashing Raspbian Lite, the pi booted. Plug ethernet, get address from DHCP and voilà!



Well…


Not really…

There is a wifi chip in there, let’s setup wifi. And now let’s add the ssh key so that I don’t have to type in my password each time. And having a proper hostname would be nicer.



And now let’s setup the two other devices :)

That take some time, so to ease that process the following script generate a raspbian image with all the required provisionning:

./raspbian-setup.sh image hostname network psk id_rsa.pub

See http://github.com/thread974/raspbian-setup