Forked from rjcorwin/setup-pi-for-automatic-connect-to-GSM-modem.sh
Last active
August 29, 2015 14:15
-
-
Save fr34k8/8ba895a36066b34cf0cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh [email protected] | |
apt-get install ppp | |
mkdir /root/umtskeeper | |
cd /root/umtskeeper | |
wget https://gist.github.com/rjsteinert/6273133/raw/988fa477f9f6a1c2fd5ea24dbd6001ff1b413b96/sakis3G | |
chmod +x sakis3g | |
wget "http://mintakaconciencia.net/squares/umtskeeper1/src/umtskeeper.tar.gz" | |
tar -xzvf umtskeeper.tar.gz | |
chmod +x umtskeeper | |
mkdir /home/pi/umtskeeper | |
touch /home/pi/umtskeeper/error.log | |
# add the following line to /etc/rc.local on the line before "exit 0" | |
# /root/umtskeeper/umtskeeper --sakisoperators "USBINTERFACE='0' OTHER='USBMODEM' USBMODEM='12d1:140c' SIM_PIN='1234' A PN='CUSTOM_APN' CUSTOM_APN='provider.com' APN_USER='0' APN_PASS='0'" --sakisswitches "--sudo --console" --devicename 'Huawei' --log --silent --monthstart 8 --nat 'no' --htmlpath '/home/www/' &>> /home/pi/umtskeeper/error.log & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment