Difference between revisions of "RPI and Sakis3g"
From Hobbywiki
(Created page with "*Install Sakis3g and ppp =Connect automatically at startup= *Create file /etc/sakis3g.conf Telenor: APN="CUSTOM_APN" CUSTOM_APN="internet.public" APN_USER="user" APN_PASS=...") |
|||
Line 1: | Line 1: | ||
− | + | =Install Sakis3g and umtskeeper on Raspberry= | |
+ | *Install Sakis3g, ppp and umtskeeper | ||
+ | *Install Sakis3g in folder /umtskeeper | ||
+ | |||
=Connect automatically at startup= | =Connect automatically at startup= | ||
*Create file /etc/sakis3g.conf | *Create file /etc/sakis3g.conf |
Revision as of 19:13, 30 November 2013
Install Sakis3g and umtskeeper on Raspberry
- Install Sakis3g, ppp and umtskeeper
- Install Sakis3g in folder /umtskeeper
Connect automatically at startup
- Create file /etc/sakis3g.conf
Telenor:
APN="CUSTOM_APN" CUSTOM_APN="internet.public" APN_USER="user" APN_PASS="pass"
Netcom:
APN="CUSTOM_APN" CUSTOM_APN="vpn.netcom.com" APN_USER="user" APN_PASS="pass"
- Create file /etc/init.d/sakis3g
#! /bin/sh # /etc/init.d/foobar # The following part always gets executed. echo "This part always gets executed" # The following part carries out specific functions depending on arguments. case "$1" in start) sudo /umtskeeper/sakis3g connect motion ;; stop) sudo /umtskeeper/sakis3g disconnect echo "camera is dead" ;; *) echo "Usage: /etc/init.d/sakis3g {start|stop}" exit 1 ;; esac exit 0
- Add the following to /etc/rc.local
/etc/init.d/sakis3g start