Life seems so easy when you're shooting with cannons like pppd at those little targets like cellular internet connection. Well, there are "some" (read a whole lot of them!) pitfalls...
First of all, RTFM!!!!!!!!!! After that, carefully try to figure out which provider you are really wanna choose.
I endet up trying 5 (!) different ones since I did not.
For IoT you really want cheap prepaid sims since you WILL end up disabling the PIN-function. You just load 10€ on the sim so no big loss if somebody "borrows" your little gadget.
The next thing is, that you really want your data lasting for more than 30days... watch out for those really cheap providers cashing 10€ for some (1 to 3GB) data and this only lasts for 1...3 months... I typically get around 1MB/day ... so this load-once-a-year policies are already a problem for me.... Maybe I'll go for a real m2m sim-provider in the future.
Having that said... does anyone have a recommendation?
So, after this excursus to the real-life problems, you end up dealing with pppd... a lovely tool... got some gray hair from the chat-scripts, the detach-behaviour,... :)
Now this works but you know what? All that providers do have different timing for network logon!
So you end up with a wonderfully working system, change the sim to another provider and voila, nothing's working because of some bloody race conditions...
Well, feel free to "review" my changes to my 00-Init and my 30-Connect scripts in my repository...
73
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.