giovibal / AcchiappaLadro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AcchiappaLadro

This is a series of scripts to detect intrusion with a Raspberry PI 2, a PIR and a NoIR Cam

Instalation

  1. Link or copy "init.d/acchiappa-ladro" into /etc/init.d/ folder

     cd /home/pi/AcchiappaLadro/
     ln -s init.d/acchiappa-ladro /etc/init.d/acchiappa-ladro
    
  2. Configure gdrive

    to configure gdrive you must execute it once manually, approve auth token, and set it into the app interactively

    Execute this command

     cd /home/pi/AcchiappaLadro
     /home/pi/AcchiappaLadro/gdrive/gdrive -c /home/pi/AcchiappaLadro/gdrive/conf upload -p 0B5VaZPNYmmfca0dnMDdFLXppNTA -f /home/pi/AcchiappaLadro/README.md
    

    N.B. gdrive (https://github.com/prasmussen/gdrive) is not included, you must download and configure by yourself

  3. Configure the ssh reverse tunnel (optional)

    If you want access your raspberry pi remotely, and you have a cloud "always-on" linux server, you can configure a "reverse ssh tunnel". ssh_tunnel.sh is the script you can use

    put this on /etc/rc.local

     /home/pi/AcchiappaLadro/ssh_tunnel.sh user@cloud.server 5000 &
    

About


Languages

Language:Python 74.8%Language:Shell 25.2%