Update README.md
This commit is contained in:
@@ -14,7 +14,7 @@ crontab -e -u root
|
|||||||
*/1 * * * * /usr/bin/python /home/pi/projects/tfm/controller/camera_capture.py
|
*/1 * * * * /usr/bin/python /home/pi/projects/tfm/controller/camera_capture.py
|
||||||
```
|
```
|
||||||
|
|
||||||
4. add following lines at the end of /etc/rc.local
|
4. add following lines at the end of /etc/rc.local before "exit 0"
|
||||||
|
|
||||||
```
|
```
|
||||||
python /home/pi/projects/tfm/controller/lockdown.py
|
python /home/pi/projects/tfm/controller/lockdown.py
|
||||||
@@ -57,6 +57,6 @@ wget "http://mintakaconciencia.net/squares/umtskeeper/src/umtskeeper.tar.gz"
|
|||||||
tar -xzvf umtskeeper.tar.gz
|
tar -xzvf umtskeeper.tar.gz
|
||||||
chmod +x sakis3g umtskeeper
|
chmod +x sakis3g umtskeeper
|
||||||
|
|
||||||
#add following line at the end of /etc/rc.local (USBMODEM='12d1:1506' is a VARIABLE visible by issuing the command: lsusb):
|
#add following line at the end of /etc/rc.local before "exit 0" (USBMODEM='12d1:1506' is a VARIABLE visible by issuing the command: lsusb):
|
||||||
sudo /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
|
sudo /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
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user