Direct connections for offline applications like classroom demosΒΆ

This section of the manual is for users who:

  • Would like to use their Raspberry Shake in offline mode;
  • Would like to run a quick classroom demo by connecting the Raspberry Shake directly to their laptop via Ethernet cable; and
  • Are heading out to the cabin for the weekend, for example, where there is no Internet connection.

All of these use cases have one thing in common: The Raspberry Shake has no network connection so no NTP timing is possible (NTP and GPS timing details).

Instructions:

First, connect directly from your laptop to the Raspberry Shake using an Ethernet cable. Configure your laptop’s network IP to be in the same IP range as the raspberry shake’s Discovery IP. For example (all example commands in this section given for Debian),

$ sudo ifconfig eth0 169.254.8.11 up

Then, to make sure that you can see the Raspberry Shake, ping it. For example,

$ ping raspberryshake.local

Second, ssh into the raspberry shake. For example,

$ ssh myshake@raspberryshake.local

Default ssh password here: Ready, Set, Get Hacked! Security and Raspberry Shake

Linux users, if you notice that you lose ping or ssh connection, it might be useful to shut off DHCP. For example,

$ sudo systemctl stop dhcpcd.service
$ sudo ifconfig eth0 169.254.8.11 up

Third, once you have ssh-ed into the Raspberry Shake, set the date of your Raspberry Shake to coincide with the UTC system time on your laptop (e.g., using the ‘date –set’ option). For example,

$ sudo date --set "25 Sep 2013 15:00:00"

You can confirm the date was set properly using,

$ date -u

Where “u” is for UTC.

Warning

You must set the date to UTC, not local time.

Finally, open Swarm and connect normally. Click here for a tutorial on how to use Swarm.

Ok... but, how can I discover my Raspberry Shake’s ip? See: Find your Raspberry Shake’s IP with Fing