Labels

new blog 2.0

2007/06/12

HUAWEI E220 HSDPA 3G modem in Linux

UPDATE: Try PyHumod, a Python Library that supports talking to Huawei modems

Since Friday the 8th of June I'm in possession of a HUAWEI E220 modem, which is natively supported by Linux kernel and works fine in this system. It has some issues in kernel versions prior to 2.6.20. Different people apply different workarounds; one guy for instance had spread a funny "technical gossip" on the Internet (which does not deserve to be quoted here) on how to enable the USB serial port and I was truly astonished, when I saw how many people had picked up and applied this "gossip thing" in deep belief that it REALLY helps. Well, anyway I would also like to share my magic spells with you.

I run a little project, it's a package which enables HUAWEI E220 HSDPA Modem on Linux distributions with Kernel prior to 2.6.20, but not only!!! Versions with newer kernel work too, but they probably do not require my UDEV rule. However, if your kernel is newer than 2.6.19, you can always take a look at the configuration files included, which will let you connect to the Internet within 3 minutes. (No exaggeration!)
DOWNLOAD

Currently works fine with (tested on):
openSUSE 10.2
SUSE Linux 10.1
Fedora Core 6
Fedora Core 5
Ubuntu 7.04
Ubuntu 6.10
Ubuntu 6.06
Mandriva Free2007Spring

The package includes configuration files for wvdial and pppd!!!

More to come.

Feedback in any form is very welcome.

176 comments:

Anonymous said...

gerwamg opu jorytu iop ciug gbutr

thanks
Sahib

obi said...

thank you, may the force be with you

dhashen said...

Hi
Firstly thank you for this.I managed to get the 3g software interface from pmarti(myadsl) working using your tips. but now I cannot get your software(stats) to compile on feisty ubuntu 64bit

error:
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

can you help?

OOZIE said...

Hi!

Thanks for downloading.
Try this one:

sudo apt-get install build-essential

If this does not help just drop me an e-mail with config.log

xikinho said...

I'm using Debian with kernel 2.6.20-1, i need to install this before the software insterface from pmarti? With this 2 software should i be able to connect? Thanks in advance. :)

OOZIE said...

If you run on kernel 2.6.20.1 (not 2.6.20-rc1) you are able to connect without any hacks. All you need are configuration files (available HERE) and pppd (in Debian by default)

My software and this one from Pablo Marti are two independent projects. It does not matter which you install first (if any).

Oscar said...

Worked like a charm.

Thanks!

dhashen said...

Did not work-will send you email.

pedja_portugalac said...

Thank You very much oozie. This is the best and easyest way to connect. As You say, there is a lot of people claming knowing the way how to connect and I tryed many ways,some of them worked but hardely and conflictuosely. All that was B.SH. compared to your program. All I had to do after installing your program is removing pin code from my sim card, plug it to my laptop and make command: wvdial --config /etc/wvdial-huawei.conf and within seconds my Ubuntu Fasty 7.04 was connected to the world. Thak You one's again, It's because of the people like You that I'll start to learn Linux and spreed the word! All The Best - pedja_portugalac

OOZIE said...

Thank you!

dani iswara said...

it works fine on my dapper (2.6.15)..thanks Ozzie

Achim Theobald said...

Hi,

it works fine on openSUSE 10.3A5.

Some suggestions:

1. The strength additional as value (dBmi).
2. A small statistik/report in hmtl or csv for daily, weekly, monthly use and traffic.

Cu

Achim

Creative Writer said...

bro i still have problem installing this software. this is because im newbies. anyway i already d/w your software. im using backtrack and running on cd. is it possible the datacard to operate?

regards,
syakirin
m_jamesamin@yahoo.com

Anonymous said...

thanks!

Brett

Doh! said...

udev rules and script don't seem to be working on RHEL-5 unfortunately. Have tried a number of additions to the rules etc too, to no joy. Which is odd as RHEL-5 is almost the same as FC6. Kernel is 2.6.18-8.1.8.el5. When the device get's plugged in, if it helps, shows...


kernel: usb 1-1: new full speed USB device using uhci_hcd and address 8
kernel: usb 1-1: configuration #1 chosen from 1 choice
kernel: scsi4 : SCSI emulation for USB Mass Storage devices
kernel: usb 1-1: reset full speed USB device using uhci_hcd and address 8
kernel: Vendor: HUAWEI Model: Mass Storage Rev: 2.31
kernel: Type: CD-ROM ANSI SCSI revision: 02
kernel: sr0: scsi-1 drive
kernel: sr 4:0:0:0: Attached scsi generic sg0 type 5
kernel: usb 1-1: USB disconnect, address 8
kernel: usb 1-1: new full speed USB device using uhci_hcd and address 9
kernel: usb 1-1: configuration #1 chosen from 1 choice
kernel: scsi5 : SCSI emulation for USB Mass Storage devices
kernel: Vendor: HUAWEI Model: Mass Storage Rev: 2.31
kernel: Type: CD-ROM ANSI SCSI revision: 02
kernel: sr0: scsi3-mmc drive: 0x/0x caddy
kernel: sr 5:0:0:0: Attached scsi generic sg0 type 5


There's a little app available which changed the mode on the device from storage, which I shall try in the mean time. But if anyone has any thoughts...

i-Tetangga said...

Hi Oozie,
I've just follow your clues to make my Huawei E220 run on my Ubuntu 7.04

But the E220 still not work. Can you help me?
When I try wvdial, the respons only

$ wvdial IM2
--> WvDial: Internet dialer version 1.56
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
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","indosatM2"
AT+cgdcont=1,"ip","indosatM2"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Sun Aug 5 17:50:01 2007
--> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
--> --> PAP (Password Authentication Protocol) may be flaky.
--> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
--> --> CHAP (Challenge Handshake) may be flaky.
--> Pid of pppd: 6172
--> Using interface ppp0
--> Disconnecting at Sun Aug 5 17:50:04 2007
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> Auto Reconnect will be attempted in 5 seconds

Anonymous said...

Bang Ozie

I found the same problem as i-tetangga..

Pls help

Freedom

Anonymous said...

Mine:

CONNECT
--> Carrier detected. Waiting for prompt.
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Thu Aug 9 13:23:46 2007
--> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
--> --> PAP (Password Authentication Protocol) may be flaky.
--> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
--> --> CHAP (Challenge Handshake) may be flaky.
--> Pid of pppd: 12149
--> Using interface ppp0
--> pppd: �[08][06][08]
--> pppd: �[08][06][08]
--> pppd: �[08][06][08]
--> pppd: �[08][06][08]
--> pppd: �[08][06][08]
--> Disconnecting at Thu Aug 9 13:23:48 2007
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.


Pls suggest to solve this PPPD

Thanks
Freedom

