NetworkManager does not configure mobile broadband -- Huawei E122

Bug #514409 reported by John McCreesh
74
This bug affects 13 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: network-manager

UK mobile broadband 3 Internet have started shipping the Huawei E122 as a replacement for the E220. The E220 works perfectly with 9.10 'out of the box'.

Attempting to connect fails with the following in syslog:

Jan 29 16:56:13 this-laptop NetworkManager: <info> Activation (ttyUSB0) starting connection '3 Internet'
Jan 29 16:56:13 this-laptop NetworkManager: <info> (ttyUSB0): device state change: 3 -> 4 (reason 0)
Jan 29 16:56:13 this-laptop NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled...
Jan 29 16:56:13 this-laptop NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) started...
Jan 29 16:56:13 this-laptop NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) complete.
Jan 29 16:56:13 this-laptop modem-manager: (ttyUSB0) opening serial device...
Jan 29 16:56:16 this-laptop NetworkManager: <WARN> stage1_prepare_done(): GSM modem connection failed: Serial command timed out
Jan 29 16:56:16 this-laptop NetworkManager: <info> (ttyUSB0): device state change: 4 -> 9 (reason 1)
Jan 29 16:56:16 this-laptop NetworkManager: <info> Marking connection '3 Internet' invalid.
Jan 29 16:56:16 this-laptop NetworkManager: <info> Activation (ttyUSB0) failed.
Jan 29 16:56:16 this-laptop NetworkManager: <info> (ttyUSB0): device state change: 9 -> 3 (reason 0)
Jan 29 16:56:16 this-laptop NetworkManager: <info> (ttyUSB0): deactivating device (reason: 0).
Jan 29 16:56:16 this-laptop NetworkManager: flush_routes: assertion `iface_idx >= 0' failed
Jan 29 16:56:16 this-laptop NetworkManager: flush_addresses: assertion `iface_idx >= 0' failed
Jan 29 16:56:16 this-laptop modem-manager: (ttyUSB0) closing serial device...

I don't know if this is relevant, but lsusb identifies the device incorrectly as:
Bus 001 Device 007: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem

ProblemType: Bug
Architecture: amd64
CRDA: Error: [Errno 2] No such file or directory
Date: Fri Jan 29 17:07:25 2010
DistroRelease: Ubuntu 9.10
IfupdownConfig:
 auto lo
 iface lo inet loopback
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
IpRoute:

IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
Package: network-manager 0.8~a~git.20091013t193206.679d548-0ubuntu1
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
RfKill:

SourcePackage: network-manager
Uname: Linux 2.6.31-17-generic x86_64

Revision history for this message
John McCreesh (jpmcc) wrote :
Revision history for this message
John McCreesh (jpmcc) wrote :

Note: please be careful when reading the automatically attached files. After logging the fault with the E122 (from Jan 29 16:54 to Jan 29 16:56:16) I plugged in the E220 to submit this report, so any log messages timestamped after Jan 29 16:56:16 should be ignored.

Revision history for this message
Tony (tony-smith) wrote :

Hi There

I have exactly the same issue

My Kernel is 2.6.31-19-generic x86_64 GNU/Linux

Please resolve this issue as soon as possible, as I was doing so well at convincing people to change to ubuntu, but now have 3 of those asking me to reinstalll Windows

Cheers

Tony

Revision history for this message
Peter_Tirol (psoe) wrote :

Hi There

I have the same problems (also in detail) with my E122 and 9.10 Ubuntu (with all Updates in and Kernel 2.6.31-19-generic on an emachines laptop)

Some customers of me will have the same problem, they have not used their modem yet. but on my last visit I have testet und same problems also.... so ist only a question of time when 6 computers have this problem too

please correction is needed

best regards
Peter (from Austria)

Revision history for this message
DW0051 (heinrich-ruthensteiner) wrote :

