O'Reilly logo

Building a Home Security System with BeagleBone by Bill Pretty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Enabling web access

In order to enable web access on your BeagleBone, you need to perform the following steps:

  1. Download the yalertunnel.service startup script.
    $ curl -L http://yalertunnel.s3.amazonaws.com/yalertunnel.service -o /lib/systemd/system/yalertunnel.service
    
  2. Create a symbolic link:
    $ ln -s  /lib/systemd/system/yalertunnel.service /etc/systemd/system/multi-user.target.wants/yalertunnel.service
    
  3. Edit the script using the built in editor called Nano to set YOUR_RELAY_DOMAIN, as well as the local IP (default: localhost), and port (default: 80) of the local web service you want to make accessible via Yaler (to save your changes press Ctrl + X, then Y, and then Enter).

    Note

    $ nano /lib/systemd/system/yalertunnel.service
    
    [Unit]
    Description=yalertunnel ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required