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

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

-------------------------------

Also,

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 http://www.clasohm.com/blog/one-entry?entry_id=56856)

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 :-) ) device.

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: UMTS, HDSPA using HUAWEI USB thing (known to work with E169

Do you really want a PIN? Is there much of a point? If you do want a pin, then the "CPIN=" bit can be crammed in with the rest of the modem stuff; if not then wvdial is forcing you to do things the hard way.

You can also disable the user PIN using standard GSM-AT commands; the "AT+CLCK" series (command lock) - I just can't remember exactly how at the moment.

Re: UMTS, HDSPA using HUAWEI USB thing (known to work with E169

Well, lets cover all (the two of the possibilities) :-). For me, disabling the pin would mean i need to replace the UMTS SIM card in my mobile phone and cancel the pin from there (yeah i also read about that CLK procedure, but i can't remember. In any case, AT commands were somehow going out of the fashion as the cool geeky thing, about the time I started making my first IT steps). Also, what if somebody steals my UMTS dongle and makes a 72 hour connection somewhere from South Africa?

CPIN makes problems for me if used for more than once per stick-in-the-port session.

Syndicate content