I had this problem too. But with a self compiled 2.6.32.8 vanilla kernel this E122 stick is shown with 'lsusb' as
'Bus 001 Device 008: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem'
and it works (also with the NetworkManager).

Best regards
Heinrich

Revision history for this message
Peter_Tirol (psoe) wrote :

I have testet on an Acer Apire One (110L first charge) with Ubuntu 9.10 2.6.31-19

lsusb shows - Bus 002 Device 005: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem - does not work. like the others. And - I'm not good in compiling kernel... ;)

Best regards
Peter (from Austria)

Revision history for this message
alex drachmann (alex-drachmann) wrote :

I have the HUAWEI e122-2 modem,,,,I managed to get it connected and up and running yesterday, but I haven't been able to get it to connect today. It is a real pain. I use the danish mobile net provider called Oister.

Revision history for this message
alex drachmann (alex-drachmann) wrote :

It seems to have problems registering with the 3g network.

Revision history for this message
sgrandi (stefano-grandi) wrote :

Hi,

I have a huawei e122 (Italian 3 mobile operator) and I have the same problem.

I installed the linux drivers found inside the key, but it is a real pain.

Stefano.

Revision history for this message
Peter_Tirol (psoe) wrote :

Its like pain in ass

now i have the same problem on 5 laptops....
acer and lenovo

the only stick that works is e160 with slow connection - all of the huawei high speed sticks dont working well...
update is needed very urgent - some customer will use windows because of this problem on ubuntu.... its not so fine

peter from austria

Revision history for this message
soundpartner (michael-soundpartner) wrote :

The good news is that this E122 works perfektly in ubuntu 10.04 beta. meaning that there is hope.

the bad news is that i really cant get it to work in 9.04 or 9.10 eather.

in 1½ month the solution therefore would be til recoment to update to ubuntu 10.04 lts but since this is still a beta i dont want to do so on anyother than my test computer

Changed in network-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Magnus Erixzon (some-bananas1234) wrote :

Hey

In case someone has the same problem as me -->