OOZIE said...

You need root permissions in order to read *ap-secrets file!
Try:
sudo pppd call huawei-e220
or use google.

Stef said...

Thanks a lot,

but unfortunately if i start the script with wvdial --config /etc/wvdial-huawei.conf i get this output:

--> WvDial: Internet dialer version 1.54.0
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
ATQ0 V1 E1 S0=0 &C1 &D2
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
+CME ERROR: SIM PIN required
--> Voice line detected. Trying again.
--> Sending: ATDT*99#
--> Waiting for carrier.

I know i need to give Vodafone Spain at first start my pin, where i must set it?

Stefan

Luc said...

Hi Oozie,

Great script and great help. I tried it out on both Fedora 7 and PClinuxOS 2007. For PCLinuxOS 2007 I used the Mandriva version of the script, worked straight away.

Just what a newbie as myself needs.

Kind regards,

Luc

Anonymous said...

Excellent, everything works fine on my Mandriva 2007 Spring, except for one thing...when wvdial runs, I get this error:
pppd: speed 3600000 not supported

It connects fine after this, but I guess at a lower speed. I tried a few other values, and the highest value i can get to work without any complaints is 921600. I presume this is a PPP or kernel problem, any ideas on how to get the full speed?

Rory said...

Hi Ozzie

I'm new to unix/linux and I'm trying to get this modem working under PC-BSD.

When I plug in the modem I get two new divices in /dev, cd1 (the mass storage) and pass1 ?

Will your workaround work for BSD? what do u think?

I'm guna give it a try

thanks it looks great

KeaperGrave said...

I i'am a newbie in linux
and I've instaled kurumin 7.1 in my laptop sucessfull.
And I bought E220 to vodafone (resseler)

I'am having huge problems in compiling.

Isn't possible that you post also a compiled version in your web site.
thks

OOZIE said...

Hi guys:

Here are answers for the last three entries:
1) I ripped 3600000 from Windows configuration in hope it would work fine, however, Linux does not accept any serial speed you give it, just the "common" ones. That's why the most you can get is 921600.

2) No, it won't work directly, but you can use the ppp modem init/config files.

3) No, sorry.

pedja_portugalac said...

@ KeaperGrave
If your kernel is newer or iqual to 2.6.20, there is nothing to compil. To see what's your kernel version run in console > cat /proc/version. Just download package, extract it on a Desktop and than in console write command > cd Desktop/huawei . One's you are there write > sudo make config. And That's all. After you remove PIN from the SIM card, plug it to your machine and run in consol > sudo wvdial --config /etc/wvdial-huawei.conf. If it don't work for the first time, just reboot and try again. Remember to keep that console window always open (minimised) cause if you clause it you cut connection.

Anonymous said...

hi..thanks for your help but i did everything as you write in the site & when i use xhe220stat..its open but there is a msg ( No Data ) & the modem just give me a flash light..I guess my problem with the workaround-kit…so can you help me please?

hesham said...

hi..thanks for your help but i did everything as you write in the site & when i use xhe220stat..its open but there is a msg ( No Data ) & the modem just give me a flash light..I guess my problem with the workaround-kit…so can you help me please?

Sancho said...

Hi,

The blue light is on the modem is on but I still get no internet access. I look at my /etc/resolv.conf file that shows:



# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 10.11.12.13 # ppp temp entry
nameserver 10.11.12.14 # ppp temp entry



When I try wvdial, the respons is:

--> WvDial: Internet dialer version 1.54.0
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATE0V1&D2&C1S0=0+IFC=2,2
ATE0V1&D2&C1S0=0+IFC=2,2
OK
--> Sending: AT+CGDCONT=1,"IP","myconnection"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Tue Sep 25 16:24:42 2007
--> pid of pppd: 4350
--> Using interface ppp0
--> pppd: Connect: ppp0 <--> /dev/ttyUSB0
--> pppd: CHAP authentication succeeded
--> pppd: Could not determine remote IP address: defaulting to 10.64.64.64
--> local IP address 78.130.14.144
--> remote IP address 10.64.64.64
--> primary DNS address 10.11.12.13
--> secondary DNS address 10.11.12.14

But the E220 still not work. Can you help me?

thank you.

Anonymous said...

Thanx, your driver is working perfectly. I am a 3 network user in Ireland. (i386)

embedeo said...

Hi oozie,
Thank you for the scripts. I have tried with E220 in 3-network Ireland with OpenSuSE 10.2 and I have more than 3 hours stable connection so far.

Bayu said...

Hi Oozie,
Sorry to bothering you.
I downloaded all your recommended files and try to install it but it didn't work at all.
I'm using Ubuntu 7.04 Feisty Fawn with kernel 2.6.20.16-generic.
My hardware is laptop IBM T43 and the modem is E220.
I was also trying to install it in PC desktop and fails too.

One thing make me confuse is that the same modem and driver can be used in other laptop such as IBM R60 with no problems. with the same Ubuntu 7.04 with same kernel.

Please advice.

regards,

bayu

Anonymous said...

a sort of related comment - I had the e220 working for many months in Fedora 7 - did a yum update last weekend and suddenly pppd always dies with an exit code 16...

has anyone else seen this - or is it just me?

thanks
callum

Lori said...

Dear Oozie,
thank you for the file for which connects the E220 to the Linux.
But with the speed I am not very satisfied. The same E220 on the Windows XP platform performs as follows: download 1500 kbps, upload about 350 kbps, and the same time on the Linux Suse10.2 download: 450 kbpm, upload about 350 kbpm.
What is the reason of the difference? Could U give a hint in order to fix the problem?
(I tested with the www.speedtest.net)
Best Regards
Lori

Lori said...

sorry, of course kbps...

hopeful said...

I'm using IPCOP which is linux based firewall-router I'm using the Huawei E220 HSDPA modem at present as a subscriber to 3

Can anyone offer me any advice please regarding a driver to get this modem working in my ipcop machine. As I very much want to switch my firewall router from dial-up, to a 3g connection

thanks in advance

name said...

Nice Article.

Caroline said...

I have it working with a Huawei E270! This is the USB modem provided by Vodafone UK for their "3G broadband" (HSDPA) service. Thank you :D

I had to make a couple of changes. I am using Ubuntu Dapper but couldn't get the normal menu item System/Administration/Networking to find USBtty0.

I installed wvdial and pasted the info from wvdial-huawei.conf into wvdial.conf.

I changed the number dialed to *99***2# (which I got from the windows dialer).

By entering sudo wvdial I get a blue light and a connection :)

With the other phone number it would just time out, and I had to reboot as it was occupying the modem keeping retrying.

It didn't find the modem when I plugged it in after it had booted. I needed to boot with the device connected.

However I'm really happy as I've had to use windows xp for a week and this has been the only thing that works :)

