Taken from StackExchange
Thanks to LangLangC
For temperature and other improvements see https://gist.github.com/cdleon/d16e7743e6f056fedbebc329333d79df
#!/usr/bin/perl -l | |
# wvdiald.pl - Auto connect USB modems on Linux | |
# Author: naveenk <[email protected]> | |
# License: MIT | |
# Make sure you have wvdial and usb-modeswitch installed. Fill the connection parameters below. | |
# Run this as root. Add "perl /path/to/wvdiald.pl" to /etc/rc.local to make this a service | |
######################### CHANGE AS NEEDED ################################ | |
# connection parameters |
Taken from StackExchange
Thanks to LangLangC
For temperature and other improvements see https://gist.github.com/cdleon/d16e7743e6f056fedbebc329333d79df