I checked many, many times, for a tutorial online on how to do this. I couldn’t find one that worked. So, after many trials and even more errors, I wrote down all the steps that worked from different sites, as well as steps where I had to get creative, and compiled them into a single tutorial. The following steps worked for me, and were repeatable.
Download Raspian from http://www.raspberrypi.org/download. If using VirtualBox, download directly to the VM.
wget http://downloads.raspberrypi.org/raspbian_latest -o raspian_latest.zip
Insert SD Card and locate the device
dmessage | grep “mmc” – usual route
If using VirtualBox, make sure VirtualBox is off and run the command prompt as administrator for this tutorial: http://www.sandyscott.net/2013/08/14/virtualbox-direct-drive-access/#comment-2220
It’s easier to format the SD card using an AD formatter. We used the one here: http://elinux.org/RPi_Easy_SD_Card_Setup, using Windows win32formatter.
Just plug it into your router. On your router admin site, find the raspberrypi in the list of wired devices. You will need the IP address to ssh into it.
SSH into the device to configure it. Easy configuration instructions can be found here: http://www.raspberrypi.org/wp-content/uploads/2012/12/quick-start-guide-v1.1.pdf
1. ssh pi@<ip_address> #the default password is raspberry
Once you’ve gotten this far, the instructions on the github page of the cjdns source code walk you through installation and setup of cjdns and connecting to friends on the mesh: https://github.com/cjdelisle/cjdns