Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save fr34k8/8ba895a36066b34cf0cd to your computer and use it in GitHub Desktop.
Save fr34k8/8ba895a36066b34cf0cd to your computer and use it in GitHub Desktop.
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