Caroline said...

Oh I got the same error as the August 9, 2007 7:25 AM anonymous poster when I was using the wrong phone number.

I suspect the phone number depends on your provider. I've no idea if there is a list anywhere - I found mine through windows.

Buy said...

Sorry for my bed English... It's a EXELENT JOB!!!!! Working very good! Tested on Kubuntu 7.10 Gusty Gibbon (kernel 2.6.22-14 generic) - Exelent! Thank you very mach!

Ryan said...

Hi

Thanks for the Huawei download - got it to install on suse 10.0 after copying the udev rules you (brilliantly) provided, and after creating a dir /lib/udev and editing the /etc/udev/rules.d/99-huawei.rules IMPORT line to include /lib/udev/ before huawei-mobile.sh... I'm no expert but this seemed to be necessary for it to find the file.

Only slight problem is that because it's a modem and I'm using kppp, it seems to think the top speed is 52kbs... any ideas on how to up this?

Thanks so much for the download - it's great to get mobile broadband on linux

p.s. stats work great too

The Morningstar said...

Thanks for your page on the modem, it works well with the Asus Eee PC 701 4G. I plugged mine in, went through the connection wizard and had no problems at all.

Anonymous said...

sorry i'm not able to follow your instructions.
$tar xjfvhuawei.tar.bz2
always command not found
i'm bloody bloody beginner in suse!

Nigel said...

Got it working on CentOS5, thanks....

I'm now trying to get auto-dial working so when my application tries to access the net the line is brought up without me having to run wvdial manually. Can someone help me?

Thanks in advance...

Nige

Nigel said...

To answer my previous post, I found the link below that sorted me out.

http://www.davidpashley.com/articles/wvdial-pppd-dod.html

N.

weiping SONG said...

Hi, How can I know if my E220 work well after I installed it in open suse 10.2? There is no command pon to start pppd in open suse 10.2

Thanks
weiping

Nigel said...

Hi Weiping,

In answer to your question, I don't have pon or poff either in Centos 5. I start mine with pppd call dod where dod is my Dial On Demand file from the link above in my last post.

You should also see pppd running when doing a

ps -ef | grep ppp

Does that answer your question?

Nige.

Anonymous said...

Thanks,
its work great with debian etch (2.6.18).
You can find a current config files
(for Huawei E220 in Germany) on
http://linux.frankenberger.at/Huawei_E220.html

jordo said...

ta v much
worked first time on my laptop using pclos

when u come to my neck of the woods i will make u a nice cup of tea or something

thanks again
jordo

Anonymous said...

hi i have a Eee and three mobile broadband but no idea how to get it to work on my linux system. can anyone help ?

thanks Lewt25@hotmail.co.uk

Anonymous said...

Firstly, thank you for the solution.
In my case, I'm using suse linux 10.3 with kernel 2.6.22.5-31 -so the e220 should have been recognized correctly - but it was'nt. The cure was to apply the workaround (huawei.tar.bz2) and re-booting (not re-plugging!) twice. After the first re-boot the device was recognized correctly and could be configured with KInternet. The second re-boot was necessary to convince KInternet that it had a new modem. And they lived happy ever after...

Jan said...

Anyone tried this solution on a 2.6.11 kernel?
I'm kind of bound to this kernel version for an embedded device.

Thanks

radrotor said...

Total new to linux. Sick of windows virus stuff. Need dummy instructions to get my huawei 220 to work. Have PClinuxos2007, which recognises the cd portion of huawei(creates a desktop link), but I don't know how to install your patch, or where to save the huawei.tar file.
When I do a run command, doesnt recognise the file.
sorry never used linux ever, but keen
Bruce

Anonymous said...

It worked beautifully!!

Got a Huawei E220 from the 3 network in Ireland to work well on the (very impressive) ASUS Eee PC 4G
Kernel: Linux 2.6.21.4

I ran the following at a command line as root: (File Manager > tools > konsole and the su - root):

/sbin/modprobe usbserial vendor=0x12d1 product=0x1003
/usr/bin/mknod /dev/ttyUSB0 c 188 0
/usr/bin/mknod /dev/ttyUSB1 c 188 1
/usr/bin/mknod /dev/ttyUSB2 c 188 2
/usr/bin/ln -sf /dev/ttyUSB0 /dev/modem

Then from the Network icon I created a new connection > mobile 3G... The settings for the 3 network didn't show up for Ireland but this is what worked:

APN: 3ireland.ie
Username: (nothing in this field)
Password: (nothing in this field)
Confirm Password: (nothing in this field)

Many thanks,

Marty P

naxir said...

Hi there,

it's any system can support to send sms automatically from usb modem.
- for sms alert system help..tq

petar.peshev said...

Thank you, oozie.
It works for me on Knoppix with kernel 2.6.17 and Huawei E220.
I connect via KPPP. My provider is three.co.uk. I suppose many people in the UK are now using it.
The only special thing about connecting was that I had to put spaces as login and password, as the connection is PAP/CHAP and requires those to be provided, even though the internet provider does not require them.

Anonymous said...

Hey thanks for this has helped me heaps,
But there is always a but i am running smoothwall and am trying to intergrate this any info would be greatley appricated

Anonymous said...

hi ozee!

