Connected on the road

I am one of those that can work pretty much anywhere. And with the onboard modem I can connect to the internet through that GSM-card. It costs – of course – so you have to pay attention to how long you are connected.

I have therefor configured wvdial so that I can use this to connect. Mine looks like this:
[Dialer Defaults]
Username = Telenor
Password = Telenor
Stupid Mode = 1
Dial Command = ATDT
Modem = /dev/ttyUSB0
Baud = 460800
ISDN = 0

[Dialer connect]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Phone = *99***1#

[Dialer PINQ]
Init1 = AT+CPIN?

[Dialer pin]
Init1 = AT+CPIN=XXXX

[Dialer PINPUK]
Init1 = AT+CPIN=XXXXXXXX,XXXX

[Dialer PINPUK2]
Init1 = AT+CPIN=XXXXXXXX,XXXX

[Dialer signal]
Init1 = AT+CSQ
Init2 = AT+COPS?

[Dialer on]
Init1 = AT+CFUN=1

[Dialer off]
Modem = /dev/ttyUSB1
Init1 = At+CFUN=4

One explanation: This AT-command “AT+CPIN?” is used to find out if it is needed to enter a PIN-code or not (or a PUK-code).

You can leave a response, or trackback from your own site.

Leave a Reply