Table of Contents

Installation Raspbian

Premier démarrage

options/commandes du premier boot

Après le reboot sur le réseau

Install des auto tunnels

# Settings for autossh. This file is sourced by /bin/bash from

# /etc/init.d/autossh.

AUTOSSH_USER=pi
autossh_opts -M 0 -q -N -f -o ServerAliveCountMax=3 \
                          -o ServerAliveInterval=60

tunnel -R 2002:localhost:22 -R :8001:localhost:8000 nono

script_autossh_initd

Access to gitolite repo

get the public key of sensors device & put into the gitolite config config .ssh/config :

Host git
User git
HostName helpcomputer.org
Port 2233

Access to gitolite repo

git clone git:domotique

Reinstall bcm2835.h

http://www.airspayce.com/mikem/bcm2835/ follow the instruction remove all tgz & folder tester le make sinon try again

gpio cli install

https://projects.drogon.net/raspberry-pi/wiringpi/download-and-install/

Sakis-3g

For installing it, use:

$ sudo bash || su
# cp build/sakis3gz /usr/bin/sakis3g
*  remove /tmp/sakis3g-source

ppp

Is needed by sakis3G

Sakis: Establish a connection

Use the following command to known what to specify into APN variable

sudo sakis3g --interactive connect

create /etc/sakis3g.conf and put into :

APN=internet.proximus.be

A run of sudo sakis3G connect works

UMTS Keeper

Reference : http://mintakaconciencia.net/squares/umtskeeper/

conf['deviceName'] = 'Huawei'

conf['logMsg'] = True
conf['httpServer'] = True
conf['writeHTMLStats'] = True
#The Parameters are

Create the following folders:

Move:

Done you can run now :

sudo umtskeeper --conf /etc/umtskeeper.conf

Add the following line to your /etc/rc.local

/usr/bin/umtskeeper --conf /etc/umtskeeper.conf

Retrieve some file from umts tgz and put it into webfolder: sudo cp favicon.ico style.css robots.txt /var/run/umtskeeper/