how is it goin´ on? i just wanted to thank you for your c programm for the e220. works perfectly - well done. i use debian etch and went to drei.at not considering that these folks do not support linux...made up a contract with them for one year. without your help i would sit on 300 bucks and no internet-access crying in my flat (:-. so thanks again for that, man !
regards bubo.ignauus@yahoo.de

Stellan said...

Good news.
I got the HUWAEI working with PCLOS (latest PCLinuxOS) Gnome 2.21.2 I write about it on http://www.kinberg.net/stellan/post/2008/01/07/huawei-installation-in-pclinux-os-gnome-2212step-1i-found-this-installation-tip-in-swedish-for-3httpubuntu-bossiemanblogspotcomsearchlabelhuaweipclinux-os-control-center/
But of course, as said in my post some steps may be superfluous and the steps may be revised. But I don't want to loose time at the moment.

Anonymous said...

Hi,
We wish to use this device to our embedded linux.
Assume it's similiar to RH9(kernel 2.4.x), Is that possible ?

Tks!
kwlee

Anonymous said...

Hi,

I am new to Linux. Currently, using Xubuntu.

How do I ¨make info¨?

Thanks

Anonymous said...

Hi,

I am using the latest Xubuntu and is newbie to Linux. I tried to follow as closely as I can with the setup but come to no end. Appreciate if you can assist me to setup the modem.

Here is the info:

WvDial: WvDial: Internet dialer version 1.56
WvModem: Cannot get information for serial port.
WvDial: Initializing modem.
WvDial: Sending: ATZ
WvDial: Sending: ATQ0
WvDial: Re-Sending: ATZ
WvDial: Modem not responding.

Here is my wvdial.conf:
[Dialer singnet]

Phone = *99***1#
Username =
Password =
Stupid Mode = 1
Dial Command = ATDT

Modem = /dev/ttyUSB0
Baud = 460800
Init2 = ATZ
Init3 = ATE0V1&D2&C1S0=0+IFC=2,2
INIT5 = AT+CGDCONT=1,"IP","internet"
ISDN = 0
Modem Type = Analog Modem


Thanks,

Lawrence

bivan74 said...

Works perfectly!!

But if you want to download at 2Mb/s
(210kB/s) you must go to this page too
http://www.openlinux.eu/index2.php?option=com_content&do_pdf=1&id=147

Bye Ivan.

Flavio Medeiros said...

It works with E226 model ?

userx said...

hi

I have a huawei e220 and I get the error: A modem hung up code exit 16,

The wvdial command is executed with root privilege.

Can someone help me

Thanks

Anonymous said...

What to do with the udev files in case of SuSE 10.0 ?

Craig said...

hi
i am new to linux and have hspda usb broadband by vodafone (uk network),they referred me to this link as they do not offer any official support for linux (i am on eeepc 7.1)

I have read your page and am totally confused as to what to do next (if anything!)..

all ideas / suggestions welcome

thanks
ben

Anonymous said...

I have the same problem as i-Tetangga and userx.

A modem hung up the phone (exit code = 16)

Nitrowing

Abdellah MOUHOU said...

I tried several ways without succes, it gave me the same error (a modem hung up exit code=16) :(, can anyone help me on this ?

Thanks

Piongain said...

Hi,

thanks for your great work. I succeeded in activating a Huawei E800 on Debian Etch (2.6.18 Kernel).

However, both ttyUSB* devices only appear when the notebook reboots. After plugging the E800 into a running system, I only get ttyUSB0; no, I don't have the option module loaded.

Cheers

Piongain

Alex said...

Mandriva 2008/KDE 3.5.7; KDE wants to mount the modem as a USB drive.

Wvdial, drakconnect both do nothing.

Alex said...

oh, and for some bizarre reason I'm not allowed to read the wvdial-huawei.conf

Fredrik Wartenberg said...

Hi,
I am trying to use your workaround for the HUAWEI e200 on Madriva Spring 2007 running an a Linutop Box, where Mandriva runs from an USB stick. Somehow I can't get it working, installation seems to be OK, even the huawei-mobile script will be exceuted by udev, but no ttyUSB* show up. I have attached a log, where I have documented my efforts. I would be grateful if you could have a look at it.
best regards,

Fredik Wartenberg

log:
http://www.wartenberg.se/huawei_debug.txt

Anonymous said...

Hi oozie. I tried to install your huaweiprogram, but in the terminal, it is stated that the command "udevcontrol" is not found. I wonder what udevcontrol is and how I can make the installation find it.

Pepijn said...

Great stuff! Thanks.
Maybe you could add modes 3 and 4 as well?
They are GPRS and EDGE.
See: http://mybroadband.co.za/vb/showpost.php?p=715513&postcount=550

case '2': if (ncrs) wprintw(mode,"\rMode: GPRS ");
printf("%s",NORMAL);
break;
case '3': if (ncrs) wprintw(mode,"\rMode: EDGE ");
printf("%s",NORMAL);
break;

I forced my modem into grps/edge mode. Got the green light and the program reported grps! :)

Valter said...

Hi Oozie!

I've been trying to install Huawei E220 in Ubuntu 7.10, but after installed successfully the wvdial, and restarted the laptop, when I run this code in the terminal:

$ sudo wvdial --config /etc/wvdial-huawei.conf

It returns me the following message:

...
WvDial: Disconnecting at Thu Mar 6 17:42:37 2008
WvDial: The PPP daemon has died: A modem hung up the phone (exit code = 16)
WvDial: man pppd explains pppd error codes in more detail.
WvDial: Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
WvDial: Auto Reconnect will be attempted in 5 seconds
...

Do you (or anyone) have some kind of solution to this problem?

Thanks in advice, Valter

Anonymous said...

dear,
I m totally new ubuntu user. I got ur files. But dont know how to install

Thanx!

jeamy said...

hello,
thanks for this soft.
works on my openSuSE 10.3
kernel 2.6.22.17-0.1
Intel(R) Core(TM)2 Duo CPU
T5450 @ 1.66GHz

provider: 3 austria (drei.at).
your stats do it well, too (he220stat-0x03)

John McCormack said...

Thank so much to Oozie and others that share their expertise with everyone. However, I have tried the workarounds as described with Mandriva 2007 on a FujitsuSiemens Laptop (Amilo D) although I am using an HUAWEI E270. When I get as far as trying to select ttyUSB0 I only see options for ttys.. and one dev/modem.
Any idea why I don't have ttyusb0?

Eaby said...

I have tried your set up to bring up e220 card. I am using the wvdial configuration file as

Modem = /dev/ttyUSB0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 = AT+CPIN="0000"
Area Code =
Phone = *99#
Username = *
Password = *
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds = 0
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1


But i am getting the following problem

--> WvDial: Internet dialer version 1.54.0
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
ATQ0 V1 E1 S0=0 &C1 &D2
OK
--> Sending: AT+CPIN="0000"
AT+CPIN="0000"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Tue Mar 18 14:29:55 2008
--> pid of pppd: 5235
--> Using interface ppp0
--> Disconnecting at Tue Mar 18 14:30:31 2008
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> Auto Reconnect will be attempted in 5 seconds
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
-> Auto Reconnect will be attempted in 5 seconds
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
ATQ0 V1 E1 S0=0 &C1 &D2
OK
--> Sending: AT+CPIN="0000"
AT+CPIN="0000"
+CME ERROR: operation not allowed
--> Bad init string.

This keeps on repeating for two three time. I have a sim lock.. so using the settings in Init3. Do you have any idea what could be the problem. Any help would be highly appreciated.

-eaby

ricardo said...

Hi Oozie!

I use Fedora 3 (kernel 2.6.9-1.667) and install dont work:

[root@localhost huawei]# make install_fedora
Installing sample configuration for Linux

cp conf/wvdial-huawei.conf /etc/
mkdir -p /etc/chatscripts/
cp conf/huawei-e220.chat /etc/chatscripts/
cp conf/huawei-e220 /etc/ppp/peers/
cp files/99-huawei.rules /etc/udev/rules.d/
cp files/huawei-mobile.sh /lib/udev/
cp: cannot create regular file `/lib/udev/huawei-mobile.sh': No such file or directory
make: *** [generic_install] Error 1
[root@localhost huawei]#


Do you have any ideia to solve this problem?

Thanks!

Ricardo Vendramini

paul.mansfield said...

thanks for this very useful information, I now have a huawei E712 (vodafone) working. I am using the following files, it's the fastest usb serial I can make work.

# peers/vodafone-usb
/dev/ttyUSB0
921600
noipdefault
usepeerdns
defaultroute
persist
noauth
user Anyname
password Anypassword
connect '/usr/sbin/chat -v -f /etc/ppp/chat-vodafone'


# chat-vodafone
TIMEOUT 5
ECHO ON
ABORT '\nBUSY\r'
ABORT '\nERROR\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nRINGING\r\n\r\nRINGING\r'
REPORT CONNECT
TIMEOUT 60
SAY 'Sending AT\r\n'
'' '\r\r'
'' AT
SAY 'Sending ATZ\r\n'
OK ATZ
SAY 'Requesting device information\r\n'
OK ATI
SAY 'Requesting reset to factory defaults\r\n'
OK 'AT&F'
SAY 'Requesting extended service reporting\r\n'
OK 'AT+CR=1'
SAY 'Requesting extended result codes\r\n'
OK 'AT+CRC=1'
SAY 'Requesting DCE results, textual answers, echo on, auto answer off, DCD normal, DTR normal\r\n'
OK 'ATQ0V1E1S0=0&C1&D2'
SAY 'Checking if PIN needed\r\n'
OK 'AT+CPIN?'
SAY 'Requesting operator ID\r\n'
OK 'AT+COPS?'
SAY 'Requesting signal strength\r\n'
OK 'AT+CSQ'
SAY 'Specifying vodafone APN\r\n'
OK 'AT+CGDCONT=1,"IP","internet"'
SAY 'Changing timeout to 30\r\n'
TIMEOUT 30
SAY 'Requesting connection\r\n'
OK 'ATD*99***1#'

paul.mansfield said...

@bivan74 said...
want to download at 2Mb/s
http://www.openlinux.eu/index2.php?option=com_content&do_pdf=1&id=147

I tried that patch on kernel 2.6.24.2 but it simply broke my usb serial driver, so I am stuck with usb serial speed 921600

leonembo said...

Thanks for the great support!
On Mandriva 2007.1 works straight. Nice!
On Mdv 2008 was (anyway)needed. Sometimes it is also needed to re-setup pppd and recently I can't find the devices any more (no ttyUSB0). Sounds strange! The stats works very well on both.
Thanks again mate!
nembo

AckNack said...

Hi All!
I'm having troubles in suse 10.3 it doesn't dns ip! How Can i solve this situation?

Anonymous said...

It is doing a good job in my Ubuntu 8.04 development version (Hardy Heron). Thanks goes to the author.

Anonymous said...

This is my second day ever using a linux OS. I have purchased a 3 Mobile Australia service and used your download. It worked first time. Thank you very much.

Regards
Paul

Anonymous said...

Hi

I am using puppy linux 3.00 any help for us folk in the UK.
Basically, I have a 3 and vodaphone dongle and I hope at lease one will work so any help apriciated.

olujoe@hotmail.com
Regards
olu

Anonymous said...

Hi everyone.

I was wondering what are the chances of making this work under 2.4.35. I have a Linksys wireless router with USB port (WRT350N) (8MB flash, 32 MB RAM) which I would *LOVE* to use as a wifi router of my HSDPA internet connection. What do you think are the chances of getting that to work? I'm using DD-WRT (www.dd-wrt.com) on my WRT350N.
HSDPA modems around here are HUAWEI E220 mostly.

Lennart said...

Hi !

Trying to do a make, I am really a Linux newbie ---->>>>
[root@localhost huawei]# make install_fedora
Installing sample configuration for Linux

cp conf/wvdial-huawei.conf /etc/
mkdir -p /etc/chatscripts/
cp conf/huawei-e220.chat /etc/chatscripts/
cp conf/huawei-e220 /etc/ppp/peers/
cp files/99-huawei.rules /etc/udev/rules.d/
cp files/huawei-mobile.sh /lib/udev/
udevcontrol reload_rules
make: udevcontrol: Kommandot hittades inte
make: *** [generic_install] Fel 127

In English : udevcontrol Command not found !?
Error 127 (Fel 127)
Best Regards from Sweden,
Lennart

Keith W said...

Some systems dont have udevcontrol.
The good news is, rebooting your system instead of running the udevcontrol command will work fine.

Janiporo said...

Step by step instructions on installing Huawei to DSL (laptop)?
There is lots of stuff missing, and as newbie, can't find them all. :O

Good use for old laptops, as car (or boat) internet-computers <3

Thanks

CF said...

Hi,
I ran xhe220stat on Ubuntu 7.10, but I got the response:
Warning: Tried to connect to session manager, Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
And I only saw "Huawei E220 statistics [q]uit" on the xwindow, there was no signal level shown.
Anyone knows what is the problem?
Thank you!

olu said...

hi

PLEASE PLEASE PLEASE can you include a fix for puppy linux despirate puppyer

Anonymous said...

Thanks. The patch worked fine in Ubuntu 7.10 64-bit. However, the speed monitor not. Best Regards, Tom, Helsinki, Finland

sim said...

hi
Checking uname -a this is what i get:
Linux localhost 2.6.22.19-laptop-2mdv #1 SMP Mon May 5 21:03:49 EDT 2008 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz GNU/Linux

How do i install the modem on this? i am new to linux. PLEASE ASSIST.

Emppu said...

My problem is that my firefox browser doesn´t work. I get the modem on and it goes to that position where you see blue light on hole time but i can not get web browser up or i can not do anything with that. It just say the page you are looking for is unattainable.

Please help me an d say what I do wrong?

egh said...

On Mandriva 2008.1, kernel 2.6.24.5
got this far:
[root@localhost huawei]# make generic_install
cp files/99-huawei.rules /etc/udev/rules.d/
cp files/huawei-mobile.sh /lib/udev/
cp: cannot create regular file `/lib/udev/': Is a directory
make: *** [generic_install] Error 1
[root@localhost huawei]#

Any suggestions?
TIA
Edward
Registered Linux User No.224802

Fredrik said...

All went OK when installing on my Aspire One, until the last line:
# make info
where I got:
bash: make: command not found

Sorry, but I am a newbi to Linux...

Anonymous said...

It works realy fine with the Debian/etch kernel 2.6.18 and a patched usbserial module.
Thanks

Hugh Collins said...

Hi oozie, I tried all this stuff on Fedora Core 5, but the usbserial would not talk to my HUAWEI modem (Vendor=12d1 ProdID=1001).
Tried it on an out-of-the box Fedora Core 7 (no patches no fixes) and it worked after I created the /dev/ttyUSB0 device.

Anonymous said...

hi oozie!i downloaded your progam to the desktop and i`m using the ubuntu 7.10 and kernel 2.6.22-14-generic...the model that i`m using its msdpa usb modem model e220 in ireland..the modem dont show any ligths!!i`m tottaly new with this ubuntu or any..so if you can explain to me step by step what to do where to go and how..so i can connect to the net for my ubuntu..THANKS A LOT.(NORCIS)

Rini said...

Is this working also with a Linpus lite V1.0.0.3E.
Laptop Aspire One ZG5 , minilaptop?

Gr Rini

Laurynas said...

Hi!

thanks a lot for a nice huawei e220 package! I was surprised how easy it was to install it. It worked at once on Ubuntu Hardy Server edition with Bite Vodafone (Lithuania).

Nice, clean code. Dzenkuje bardzo ;)

Panuturi said...

After download the file & before I type the command, where should i put the file.
FYI I use linux Ubuntu 8.04

thank you

scsibr said...

Thank you, it works very well.
But, as I tested, it happened, that the modem was not usable any more under linux. It didn't go to a steady blue light when it should be connected and the IP-addresses on the terminal did not appear during "pppd call huawei-e220". However the blue light was still blinking. For that we needed something like a reset switch. In this case I didn't find a solution that helped me out to get again a usable modem. So, I connected the modem to and worked on a Windows system. This helped to get a usable modem again. I believe, there could be a solution in
http://ubuntuforums.org/showthread.php?t=302464 for linux.

Anonymous said...

Using Gutsy Gibbon the device appears on the desktop after boot. How do I get it to work?

Timothy said...

Works perfectly! Thanks.

M. Umar Saleh said...

I'm using ubuntu hardy 8.04 and try to follow the instruction but the can't recognice the E220.

Anonymous said...

I've already managed to get this device to work, but with the betavine drivers in a Ubuntu 8.04. I have not yet tryed your solution with the original cable but i belive it will work.
For everyone who is having trouble connecting to the internet with this device please try and do it with the original short single usb cable. I've lost a week and 2 fresh installs just to stumble on this "solution".
Thanks for the help.

Anonymous said...

I get this problem when i try to install on my fedora 9.0, it happens after I write make install_fedora

[root@slottet huawei]# make install_fedora
make: Warning: File `Makefile' has modification time 5.1e+07 s in the future
Installing sample configuration for Linux

cp conf/wvdial-huawei.conf /etc/
mkdir -p /etc/chatscripts/
cp conf/huawei-e220.chat /etc/chatscripts/
cp conf/huawei-e220 /etc/ppp/peers/
cp files/99-huawei.rules /etc/udev/rules.d/
cp files/huawei-mobile.sh /lib/udev/
udevcontrol reload_rules
make: udevcontrol: Command not found
make: *** [generic_install] Error 127

mintymiller said...

Hi there. I'm trying out your work around on an Acer Aspire One running Linpus Linux Lite. I can get as far as the root prompt in Terminal but the 'make info' command isn't recognised. Any idea what equivalent command I can try? Thanks for your time

Anonymous said...

I use Ubuntu(Hardy) with kernel 2.6.24-16 and your instructions helped me out Thank you

Anonymous said...

Works great! Used it on Red Hat Enterprise 5 (using make install_fedora)

WEP Badger said...

Hi,

I'm actually using a usb stick model, the Huawei E160G, and had no problems getting it to function as a modem under linux (backtrack three, Linux bt 2.6.21.5), it was simple once I found the right wvdial.conf. However, I have installed an 8gig MicroSDHC card in the slot on the device, and although windows recognises it straight away as a USB mass storage device, linux doesn't seem to want to know. Any clues ?

Josh said...

Hello, thanks alot for the post on the huawei modem. I am using open suse 10.3 and would really love to have my modem working. I tried the steps in your article but the OS still doesnt read the device. Please help.

joshuaocero@yahoo.com

Anonymous said...

Thanks a lot. It worked great for Ubuntu 7.04

Anonymous said...

Works like a charm!

Thank you.

Stephen Evans

Janaka Priyadarshana said...
This comment has been removed by the author.
Janaka Priyadarshana said...

Hi all,

I was able to make this success after really hard mission. So I want to share that information with you.

I am using Fedora 6 and a HUAWEI E220 3G HSDPA USB MODEM.
The way I followed is as follow

1) Install the HUAWEI E220 package with “make install_fedora”
2) Copied the content of "/etc/wvdial-huawei.conf" into "etc/wvdial.conf" (if you needs to change the value of the “Phone” do it. In may case it was not necessary)
3) Dial the modem by running the "wvdial" with the root permissions (It will give you the primary and secondary DNS addresses as
--> primary DNS address 125.214.169.107
--> pppd: ame
--> secondary DNS address 202.69.192.9 )
4) Go to "System -> Administration -> Network" and set the primary and secondary DNS addresses there

