The simplest solution seems to be: use UMTSmon for setting the APN, traffic accounting, and connecting to the Internet; use the command “comgt 3G” resp. “comgt 2G” to switch between network types if desired. Better accounting might be possible with a ppp tool, as UMTSmon uses pppd to establish connections.
Alternatives
- Alternative: use kppp, as it’s a front-end for pppd; all in all, the whole connection process should be controllable through kppp.
- avoid using comgt / gcom, as it’s a cryptic tool; but get the necessary commands to use from it, by outputting its internal scripts 3G, 3G2G and APN using the -v option
- or, as chat is a catastrophy, better indeed use comgt instead … it’s just for talking to the modem, and has nothing to do with the actual PPP connection once it’s established
- so, CHAT scripts have to be written to set to 3G only mode (resp. 3G preferred mode) and to set the APN, and then to connect to the ISP
- use kppplogview for tracking the costs
- use kppp statistics screen, UMTSmon, pppstatus, xfce-cellmodem-plugin and / or wader for monitoring the connection
Leave a Reply