From 58e31ddf6f57a76d898daa1fc8097876b47eeceb Mon Sep 17 00:00:00 2001 From: visocicaguy Date: Sat, 8 Oct 2016 22:15:50 +0200 Subject: [PATCH] Update README.md --- controller/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/controller/README.md b/controller/README.md index 38a0d62..5237b07 100644 --- a/controller/README.md +++ b/controller/README.md @@ -44,3 +44,19 @@ sudo apt-get install libav-tools sudo cp /usr/share/zoneinfo/Europe/Sarajevo /etc/localtime sudo ntpd -gq ``` + +9. to set 3g mode + +``` +sudo apt-get install usb-modeswitch ppp + +cd +mkdir umtskeeper +cd umtskeeper +wget "http://mintakaconciencia.net/squares/umtskeeper/src/umtskeeper.tar.gz" +tar -xzvf umtskeeper.tar.gz +chmod +x sakis3g umtskeeper + +#add following line at the end of /etc/rc.local: +/home/pi/umtskeeper/umtskeeper --sakisoperators "USBINTERFACE='0' OTHER='USBMODEM' USBMODEM='12d1:1506' SIM_PIN='0000' APN='CUSTOM_APN' CUSTOM_APN='active.bhmobile.ba' APN_USER='0' APN_PASS='0'" --sakisswitches "--sudo --console" --devicename 'Huawei' --log --silent --monthstart 1 --nat 'no' --sakismaxfails 20 --httpserver &>> /home/pi/umtskeeper/error.log +```