ppp0 shows on ifconfig, i have web connectivity and the ability to send emails.
i auto start my connection on boot by adding to etc/rc.local before the exit line
Code: Select all
sudo /home/pi/sakis3g connect OTHER="CUSTOM_TTY" APN="CUSTOM_APN" CUSTOM_APN="everywhere" APN_USER="eesecure" APN_PASS="secure"
i usually write in python but i dont believe i can re-initiate sakis3g from a python script? i know i can turn the device on from a python script, but could a init.d script manage both the turning on and the reconnection?
how would i go about automatically reconnecting the device when it drops off the network?