Home > How To's, ubuntu, Uncategorized > How to Configure Reliance Huawei Modem with Ubuntu 10.4 LTS Lucid Lynx

How to Configure Reliance Huawei Modem with Ubuntu 10.4 LTS Lucid Lynx


This post is been migrated to – INITCRON.org


This howto explains steps to make Ubuntu 10.4 LTS codenamed “Lucid Lynx” detect, configure and install Huawei EC1262 usb modem used by Reliance Netconenct Broadband+.  This should also apply to various other similar devices used by Tata Photon, Alcatel, Vodaphone etc. 3G connections.

Solution:

Install

  1. usb-modswitch
  2. usb-modswitch-data

Two ways to do it,

  • Automatic from package manager, (Recommended)

Paste this to terminal (Applications=> Accessories=> Terminal)

sudo apt-get install -yq usb-modeswitch usb-modeswitch-data

  • Manual

1. Open a Terminal from  Applications=> Accessories=> Terminal

2. Download and install usb-modeswitch-data for both 32bit and 64bit,

wget -c  http://mirrors.kernel.org/ubuntu/pool/universe/u/usb-modeswitch-data/usb-modeswitch-data_20100127-1_all.deb

dpkg -i  usb-modeswitch-data_20100127-1_all.deb

3. Download and install usb-modswitch 

For 64 bit :

wget  -c  http://mirrors.kernel.org/ubuntu/pool/universe/u/usb-modeswitch/usb-modeswitch_1.1.0-2_amd64.deb

dpkg -i usb-modeswitch_1.1.0-2_amd64.deb

For 32 bit

wget -c http://mirrors.kernel.org/ubuntu/pool/universe/u/usb-modeswitch/usb-modeswitch_1.1.0-2_i386.deb

dpkg -i usb-modeswitch_1.1.0-2_i386.deb

Once you install both packages,  you should have the modem detected and then use networkmanager to configure it.

What does usb-modswitch do and why is it necessary?

USB devices, specially high speed wireless WAN dongles such as the Huawei Modem that comes with Reliance NEtconect Broadband+ is only detected as USB storage device by Ubuntu and not as a Serial Modem in order for it to function as one.  usb mode switch does the work of switching the mode to modem from the storage only modem and make it awailable to be used as a internet modem device.

Advertisements
  1. Srinivas
    June 17, 2010 at 5:21 pm

    Thanks, that did the job for me. Thanks again.
    – RG Srinivas

  2. June 23, 2010 at 5:10 am

    keep posting useful, this information is very meaningful, thanks boss

  3. Rushikesh Tade
    July 20, 2010 at 7:45 pm

    Thanks alot dear helped me in seconds 🙂

  4. Artyom
    July 22, 2010 at 11:06 am

    I tried the ‘automagic’ way.. it didnt work for me

    then i tried the manual way and it worked !
    i do not know how and why.

    i am running ubuntu 10.04 64 bit on a wipro laptop ( bm39 series )

    This method works with the EC 1262 reliance data card.

    Thanks for the info!

  5. aalok
    August 3, 2010 at 8:57 am

    i’ve installed ubuntu few days back on my laptop but i am not able to install huawei ec1262 (reliance modem dongle) on ubuntu. please help. ???

    • vishal singh gehlot
      August 12, 2010 at 7:23 am

      hey hi ,, for connecting that datacard you need one confihuration file that is wvdial.conf
      .You can install it through net by using apt-get install wvdial.conf and modify that upper processs , it will work.

      • Gourav Shah
        August 18, 2010 at 6:49 am

        once you install wvdial, run “wvdialconf” (without quotes) from the terminal, which will create wvdial.conf for you.

  6. Luca
    August 3, 2010 at 2:15 pm

    On Ubuntu Lucid repository the package name are:

    usb-modeswitch
    usb-modeswitch-data

    • Gourav Shah
      August 18, 2010 at 6:48 am

      my typos. Thans for noticing. Will correct it.

  7. Pasu
    August 6, 2010 at 3:00 am

    I tried both the manual and automatic way of installing the packages and it still didn’t work. Following are the messages I found from the logs, Any clue ? Appreciate the great post and help.

    pasu-laptop NetworkManager: Activation (ttyUSB0) starting connection ‘Reliance connection 1’
    Aug 6 08:18:14 pasu-laptop NetworkManager: (ttyUSB0): device state change: 3 -> 4 (reason 0)
    Aug 6 08:18:14 pasu-laptop NetworkManager: Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled…
    Aug 6 08:18:14 pasu-laptop NetworkManager: Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) started…
    Aug 6 08:18:14 pasu-laptop NetworkManager: Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) complete.
    Aug 6 08:18:17 pasu-laptop NetworkManager: stage1_prepare_done(): CDMA modem connection failed: (32) Sending command failed: ‘Resource temporarily unavailable’
    Aug 6 08:18:17 pasu-laptop NetworkManager: (ttyUSB0): device state change: 4 -> 9 (reason 0)
    Aug 6 08:18:17 pasu-laptop NetworkManager: Marking connection ‘Reliance connection 1’ invalid.
    Aug 6 08:18:17 pasu-laptop NetworkManager: Activation (ttyUSB0) failed.
    Aug 6 08:18:17 pasu-laptop NetworkManager: (ttyUSB0): device state change: 9 -> 3 (reason 0)
    Aug 6 08:18:17 pasu-laptop NetworkManager: (ttyUSB0): deactivating device (reason: 0).

  8. August 8, 2010 at 2:45 am

    Hi,
    I installed usb-modeswitch adn usb-modeswitch-data on Ubuntu 9.04 64 bit. I tried firing wvdialconfig after that but still it says modem not detected.
    Can you please let me know whether the above procedure works fine on ubuntu 9.04 64 bit?
    Regards,
    allahbaksh

    • Gourav Shah
      August 18, 2010 at 6:47 am

      I have seen NetworkManager working for Ubuntu 9.04 version. Can you try using that.

  9. August 29, 2010 at 5:23 am

    I was just wondering if just installing usb-modeswitch will do ? Take a look at this.

    http://www.brigs-family.com/tips-linuxsmart-evdo-zte-usb-modem-ac-2726-in-linux/

  1. December 30, 2010 at 10:57 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: