I have a RPi 3 and a Huawei E397 usb dongle with a Ting SIM card; I'm trying to have the Pi itself connect to the internet automatically on startup.
I'm trying to follow this guide but with the APN replaced with Ting's APN "wholesale". I am running into problems:
The connection is not automatic; on startup the dongle will just continually try to register to the 4g network but won't actually connect until I log in and run
sudo ifup gprs. Even adding that command in
/etc/rc.localdoesn't seem to work.
wvdialseems to have the same limitation. How do I work around this?
Even when I do connect manually, the connection will stay connected for a couple minutes, then disconnect and reconnect for no reasons (
SIGHUP). I'm not sure if this is a power limitation; if the Pi's USB port isn't providing enough power and I'd have to buy a powered USB hub for it to work; are there other possibilities?