So now you should be able to connect.

Anonymous said...

Hi Oozie!

I am using mepis 7 with "2.6.22-1-mepis-smp" kernel but I have a strange problem.

My huawei works ONLY when its attached while when booting..

If I remove it and plug back in, it doesnt identify as ttyUSB0.

I tried you fix and even that doesnt work..

Any ideas how to fix this problem..
I really like get it work when plugged in.

Thanks.

complain said...

I bought this huawei E220 usb modem on 2/11/08 at a karnival. Sadly, this modem cannot be used. It failed to read the sim card. I'm so frustrated that I cant detect the shop that sell it. The person gave me the incomplete phone number thus, I'm unable to contact him. I hope Huawei can hire the more responsible worker and only sell the good product...

Anonymous said...

my modem won't connect to internet, error code 612 comes up do you know what this means? thanks

Anonymous said...

Go to www.betavine.net/bvportal/web/linux_drivers for the Vodafone Mobile Connect Card Software for Linux which is a software suite for 3G datacards (works on multiple distributions).

This works like a charm on my Ubuntu 8.04 and 8.10 installations using the Huawei E220 USB Modem - link provided in main-menu which makes it super easy. Also allows user to send SMS messages using the GUI.

Ameen said...

just i want to thanks every body for this help

cokotracy said...