I had the same problem and followed soundpartners advice (#11) and upgraded to 10.4 beta, then the usb dongle wouldn't init properly (was registered as a mass storage device).

Finding this post, http://who-t.blogspot.com/2010/03/vodafone-australia-mobile-broadband-and.html
I got it sorted by running usb_modeswitch (usb_modeswitch -v 0x12d1 -p 0x1446 -H).

Now it's working, and I have a brand new Ubuntu version :)

cheers

Revision history for this message
dogatemylegoff (osuilleabhain-g) wrote :

Hi All,

I have the same problem, I have a Dell Vostro 1000 and tried connecting through "3" Ireland with the E122 modem. I got this modem as an upgrade to the E220 on the "3" broadband network here in Ireland. I'm nearly out of space on my machine and doubt if I can upgrade to 10.4 beta as I have no room, I've tried running the Windows 3Connect software that came on the upgrade stick ( the E122) through WINE to get around this problem, but it's just stuck initializing, do you think that running usb_modeswitch in a terminal window might be able to get this to work? I already did the lsusb command and it recognized that this was a Hauwei usb device.

Surely there must be another option out there besides upgrading to 10.4 beta, I really don't want to go back to Windows at all ever again frankly, but stuck using it to write this message.

Thanks again for any help, need to get off Windows very fast for my own sanity

Revision history for this message
Deepankur Julka (deepankur-julka) wrote :

thanks a ton for this as it helped me get my usb dongle working with ubuntu 10.4 working properly as well.

deep

Revision history for this message
John McCreesh (jpmcc) wrote :

I've upgraded to 10.04 and the modem now works perfectly (it also "feels" a lot faster than the old E220). However, I did have to sudo apt-get install usb-modeswitch libusb-dev and reboot before it would work.

I'd close this bug as 'fixed' if I could work out how to :-)

Revision history for this message
Paul252 (paul-orourke) wrote :

Agree with John's comments. Am running 10.04 (64-Bit) including latest patches.

Followed John's instructions, installing usb-modeswitch and libusb-dev then rebooted.

sudo apt-get install usb-modeswitch libusb-dev"

Its working now on.

Thanks.

Paul

Revision history for this message
Daniel Castro (castromd) wrote :

Yes 'sudo apt-get install usb-modeswitch libusb-dev' and a reboot is all you need to get the E122 (and possibly some other modems) to work.
So it works very well yes... but there's some functionality that I would love to see.
1. A signal strength indicator
2. A connection type indicator (GPRS, 3G or HSDPA)
3. Total bandwidth consumed per month (although I get this by using KNemo at the moment)

Anyone knows of a program that would do this?

There is the Vodafone Mobile Connect but I would like something more 'generic' or even specific for any Huawei modem.

Revision history for this message
Womble (w-launchpad-zaniyah-org) wrote :

I just upgraded and now I can't use the internet without going to a library or coffee shop, some 12 miles or more away. This is the only way I can access the internet from home!! Please fix it.

Revision history for this message
Daniel Castro (castromd) wrote :

@Womble
Upgraded to what?
I don't think it's broken, you just need to install a couple of packets...
Have you tried to run:
sudo apt-get install usb-modeswitch libusb-dev
from a terminal?

Revision history for this message
D Bastow (davebastow) wrote :

Had a similar issue with a Huawei E122. That is, installing usb-modeswitch fixed my problem as well.

But, mine occurred during an upgrade from Ubuntu 9.10 to 10.04. To clarify, my E122 worked perfectly before the automatic upgrade, but after running it, network manager couldn't detect it, no ppp device appeared but lsusb was still listing it, although as a Mass Storage interface (as you might guess). I presume this is what "Womble" was talking about... but who knows.

I cannot tell you whether usb-modeswitch was uninstalled during this process, but only because I don't know where to look - I would be really happy to provide any log file I'm requested for.

Interestingly, immediately after the upgrade, everything worked fine, it was only after I rebooted, again, later that things failed - although I realise how silly that sounds so maybe my recollection is false, but that's how I remember it :)

For the sake of >20k, perhaps these files should be included as a mandatory part of the upgrade? At least for people with mobile broadband settings? In situations like mine (and I presume Wombles :) my 3G modem is my ONLY source of internet access. If it fails during upgrades, even to figure out what is going wrong using Google, means I have to annoy other people, go to their houses and borrow their connections - let alone when the fix is to download more packages :)

And I realise this has little to do with network-manager, just hope you can pass this on to more appropriate people for me.

Thanks,

David

Revision history for this message
Thomas Hood (jdthood) wrote :

Is there anyone who can't solve this problem by installing usb-modeswitch?

summary: - Network Manager fails with Huawei E122 HSPA USB Stick
+ NetworkManager does not configure mobile broadband -- Huawei E122
Changed in network-manager (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Daniel Castro (castromd) wrote :

Not working for me on LM13 (based on Ubuntu 12.04) and couldn't make it work on Ubuntu 12.04 live cd.

Revision history for this message
Thomas Hood (jdthood) wrote :

> UK mobile broadband 3 Internet have started shipping
> the Huawei E122 as a replacement for the E220.
> The E220 works perfectly with 9.10 'out of the box'.

Looking at upstream's website:

    https://live.gnome.org/NetworkManager/MobileBroadband/

I see that the E220 is listed as known to work but the E122 not.

Please file a bug report upstream

    https://bugzilla.gnome.org/browse.cgi?product=NetworkManager

asking for the E122 to be supported.

tags: added: precise
Changed in network-manager (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Edwin Francis (e4u1991) wrote :

i have used huawei E303C modem ,when i tried to install NDS modem driver it fails and the network manager do not identify the modem , i have tried lsusb in it, it detected the modem but the network manager do not identify the modem.After it ubuntu error reporting window appears in it its shows the path it is the modem manager after some time the O.S stuck. Please help me to solve the problem.Is any modem manager application is available to perform the operation...?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.