Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Ubuntu recently announced its Snappy Ubuntu Core operating system as a solution for Internet of Things (IoT) devices. It's effectively a lightweight version of the Ubuntu Linux operating system that is very secure, highly reliable and easy to upgrade. Even in its current alpha state, it appears to run well and will only continue to improve. Given what it is trying to achieve and the fact that its first supported hardware platform is BBB, it seemed logical for Hobson to support it natively.

There are six four steps necessary to get Hobson running on BBB using Snappy Ubuntu Core:

...

1. Download the Snappy Ubuntu Core image file and flash it to an SD card

...

See the "Getting Started with Beaglebone Black" section on this Snappy Ubuntu Core page for details. Here are a couple of helpful hints

...

:

  • The file you're downloading is ubuntu-core-WEBDM-alpha-02_armhf-bbb.img.xz (or whatever the latest version is) available from this page. Note that this is an XZ compressed file. You can use 7-Zip on Windows or Entropy on Mac (a paid program but it offers a demo) to extract it. What you want is a file that ends in .img.
  • For Windows, you can use the Win32 Disk Imager program to flash the .img file to the SD card.
  • For Mac, you can use the Pi Filler program to flash the .img file to the SD card.
  • For Linux, you can use the following command: dd if=ubuntu-core-WEBDM-alpha-02_armhf-bbb.img of=/dev/sdX bs=32M (where sdX is the device for your blank SD card).

2. Boot the BBB

Insert your newly flashed SD card into BBB and power it up. Make sure BBB is connected to the same network as your PC.

Note: It is highly recommended that you verify that the date and time are set correctly on the BBB. See the Hints & Troubleshooting section below.

3. Visit the WebDM

Wait a few minutes and then use your PC's browser to visit Ubuntu Core Snappy's WebDM pagehttp://webdm.local:4200. It will look like this:

Image Added

4. Install Hobson

Click the "Store"

...

tab at the top of the page and search for Hobson

...

(or hobson-hub):

Image Added

Click

...

hobson-hub and then click the "Install" button

...

:

Image Added

After a minute or so, you should be able to configure Hobson by using your PC's browser to visit: http://webdm.local:8182/setup/index.html.

...

 

See the Hub Configuration Wizard page for more details.

Hints & Troubleshooting

Ubuntu Core Snappy has some idiosyncracies due to its current (as of this writing) alpha status. Here are some helpful hints in case you run into trouble. 

  1. If you are using a pre-revision C BBB, you may have an issue booting Snappy Ubuntu Core from the SD card. Make sure you update your BBB to the latest Debian image before trying to boot the Ubuntu Core Snappy SD image.
  2. Early builds of Ubuntu Core Snappy seem to have issues with the correct time & date being set which will obviously cause problems for Hobson's scheduling mechanism. To resolve this, SSH into the BBB using username ubuntu and password ubuntu and run the following command: sudo timedatectl set-ntp true.
  3. If you find that the "Store" tab in WebDM is blank, it could be that your date is not correctly set on the BBB. See the previous hint.

Other Distros

BBB will also run with several different Linux distributions including Debian, Angstrom, Arch, Ubuntu, etc. If you're feeling adventurous, you can install one of these operating systems, install the appropriate Java virtual machine and install the Hobson package for generic Unix distributions (.tgz). Given the large variance across different Linux distributions, this is left as an exercise for the reader for now (smile).