Hello All,

can someone had configured HUAWEI usb GPRS modem on FreeBSD or PCBSD, if yes, just let us know how to cook it.

cheers,

finger said...

Worked immediately:
Orange Madagascar EDGE Network
Ubuntu 8.10
2.6.27-7 Kernel
Maurice

Adam S. said...

Hi,
I got problems with running HW E270 modem in the newest Ubuntu 8.10 desktop edition. I'll appreciate any comments/advices.

Regards,
Adam S.

Luca said...

Hi
I'm using Xandros (eeepc).
I've tried to install your package with your procedure

$ tar xjvf huawei.tar.bz2
$ cd huawei
$ su
# make info

but don't work.
The results of this is:
"bash: make: command not found"

Where I wrong?

Francesco said...

Hi, in case it could be helpful for others, I got it work with low signal strength, 9db, substituting AT&D2 with AT&D1.

The connection is always stable now!

Anonymous said...

Hello,
I have been using a E220 for a couple of years now. I previously used it via kinternet on open-suse 10.3 and now use it on open-suse 11.0 via wvdial. At present, it seems that every time I connect, I get the green light for a couple of seconds then it goes blue forever. When I re-connect, all is fine. Any suggestions (for connecting good 1st time)?

Ben.

Anonymous said...

Hello,
I have been using a E220 for a couple of years now. I previously used it via kinternet on open-suse 10.3 and now use it on open-suse 11.0 via wvdial. At present, it seems that every time I connect, I get the green light for a couple of seconds then it goes blue forever. When I re-connect, all is fine. Any suggestions (for connecting good 1st time)?

