Skip to content

Ubuntu 9.10 + Reliance NetConnect Broadband Modem (Huawei EC1260) + NetworkManager = Works Out Of The Box

2010 March 20

Note: This article will help you to “Dial” your USB CDMA modem with Network Manager in Ubuntu, Assuming it’s already working fine with wvdial. If you are modem is not detected or working by wvdial, then it’s problem with Modem Detection in Ubuntu, if this is the case, then this solution is not for you.

Update: If you are on Ubuntu 10.04 LTS (Lycid Lynx) Beta – 1, please test ModemManager [1] and submit your response here [2], your feedback would help us to push this package to final build.

[1] http://launchpadlibrarian.net/43125454/modemmanager_0.3.git.20100404%7Etest_i386.deb
[2] https://bugs.launchpad.net/network-manager/+bug/461096

Update: If you are on Ubuntu 10.04 LTS (Lucid Lynx), here  is new version for Modem Manager with fix (Very Very hackish way)

[1] https://launchpad.net/~hardik-dalwadi/+archive/ppa/+packages?field.name_filter=modemmanager&field.status_filter=published&field.series_filter=lucid

Since Ubuntu 9.10 release lot of people has complained about NetworkManager + Reliance NetConnect Broadband+ (Huawei EC1260) is not  working out of the box, which was working fine with Ubuntu 9.04. This was happening due to bug in modem manager. I have just now uploaded patched version of modem manager which has solved the problem. So, No more gnome-ppp or wvdial, Here we GO:

Step – 1:

Get access of CLI and please make sure that Ubuntu 9.10 with uninterrupted Internet and make it up-to-date with latest udpates to be at safer side.

#sudo apt-get update

#sudo apt-get upgrade

Step – 2:

Please add my PPA to get patched version of Modem Manager. From here [1] you can find the detail about patched version of Modem Manager

[1] https://launchpad.net/~hardik-dalwadi/+archive/ppa

#sudo add-apt-repository ppa:hardik-dalwadi/ppa

+++ Snapshot From Live System +++

person@CANONICAL-DESK:~$ sudo add-apt-repository ppa:hardik-dalwadi/ppa
Executing: gpg –ignore-time-conflict –no-options –no-default-keyring –secret-keyring /etc/apt/secring.gpg –trustdb-name /etc/apt/trustdb.gpg –keyring /etc/apt/trusted.gpg –keyserver keyserver.ubuntu.com –recv FD83D0063425A382E82DE40D0887AA4AA27ED519
gpg: requesting key A27ED519 from hkp server keyserver.ubuntu.com
gpg: key A27ED519: “Launchpad PPA for Hardik Dalwadi” not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
person@CANONICAL-DESK:~$

+++ END +++

Step – 3:

Now, check the current version of your Modem Manager (FYI).  And again update the system to get header of patched Modem Manager from my PPA.

#dpkg -l | grep modemmanager

#sudo apg-get update

+++ Snapshot From Live System +++

person@CANONICAL-DESK:~$ dpkg -l | grep modemmanager
ii  modemmanager                             0.2.git.20091014t233208.16f3e00-0ubuntu1        D-Bus service for managing modems
person@CANONICAL-DESK:~$

+++ END +++

Step – 4:

Now install Modem Manager from my PPA which is higher patched version from current version, after successful installation reboot the system.

#sudo apt-get install modemmanager

#sudo reboot

Step – 5:

Now after successful reboot, You should get the New CDMA Broadband option under Network Manager. I am assuming you have already inserted Reliance NetConnect Broadband+ Modem, if not please do that.Please follow the Images for more information on How to connect in GUI Mode.

Note: We have also tested with Tata Photon+ service with Huwei EC 1260 and Haier  CE100 Modem. It’s working out of box. Please also test modems from BSNL / TATA / Reliance  with NetworkManger  and let us know in comment, whether it’s working or not.  Your help would be much appreciated.

Please select New Connection, since Reliance NetConnect Broadband+ requires Mobile Number as Username / Password, You have to enter it manually. In case o Tata Photon+, You can select it from list.

