Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building a Home Security System with BeagleBone

You're reading from   Building a Home Security System with BeagleBone Save money and pursue your computing passion with this guide to building a sophisticated home security system using BeagleBone. From a basic alarm system to fingerprint scanners, all you need to turn your home into a fortress.

Arrow left icon
Product type Paperback
Published in Dec 2013
Publisher Packt
ISBN-13 9781783559602
Length 120 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
William Pretty William Pretty
Author Profile Icon William Pretty
William Pretty
Arrow right icon
View More author details
Toc

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 on port 80
    ConditionPathExists=|/home/root/yalertunnel
    
    [Service]
    Working directory=/home/root/yalertunnel
    ExecStart=/home/root/yalertunnel server localhost:80try.yaler.net:80 <YOUR_RELAY_DOMAIN> -min-listeners 4
    
    [Install]
    Wantedby...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image