Ben.

Benek said...

Hi
Wery thanks

TSHIMANGA Minkoka said...

It does not work on RHEL 5.3 kernel 2.6.18-128.el5
The udev rule 99-huawei.rules is installed in /etc/udev/rules.d/ but when I connect the modem I can't see any /dev/ttyUSB*
Tailing /var/log/messages gives:

Mar 2 16:37:06 vastest kernel: ohci_hcd 0000:00:13.0: wakeup
Mar 2 16:37:06 vastest kernel: usb 2-3: new full speed USB device using ohci_hcd and address 9
Mar 2 16:37:06 vastest kernel: usb 2-3: configuration #1 chosen from 1 choice
Mar 2 16:37:06 vastest kernel: scsi15 : SCSI emulation for USB Mass Storage devices
Mar 2 16:37:11 vastest kernel: Vendor: HUAWEI Model: Mass Storage Rev: 2.31
Mar 2 16:37:11 vastest kernel: Type: CD-ROM ANSI SCSI revision: 02
Mar 2 16:37:11 vastest kernel: sr0: scsi-1 drive
Mar 2 16:37:11 vastest kernel: sr 15:0:0:0: Attached scsi generic sg1 type 5


Thanks for helping.

Slacker said...

Brilliant! Thank you so much

rogerggbr said...

Thanks OOZIE for this great utility. Still necessary in 2009 as SLED 10 running on a brand new HP 2133 Mini-Note has an old kernel. Monitor utility can't be easily installed though, SLED 10 does not come with a compiler as standard.
Rogerg - UK
using three.co.uk

lion said...

hi there i'm really love u'r product. but i can't find headset to use phone with huawei. i think that's not standard in & out put so pls. try 2 fix it

Elmar said...

Hi

I got it working on CentOS 5 in Brazil. Perhaps this works for RHEL5 also.

My huawei-mobile.sh is:
#!/bin/bash
#
# (c)opyleft 2007 by 00ZIE
#
# This software gives you no warranty whatsoever, you can copy and modify
# it under terms and conditions of GPLv2 or later available at
#
# http://www.gnu.org/licences/gpl.txt
#
# This is the executable part of the workaround udev-rule for
# HUAWEI 220 modem on kernels prior to 2.6.20
#
# The latest version of this script and many more can be found there:
# http://oozie.fm.interia.pl/pro/huawei-e220/
#
####

export LOG=/var/log/huawei.log
#
# If you experiece a wierd problem and want to contribute
# please change the value of $LOG variable to /tmp/huawei.log
# or so and send the file to me. Thanks!
#

(
/bin/date
/sbin/modprobe usbserial vendor=0x12d1 product=0x1003
sleep 2
echo "modeswitch starting 1st time"
/usr/sbin/usb_modeswitch
echo "modeswitch done 1st time"
/sbin/lsusb
ls /dev/ttyUSB?
if [ ! -f /dev/ttyUSB0 ]; then
sleep 2
echo "modeswitch starting 2nd time"
/usr/sbin/usb_modeswitch
echo "modeswitch done 2nd time"
/sbin/lsusb
ls /dev/ttyUSB?
fi
sleep 1
chmod o+r /dev/ttyUSB1
echo "Wvdial starting in background"
( /usr/bin/wvdial 3g ) &
echo "Wvdial started"
sleep 10
dns=`cut -d " " -f 2 /etc/ppp/resolv.conf | cut -d. -f 1 | head -1`
echo $dns
if test $dns -eq 10; then
rm -f /etc/resolv.conf
ln -s /etc/ppp/resolv.3g1 /etc/resolv.conf
echo "set 1st set of stored Claro DNS"
else
rm -f /etc/resolv.conf
ln -s /etc/ppp/resolv.conf /etc/resolv.conf
echo "set DNS sent from provider"
fi
dns=`host www.altera.com | head -1 | cut -d" " -f 4`
echo $dns
if test $dns = "out;"; then
rm -f /etc/resolv.conf
ln -s /etc/ppp/resolv.open /etc/resolv.conf
echo "set openDNS"
fi
dns=`host www.altera.com | head -1 | cut -d" " -f 4`
echo $dns
if test $dns = "out;"; then
rm -f /etc/resolv.conf
ln -s /etc/ppp/resolv.3g2 /etc/resolv.conf
echo "set 2nd set of stored Claro DNS"
fi
) 2>&1 >> $LOG

The DNS servers I use are:
::::::::::::::
resolv.3g1
::::::::::::::
nameserver 208.169.118.22
nameserver 208.169.117.22
nameserver 200.169.117.14
::::::::::::::
resolv.3g2
::::::::::::::
nameserver 200.169.117.14
nameserver 200.255.121.39
nameserver 208.169.119.22
::::::::::::::
resolv.open
::::::::::::::
nameserver 208.67.220.220
nameserver 208.67.222.222
nameserver 208.67.222.220
# nameserver 208.67.220.222

usb_modeswitch is from www.draisberghof.de/usb_modeswitch
in usb_modeswitch.conf I use
HuaweiMode=1

Anonymous said...

Well Done

Kahenya said...

I recently got a new HP machine. Its on opensuse 11.0. I installed the huawei sofware provided. Previosuly on opensuse 11.0, it worked just fine, this time round however, modem connects but does not work. The connection rate is 1kb/s. I checked the DNS file in /etc and that does not seem to have an issue. Anything I am missing here?

Kahenya

A. Gurcan Ozturk said...

for Ubuntu 9.04 you should use "udevadm control --reload_rules" to reloading udev rules. udevcontrol will not work.

Opensource said...

Anyone tried it on Opensolaris 0609?

Opensource said...

Anyone tried this on opensolaris build 111?

Anonymous said...

Hi,
does anybody know how to run the e220 modul on puppy linux (ebox 2300sx) ????

Thanx

Anonymous said...

Hi...
I´m trying to use this modem with an embedded linux. So, all modules are pre-loaded, and when I try to reload usbserial using modprobe command, it returns an error because of it. Is there another way to do this?

Thanks

Boris said...

Hi,
I'm trying to connect my Huawei e220 on Ebox 2300sx. When I type:

#rmmod usb-storage
#rmmod usbserial
#modprobe usbserial vendor=0x12d1product=0x1003

then when I type #dmesg
my linux detects just one device

#/dev/usb/ttyUSB0

and not as required 3 devices:


#/dev/usb/ttyUSB0
#/dev/usb/ttyUSB1
#/dev/usb/ttyUSB2

Because of this my wvdialer does not see the modem and I can not connect to the internet.

Does anybody know how to solve this???

thanx

Anonymous said...

thanks i'll try it

thepul said...

really helpful.
works like a charm on PCLinuxOS 2009

Thank you so much

Johann Alejandro said...

Gracias por el aporte, lo necesitaba en verdad.

jokan said...

Dear Mr Ozzie,

After I heard that the linux is much more secure than windows, I have decided to have ubuntu 7. There is a small issue I have been facing while trying to istall the huawei.tar.bz2 package. I have come up to the comand `su` as u mentioned on the website (blue highlighted). whenever I write `su` it asks for the password and I enter the password which I use it to log in. it says su: Authentication failure

Can you please help me with this?

Ana Letícia said...

Hi,
I´m trying to use E220 3G modem on a custom board with embedded linux (kernel version is 2.6.14) but it doens't work. The fisrt error is that usbserial module cannot be loaded. I believe that this happens because this module is already loaded. Am I correct? Could you give me any tip about this?

Anonymous said...

Hi ,
can it work on kernel 2.6.14?

Thanks,
james

bevhost said...

I didn't have an E220, so I tried my Nokia 6120 Classic Phone as a Modem, just like I do on Windows.
The modem port /dev/ttyACM0 appeared when I plugged the phone in ad so I used that. Works great. I'm with three Australia.

Sean said...

Excellent! Thanks.

Worked perfectly. It's good to know there are people out there with helpful solutions!


Sean.

rascalangel said...

OOZIE thanks a ton mate.
Just installed the same on Karmic Koala.Just need to change "udevcontrol reload_rules" to "udevadm control --reload-rules" and viola.

Anonymous said...

great !! exactly what I was looking for ... my web'n'walk stick from T-Online (f12, 2.6.31.5, ID 12d1:1003)
Many thanks !!

kennytm said...

im using windows 7 home basi which was preintalled in acer aspire 5332. its incompatible with HUAWEI MOBILE CONNECT ,Model:E160 HSDPA 3G dont what. whats my solution

Carlos said...

I have a suse linux 11.2 and the program dont work

Whats happen

Carlos said...

I Have a opensuse 11.2 but the program who i download in this page
dont work in 11.2

How I proceed

Anonymous said...

I Have a opensuse 11.2.
I run the program for huawei e220 hsdpa 3g modem linux but dont work.

I dont have net

Help me

Carlos said...

I Have a opensuse 11.2.
I run the program for huawei e220 hsdpa 3g modem linux but dont work.

I dont have net

Help me

Carlos said...

I Have a opensuse 11.2.
I run the program for huawei e220 hsdpa 3g modem linux but dont work.

I dont have net

Help me

Anonymous said...

How to configure E1150
odem

Anonymous said...

gpxe distribute install??

Anonymous said...

Hello OOZIE
Have you had any dealings with the E122.
The disk is recognized but the modem is not.

Tried installing your rules but get a devcontrol not found error. I'm using Opensuse 11.1. I have used you rules in the past with out any problems. Can you point me in the right direction

Andre said...

Hi,

I have the T-Mobile USB WLAN Stick running successfully under Ubuntu 10.04.

But T-Mobile's UMTS Support is bad in my region. They suggested to use GPRS/EDGE instead.

How can I configure that? In Windows it's possible. Is it under Ubuntu?

TIA

Andre

Iván said...

he220stat works with my Huawei E272 from Vodafone in Spain. Mode and signal strength are properly shown, mostly WCDMA, HSDPA (when the LED turns green instead of blue). Uptime and speeds are reported correctly too. The only caveat is that sometimes, while on either mode, the Mode label disappears. Sometimes it also reports being still on WCDMA with the modem having the green light of death for a while. I am not sure, but this looks more like an issue with the modem not reporting the mode properly.

easyweb said...

Hi Boss !

Im using Huwaei E153 usb hsdpa modem. But it never works with Ubuntu 10.04. But it identify the inbuilt modem memory and SD card slot as two usb memory cards.

Please help me to solve the problem and install the modem.
Thanks
lakmalsurangabandara@gmail.com

easyweb said...

Hi Boss !

Im using Huwaei E153 usb hsdpa modem. But it never works with Ubuntu 10.04. But it identify the inbuilt modem memory and SD card slot as two usb memory cards.

Please help me to solve the problem and install the modem.
Thanks
lakmalsurangabandara@gmail.com

Taariq said...

hi will e220 drivers work for the new E1820?

My stats window open and close imediatly.
I cant read anything

Metalucifer said...

i am using ubuntu 8.04... will this work for this version of ubuntu... and if it works, plz let me know what procedure to follow...
MY NAME IS: ISHARA FERNANDO

Maryam said...

does it work with HUAWEI E180 HSDPA 3G modem?

Maryam said...

Does it work with HUAWEI E180 HSDPA 3G modem?

NevilleDNZ said...

Hi...

Some new Huawei modems... esp the K3765 and K4505 on 1520 and 1521

# cat /etc/redhat-release; uname -a
CentOS release 5.6 (Final)
Linux hotel.sgr-a.net 2.6.18-238.9.1.el5 #1 SMP Tue Apr 12 18:10:56 EDT 2011 i686 i686 i386 GNU/Linux

I tried a few ideas and had no luck. These devices have a "sd" device for access the "micro sd card" and suspect this is block the serial device as the "cdrom" driver did previously.

# vim /usr/share/hwdata/usb.ids
12d1 Huawei Technologies Co., Ltd.
1001 E620 USB Modem
1003 E220 HSDPA Modem / E230/E270 HSDPA/HSUPA Modem
1009 U120
1010 ETS2252+ CDMA Fixed Wireless Terminal
1038 Ideos
140b EC1260 Wireless Data Modem HSD USB Card
1446 E1552 (HSPA modem)
1501 Pulse
1520 K3765 HSPA USB Stick with Micro SD
1521 K4505 HSPA+ USB Stick Rev D with Micro SD

reg NevilleDNZ

Zieru Chan said...

please
link download is down

nazora said...

i have huawei E169 HSDPA 3G modem i want work with backtrack