Offline and standalone 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 and no GPS antenna so no NTP timing is possible (NTP and GPS timing details).

This section of the manual is not for users who:

  • Have an Internet connection or GPS antenna

When no internet connection is expected, the Raspberry Shake provides a stand-alone mode that is tailored for no internet access. That is, no NTP services will be started, nor will there be an expectation that any timing servers will be reachable. When no internet access is expected, please log in to your Raspberry Shake via SSH (How to access your Raspberry Shake’s computer via ssh) and run the following command:

$ rsh-stand-alone

which will return usage instructions; very simply stated: set stand-alone mode to ON or OFF. Reboot the unit for the changes to take effect:

$ reboot

Then, ssh in again and 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.