wvdial + USB modem + Ubuntu
Dom Latter
dom at latter.org
Fri Aug 7 12:09:10 CEST 2009
I've got a USB 3G modem (WM66) and a laptop running Ubuntu 9.04.
The modem works fine when I boot my Windows 2000 partition.
In linux I do these:
sudo usb_modeswitch
sudo /sbin/modprobe usbserial vendor=0x1c9e product=0x6061
sudo rmmod usb-storage
sudo wvdial hsdpa
and on the last get this output:
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT+CFUN=1
AT+CFUN=1
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","internetmas","",0,0
AT+CGDCONT=1,"IP","internetmas","",0,0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
<wait a minute>
--> Timed out while dialing. Trying again.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
ERROR
--> Invalid dial command.
--> Disconnecting at Fri Aug 7 00:42:01 2009
My wvdial.conf:
[Dialer Defaults]
Init1 = AT+CFUN=1
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
ISDN = 0
Modem = /dev/ttyUSB2
Baud = 9600
[Dialer hsdpa]
Init4 = AT+CGDCONT=1,"IP","internetmas","",0,0
Baud = 460800
Username = off
Password = off
New PPPD = yes
Phone = *99#
Dial Command = ATDT
Stupid Mode = 1
Carrier Check = no
Remote Name = "*"
I've tried lots of things, e.g. ATDT*99***1#, and without "Stupid Mode", etc.
I can also talk directly to the modem ("screen /dev/ttyUSB2"), for example:
AT+CSQ
+CSQ: 11,91
OK
ATI
Manufacturer: LONGCHEER HOLDINGS LIMITED
Model: HSDPA USB MODEM
Revision: LQA0011.1.1_M531C
IMEI: 356685023008962
+GCAP: +CGSM,+DS,+ES
I've also tried sniffing the USB port under Windows to see what AT commands are used
and then replicating these - still no joy.
More information about the CLUG
mailing list