Hi there,
I've a raspberry pi connected with an E3531 Huawei dongle in VPN through the sakis3g script.
I need to lock the network selection to 2g only (I found this AT command to do so AT^SYSCFG=mode, order, band, roaming, domain). Is there any way to inject automatically this command just after the switching at reboot?
Thank you in advance
Re: Sendig AT command after switching and before pppd connection
That depends on which distribution you are using which in turn determines the version of usb_modeswitch.
The original (upstream) version distributed here uses a text-only script in the Tcl language as the dispatcher. It is very easy to call external scripts after the mode-switch was confirmed.
Distributions are applying various changes; e.g. Ubuntu has re-implemented the dispatcher in C so it's a bit harder to extend it, requiring compilation.
The original (upstream) version distributed here uses a text-only script in the Tcl language as the dispatcher. It is very easy to call external scripts after the mode-switch was confirmed.
Distributions are applying various changes; e.g. Ubuntu has re-implemented the dispatcher in C so it's a bit harder to extend it, requiring compilation.