Huawei E220 - Workaround for Dapper Drake

Using the Modem Huawei E220 on Dapper Drake (and from what I’ve heard 7.04) can be quite tricky. After a few searches I found a great software that will allow the USB device to be recognized as a modem, and not a SCSI CD-ROM.

oozie made a great work and has instructions on his website.

huawei.tar.bz2 is what you need to make the modem work. It comes with a few .conf files which you can use with wvdial. A great add-on is he220stat.tar.bz2 which will display useful information about the current state of your connection.

Please remove the PIN code verification from the SIM card. Place it on a cellphone and disable it.

For Portuguese service providers I was able to find a great configuration file for wvdial that will work with all of them. (available after the jump)

One important note:

When you first buy the USB 3G device it will first have to make the connection in Windows in order to get carrier information. Only after that you can start using it on GNU/Linux.

Dependencies:

For Ubuntu all the dependencies for the two pieces of software are available from the official repositories. Please refer to ozzie page and the README of each software for more information on this. *

* - libncurses5-dev is enough for the ncurses dependencies.

PT:

Existem várias referências à TMN mas funciona para Kanguru e Vodafone:

File: /etc/wvdial.conf

[Dialer 144k]
Init6 = AT+CGEQMIN=1,4,64,144,64,144
Init7 = AT+CGEQREQ=1,4,64,144,64,144

[Dialer 64k]
Init6 = AT+CGEQMIN=1,4,64,64,64,64
Init7 = AT+CGEQREQ=1,4,64,64,64,64

[Dialer 384k]
Init6 = AT+CGEQMIN=1,4,64,384,64,384
Init7 = AT+CGEQREQ=1,4,64,384,64,384

[Dialer 2gonly]
Init4 = AT+COPS=0,0,”tmn”,0

[Dialer 3gonly]
Init4 = AT+COPS=0,0,”tmn”,2

[Dialer internet]
Init5 = AT+CGDCONT=1,”IP”,”internet”;

[Dialer defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = 1
Modem Type = Analog Modem
ISDN = 0
Phone = *99***1#
Modem = /dev/ttyUSB0
Username = tmn
Dial Command = ATDT
Password = tmn
Baud = 460800

[Dialer option]
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem = /dev/ttyUSB0
Modem Type = Analog Modem
Baud = 460800

Comments

6 Responses to “Huawei E220 - Workaround for Dapper Drake”

  1. ivoks on August 30th, 2007 4:58 am
  2. Gouki on August 30th, 2007 5:11 am

    Heard about it. Doesn’t work for me.

    Also, if Ubuntu doesn’t detect the USB Device as a modem, VMCCfl doesn’t do us any good.

  3. gandalf on August 30th, 2007 9:57 am

    That’s odd what you say… the vodafonebetavine works for me perfectly.

    It’s really amazing since it’s easy to use, doesn’t require ANY console, looks way better than original Windows tool and is way more stable.

    On my WinXP, the original driver works once per session (will not connect after disconnect), occasionally hangs etc. The VodafoneBetaVine works perfect, has better edge case support (when I run out of money on my prepaid Vodafone card, Windows driver hanged and displayed “663:Lack of signal driver helper system connection”, while Linux one told me I need to recharge my card :)

    I’m using Huawei E220 for 2 months now, since I’m in Spain for holidays and I need connection. The driver/tool is the first time when some external hardware is so amazingly well supported. Kudos to the team.

  4. Gouki on August 30th, 2007 10:18 am

    Hi gandalf,

    I’ve heard allot of sucess stories from VMCCfl but it doesn’t seem to work for me. I’ve tried with several different modems (all E220) and from different providers. The only solution was the one I mentioned on the weblog post.

    Indeed a great work, even if it doesn’t work on my particular case. Kudos to the team but most importantly, to Vodafone Spain! Great initiative.

  5. ivoks on August 30th, 2007 1:42 pm

    Are you sure you’ve tried latest version? It does have udev rule and a driver for that modem.

  6. Gouki on August 30th, 2007 3:17 pm

    Pretty sure.

Leave a Reply




Site last updated: August 19, 2008 | Page last updated:  August 30, 2007