UMTS, HDSPA using HUAWEI USB thing (known to work with E169 and E220)

1's picture

This was adapted (and abridged) from an Ubuntu forum solution. It works!!!
your wvdial conf:

Init1 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init2 = AT+CGDCONT=1,"IP","yourAPN" #In case of O2 (at least in Germany), "yourAPN" is "surfo2"
Init3 = AT+CSQ
#Stupid Mode = yes
Modem Type = USB Modem
ISDN = 0
New PPPD = yes
Phone = *99#
Modem = /dev/ttyUSB0
Username = smara
Password = smara
Ask Password = 0
Dial Command = ATD
Stupid Mode = yes



make the following separate file:

(e.g.) pinunl.conf:
Modem = /dev/umts
Baud = 460800
SetVolume = 0
Dial Command = ATDT
FlowControl = NOFLOW
Init1 = ATZ
Init2 = AT+CPIN="1234"

(Partly ripped from

Run this once prior to 'wvdial' command: 'wvdial --conf=pinunl.conf. It will be necessary it repeat the pinunl.conf command each time you replug the device.

I have heard there could be trouble starting the modem related to it doubling as a storage device. I didn't experience this problem, but this might have had to do with the fact that I had the device plugged, prior to booting Linux. I suppose, if this trouble happens at all, you can avoid it by unloading USB storage module, and reinserting the stick.

Tested on Debian Lenny, 2.6.26-686-1 kernel (but success is reported on other platforms and using other ISPs as well.)

Oh yes, user/password for O2 can be whatever you want.

I am wondering what happens if wvdial dials the wrong pin for more than three times? Does this block the sim?

DISCLAIMER: I do not offer first-hand knowledge about the process, just the information that it works for me. I can't say this will work for everybody. I also can't claim it is not going to do something bad to your (or mine Smile ) device.