$ cat wvdial.conf
[Dialer ROGERS_ttyACM0]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","internet.com"
Modem Type = USB Modem
ISDN = 0
New PPPD = yes
Phone = *99***1#
Modem = /dev/ttyACM0
Username = xxxxxx
Password = xxxxxx
Baud = 460800
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
; Phone = <Target Phone Number>
ISDN = 0
; Password = <Your Password>
New PPPD = yes
; Username = <Your Login Name>
Modem = /dev/ttyACM1
Baud = 460800
issue a command
$ wvdial ROGERS_ttyACM0
Init3
--> Sending: AT+CGDCONT=1,"IP","internet.com" (bad SIM)
ERROR
Good SIM will get "CONNECT" on Init.
Init3
--> Sending: AT+CGDCONT=1,"IP","internet.com" (good SIM)
AT+CGDCONT=1,"IP","internet.com"
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
No comments:
Post a Comment