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
- usb-modswitch
- 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,
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.


Thanks, that did the job for me. Thanks again.
– RG Srinivas
keep posting useful, this information is very meaningful, thanks boss
Thanks alot dear helped me in seconds 🙂
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!
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. ???
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.
once you install wvdial, run “wvdialconf” (without quotes) from the terminal, which will create wvdial.conf for you.
On Ubuntu Lucid repository the package name are:
usb-modeswitch
usb-modeswitch-data
my typos. Thans for noticing. Will correct it.
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).
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
I have seen NetworkManager working for Ubuntu 9.04 version. Can you try using that.
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/