I think it’s BUG with NM, it has not ask for Username  / Password in manual selection of provider, we have to edit it again. It may not be the case in your scenario. So in my case i am editing settings again.

Since Network Manager is giving prirority to WiFi / Ethernet connect, you have to disconnect them to swithc over to your Reliance NetConnect Broadband+ Connection.

90 Responses leave one →
  1. May 7, 2010

    @ Gaurav,

    Sorry for being late, i am heading to UDS, so could not get time to approve all comment :(. Did you update the Ubuntu after install modemnager package? it will replace my package.

  2. May 7, 2010

    @ Anil,

    Sorry Anil, i am in different TZ, next week i will update my ppa, then you will have x64 version.

  3. May 7, 2010

    @ Kalpesh,

    Thanks for the feedback.

  4. May 7, 2010

    @ Kartik,

    Thanks for the feedback.

  5. Premnath permalink
    May 10, 2010

    Hi Hardik

    My problem is also similar , I got Huawei EC1261. Before that i update my ubuntu version to 10.o4. (It is not the beta version ). Still wvdialconf shows message modem not detected. lsusb shows the presence of the device.Here is my version of modem manager
    ii modemmanager 0.3-0ubuntu2 D-Bus service for managing modems.

    The reason i brought this modem is that.
    While i was having ubuntu 9.10 i was able to connect an older version of the photon + modem which i borrowed from my friend.

    What do you think may be wrong?

    Thanks
    Premnath

  6. grace permalink
    May 11, 2010

    huawei ec1260

  7. May 11, 2010

    @ Grace,

    But it’s problem with Modem Detection.

  8. May 11, 2010

    @ Grace,

    I think you are stuck with this BUG [1].

    [1] https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/569748

  9. May 11, 2010

    Dear Hardik,
    I am very much new to Ubuntu. I only know Ubuntu from 9.10 onwards.
    Now coming to the problem, when I was using Karmic I never had any problem with Internet modem, Huawei EC1261, but when I upgraded to 10.04 it is not being detected in network connections. I live in Ethiopia, here we use etc connection, which means Ethiopia Tele Communications, I was using the gadget with any problem, but now there is a problem when I insert it to laptop. It is not being detected (at first I do not even notice NM-Applet).

    But when I am connecting ZTE, the system is detecting the gadget while I trying to establish connection with the help of Network connections under System menu.

    Please refer me a solution. I could fortunately find your website for this.

  10. May 12, 2010

    @ M,

    Please connect the USB Modem before you start your machine, then give a try.

  11. May 12, 2010

    Hi Hardik,

    Back again, I have been working with the fix for the last some days. But, there is another problem, network manager connects to internet sometimes but not always… If i disconnect then i can not connect back… Either I reboot, then also… sometimes it connects, while othertimes i can not do anything..

    Help me out.. When I work with my frnd reliance USB modem, it works like anything without ny probs… why cant mine work…

    PS: Update manger is showing some modem manger update from LP-PPA-Hardik-Dadwal, which is 127 KB, shall i update or leave it.

  12. May 12, 2010

    @ Gaurav,

    If you hve huawei Modem, please connect it first then boot the machine [1]. Yes, go ahead, that is my package.

    [1] https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/569748

  13. May 12, 2010

    @Hardik,

    You did not understand me.. Okay I commented before also… u u check the comments. You will be able to understand better..
    Mine is ZTE Modem, and it connected to my laptop everytime… so whnever i boot or reboot its already plugged in..

  14. May 12, 2010

    @ Gaurav,

    Hmmm… Looks like ZTE problem, did you checked Auto Reconnect in NM?

  15. May 13, 2010

    hello hardik,
    I already sent u a problem, but I dont know it reached u or not.
    I live in Ethiopia, here I was using Huawei EC1261, in Ubuntu 9.10, but I could not use it now in Lucid, the device is not being detected. But I can use ZTE, the system is detecting it and also working properly.

    Please tell me how to use Huawei in my system. I followed all the instructions in your blog.

    but still there is no use.
    I am a new to Ubuntu, please help me.

  16. May 13, 2010

    Hi,

    Please connect your USB Modem first then boot the system [1].

    [1] https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/569748

  17. May 14, 2010

    thanks for ur response.

    I already did it many times, but in vain.
    any way I could find solution at last, from some other way.

    thanks for ur concern

  18. May 14, 2010

    @ Kamakshaiah,

    Can you share which solutions works for you?

  19. grn permalink
    May 16, 2010

    With Huawei 1260, it is working, but it is very unstable. Does not necessarily connect everytime. And the lower side is that wvdial does not work either.

    I had to uninstall this one and install the packaged version of modemmanager and go back to using wvdial.

  20. May 17, 2010

    Hi Hardik,

    Your latest version of Network Manager does not work for me at all. The previous version was unstable, it connected sometimes depending upon its mood, but this version does not connect at all.
    I have use gnome-ppp for connecting.

    as you earlier mentioned .. it might be ZTE’s problem.
    It is not. Coz it connected various times( not always) but your version does not work at all.

    Help me out.

  21. Suresh permalink
    May 24, 2010

    I confirm the working of Tata photon+ USB modem working with Ubuntu 9.04 and fedora 11/12.

    They work out-of-box. No configuration steps. Plugin the modem, click on network icon on right-top screen. And then some simple selection steps.
    No need to go-to command-line etc.

  22. Narendran permalink
    May 26, 2010

    Was facing this trouble with x64 Lucid Lynx + Relianec Netconnect.
    Uninstalled the default modemmanager package, installed the package shared by Hardik @ https://launchpad.net/~hardik-dalwadi/+archive/ppa/+packages?field.name_filter=modemmanager&field.status_filter=published&field.series_filter=lucid, rebooted
    and now it works like a charm :). Thanks Hardik.

  23. May 26, 2010

    @ Narendran,

    Thanks a lot for your feedback :).

  24. Premnath permalink
    May 26, 2010

    I found the fix for my problem by following the thread here
    http://ubuntuforums.org/showthread.php?t=1491351

    Install these two packages – the data one first
    usb-modeswitch-data_20100127-1_all.deb
    usb-modeswitch_1.1.0-2_i386.deb
    go to network manager create an new mobile broadband connection.
    then reboot without attaching the modem.
    after booting plugin the modem the network manager should automatically connect through your mobile modem

  25. May 27, 2010

    @ Premnath,

    Thanks for the link. But they are talking about EC1261, I have EC1260 + Ubuntu 10.04 (Latest Updates), Modem detected perfectly for me without any tweak. But it was not working with Network Manager, it’s working fine with wvdial / gnome-ppp. My Modem Manager PPA has fixed that one, now it’s working out of box with network manager.

  26. Pramathesh permalink
    June 1, 2010

    I tried your instructions on a new Ubuntu Lucid installation with a Huawei EC325 reliance netconnect card. The card works well with wvdial + gnome-ppp. But Network Manager is not able to connect it. It just tries but fails.

    The output of tail -f /var/log/syslog is given below (capturing the point when modem was inserted to the time when NM tried to connect):

    *******************************************
    Jun 1 19:55:58 mycomputer kernel: [ 212.347887] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
    Jun 1 19:55:58 mycomputer modem-manager: Modem /org/freedesktop/ModemManager/Modems/1: state changed (enabled -> disabled)
    Jun 1 19:55:58 mycomputer kernel: [ 212.347929] option 2-3:1.1: device disconnected
    Jun 1 19:55:58 mycomputer modem-manager: Removed modem /sys/devices/pci0000:00/0000:00:13.0/usb2/2-3
    Jun 1 19:55:58 mycomputer NetworkManager: (ttyUSB0): now unmanaged
    Jun 1 19:55:58 mycomputer NetworkManager: (ttyUSB0): device state change: 3 -> 1 (reason 36)
    Jun 1 19:55:58 mycomputer NetworkManager: (ttyUSB0): cleaning up…
    Jun 1 19:55:58 mycomputer NetworkManager: (ttyUSB0): taking down device.
    Jun 1 19:58:29 mycomputer kernel: [ 363.016049] usb 2-3: new full speed USB device using ohci_hcd and address 5
    Jun 1 19:58:29 mycomputer kernel: [ 363.156082] hub 2-0:1.0: unable to enumerate USB device on port 3
    Jun 1 19:58:30 mycomputer kernel: [ 364.228087] usb 2-3: new full speed USB device using ohci_hcd and address 6
    Jun 1 19:58:30 mycomputer kernel: [ 364.489221] usb 2-3: configuration #1 chosen from 1 choice
    Jun 1 19:58:30 mycomputer kernel: [ 364.506682] option 2-3:1.0: GSM modem (1-port) converter detected
    Jun 1 19:58:30 mycomputer kernel: [ 364.506890] usb 2-3: GSM modem (1-port) converter now attached to ttyUSB0
    Jun 1 19:58:30 mycomputer kernel: [ 364.516161] option 2-3:1.1: GSM modem (1-port) converter detected
    Jun 1 19:58:30 mycomputer kernel: [ 364.516360] usb 2-3: GSM modem (1-port) converter now attached to ttyUSB1
    Jun 1 19:58:30 mycomputer modem-manager: (Huawei): (ttyUSB1) deferring support check
    Jun 1 19:58:30 mycomputer modem-manager: (ttyUSB0) opening serial device…
    Jun 1 19:58:30 mycomputer modem-manager: (ttyUSB0): probe requested by plugin ‘Huawei’
    Jun 1 19:58:31 mycomputer modem-manager: (ttyUSB0) closing serial device…
    Jun 1 19:58:31 mycomputer modem-manager: (Huawei): CDMA modem /sys/devices/pci0000:00/0000:00:13.0/usb2/2-3 claimed port ttyUSB0
    Jun 1 19:58:31 mycomputer modem-manager: Added modem /sys/devices/pci0000:00/0000:00:13.0/usb2/2-3
    Jun 1 19:58:31 mycomputer modem-manager: Exported modem /sys/devices/pci0000:00/0000:00:13.0/usb2/2-3 as /org/freedesktop/ModemManager/Modems/2
    Jun 1 19:58:31 mycomputer NetworkManager: (ttyUSB0): new CDMA device (driver: ‘option1’)
    Jun 1 19:58:31 mycomputer NetworkManager: (ttyUSB0): exported as /org/freedesktop/NetworkManager/Devices/3
    Jun 1 19:58:31 mycomputer NetworkManager: (ttyUSB0): now managed
    Jun 1 19:58:31 mycomputer NetworkManager: (ttyUSB0): device state change: 1 -> 2 (reason 2)
    Jun 1 19:58:31 mycomputer NetworkManager: (ttyUSB0): deactivating device (reason: 2).
    Jun 1 19:58:31 mycomputer NetworkManager: (ttyUSB0): device state change: 2 -> 3 (reason 0)
    Jun 1 19:58:33 mycomputer modem-manager: (ttyUSB1): re-checking support…
    Jun 1 19:58:33 mycomputer modem-manager: (ttyUSB1) opening serial device…
    Jun 1 19:58:33 mycomputer modem-manager: (ttyUSB1): probe requested by plugin ‘Huawei’
    Jun 1 19:58:46 mycomputer modem-manager: (ttyUSB1) closing serial device…
    Jun 1 19:58:53 mycomputer NetworkManager: Activation (ttyUSB0) starting connection ‘reliance connection 1’
    Jun 1 19:58:53 mycomputer NetworkManager: (ttyUSB0): device state change: 3 -> 4 (reason 0)
    Jun 1 19:58:53 mycomputer NetworkManager: Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled…
    Jun 1 19:58:53 mycomputer NetworkManager: Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) started…
    Jun 1 19:58:53 mycomputer NetworkManager: Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) complete.
    Jun 1 19:58:53 mycomputer modem-manager: (ttyUSB0) opening serial device…
    Jun 1 19:58:53 mycomputer modem-manager: Modem /org/freedesktop/ModemManager/Modems/2: state changed (disabled -> enabling)
    Jun 1 19:58:54 mycomputer modem-manager: Modem /org/freedesktop/ModemManager/Modems/2: state changed (enabling -> enabled)
    Jun 1 19:58:54 mycomputer modem-manager: Got failure code 100: Unknown error
    Jun 1 19:58:54 mycomputer NetworkManager: stage1_prepare_done(): CDMA modem connection failed: (32) Unknown error
    Jun 1 19:58:54 mycomputer NetworkManager: (ttyUSB0): device state change: 4 -> 9 (reason 0)
    Jun 1 19:58:54 mycomputer NetworkManager: Marking connection ‘reliance connection 1’ invalid.
    Jun 1 19:58:54 mycomputer NetworkManager: Activation (ttyUSB0) failed.
    Jun 1 19:58:54 mycomputer NetworkManager: (ttyUSB0): device state change: 9 -> 3 (reason 0)
    Jun 1 19:58:54 mycomputer NetworkManager: (ttyUSB0): deactivating device (reason: 0).
    Jun 1 19:58:54 mycomputer NetworkManager: Policy set ‘Auto eth0’ (eth0) as default for routing and DNS.
    ****************************************

    Output of dpkg -l|grep modemmanager:

    ii modemmanager 0.3-0ubuntu4 D-Bus service for managing modems

    ****************************************

    Thanks in advance for pointers

  27. Ganesh permalink
    June 2, 2010

    @Premnathji the info given by you saved my time and energy. Now my tata photon is working in my Samsung netbook:-)

  28. June 2, 2010

    @ Ganesh,

    Thanks a lot for confirmation. Can you also give details about Ubuntu Version + Type Of Modem (Company / Model Number)?

  29. June 2, 2010

    Sorry, but we have not tested Huawei EC325 :(. Though, everything seems ok from log file.

  30. Hafiz Mecci permalink
    June 7, 2010

    Hey Hardik,

    I am using a HP Probook & have installed Ubunti 10.04.I am trying to use Huawei EC 1262 Data Card.The data will not get detected in the first place.If i install the following packages it gets detected & works fine.

    usb-modeswitch 1.1 & usb-modeswitch-data of Ubuntu 9.10

    It works only if i don’t remove the data card from the USB port.When i use the lsusb command it will show the following result
    “Bus 002 Device 006: ID 12d1:140b Huawei Technologies Co., Ltd”.

    But when i remove the data card or reboot the system & then use the lsusb command the result is different & the device will not get listed in the network connections.The result of lsusb command will be

    “Bus 002 Device 006: ID 12d1:1446 Huawei Technologies Co., Ltd”.

    The result will not get changed even when i keyin the following command
    “modprobe usbserial vendor=0×12d1 product=0×140b”

    Please help me to over come this issue.

  31. Hafiz Mecci permalink
    June 7, 2010

    SoS

  32. barakatax permalink
    June 13, 2010

    I am using ubuntu NR 10.04 + HP mini 201 series.
    I did your suggestion above to use your PPA.
    and now my CE100 connect to internet through network manager.
    Keep up the good job.

    Thank you.

  33. June 13, 2010

    @ Barakatax,

    Thanks a lot for your positive feedback.

  34. Raj permalink
    September 2, 2010

    Thanks for the fix. is worked for my EC1260 Netconnect on Ubuntu 10.04 LTS – the Lucid Lynx

  35. SOUVIK permalink
    September 8, 2010

    Dear Hardik,

    My USB modem Huawei EC 1260 ( Reliance Broadband +) is not getting detected in Ubuntu 10.04 . I am running the OS from my pen drive.

    Pls. suggest a solution.

    rgds
    Souvik
    besouvik@gmail.com

  36. August 12, 2011

    First Of All Please Connect Your USB Modem After that Boot Your PC. Thanks for All comments. Good Comments.

    Regards
    madhan

  37. May 27, 2012

    I am a new Ubuntu user, moving over from Windows 7.. Still trying to find my way through things.. My Reliance Broadband just won’t connect, will try some of the suggestions and fixes you have suggested to see if I cxan get it going…

Trackbacks and Pingbacks

  1. Huawei EC 1260 to work on Hardy-Heron

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS

Ubuntu