August 15, 2008...6:04 am

Setting up Reliance USB Modem ( Huawei Technologies Co., Ltd. E620 USB Modem ) on Ubuntu 8.4 LTS “Hardy Heron”

Jump to Comments

In this article I am going to provide you a simple and quick way to setup reliance data card on ubuntu hardy heron. Most of the tasks could be done with the script that I am attaching here.

1. Plugin Data Card

Running Setup Script From a Terminal2. Download setup script from here. Open a terminal and run it as ” bash reliance_setup.sh “. It will ask for your data card connection number. Provide it when it does and press enter. The script will install gnome-ppp gui package, wvdial, and modify the necessary system files to setup permissions to dial the reliance connection using ppp.

3. Once set up, the script will launch gnome-ppp dialer. You need to provide following,

Username

Password (same as usrname. the connection number)

Phone Number : #777

4. Click on “Setup” option from the dialer window. From modem tab, click on “Detect” button which will automatically detect your usb modem in most cases. If not, you’ll have to choose it manually from the dropdown menu. Choose speed as 115200 from the drop down list.

5. You could leave rest of the options as it is for now. Close the setup window and click on “Connect”. You are all ready to rock. A connection window will appear, from which you could click on “Log” to see what is happening while connection is progress.

32 Comments

  • Ganesh Laxmanmurthy

    Hi:

    There is no anchor/link to download the specified .sh script on this page.

    Kindly re-publish the same again.

    Regards

    Ganesh

  • [...] For Ubuntu LTS 8.4 “hardy heron” users, please refer to my latest post here. [...]

  • hi,
    i have tried ./setup_scriptd/reliance_setup.sh but the out shows no such directory or file exits..

  • Hey J Sundar,

    There is some issue in you downloading the script and running it. Clearly the error msg means that either you have not downloaded it, or going to the wrong location to run it.

    is it setup_scriptd or setup_scripts ?? you might need to check the path where you have put it and change to that dir , run bash . that should just work.

  • hi gourav,
    its just a spelling mistake. i am new to linux or ubuntu. explain me in detail..

  • i am using ZTE MG880 USB modem..

  • hi santhosh i am not able to download ur scripts.. can u pls post it again..

  • Thank you! Thank you! Thank you!!!

    I was up and running in under 2 minutes on 8.10 Ibex! And its been working perfectly for days. People like you make open source feasible for us noobies!

    Only change, since it downloaded to my desktop I had to change the directory before running the bash command. I did this in terminal with “CD Desktop”. After this when I want to connect I type “gnome-ppp wvdial”. Today I right clicked on desktop and put a shortcut to this command so I dont have to enter in terminal all the time

  • When the dialing takes place, it is stuck forever at “waiting for prompt”. The log is as follows:

    –> Ignoring malformed input line: “;Do NOT edit this file by hand!”
    –> WvDial: Internet dialer version 1.60
    –> Cannot get information for serial port.
    –> Initializing modem.
    –> Sending: ATZ
    ATZ
    OK
    –> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    OK
    –> Modem initialized.
    –> Sending: ATM1L3DT#777
    –> Waiting for carrier.
    ATM1L3DT#777
    CONNECT
    –> Carrier detected. Waiting for prompt.

    Any help is appreciated

  • Hi, I downloaded your script and ran it. But after I provided my connection number it is throwing an error modem not found, I tried selecting different options from the drop-down, but it is not able to find a modem. Can you please help me out to get it working.

    Thanks

  • Pradeep,

    Which version of Ubuntu are you using? This post is for 8.4 LTS (Hardy Heron). If you are using older versions, you might want to have a look at this one http://freedomyug.wordpress.com/2007/08/18/reliance-data-card-howto/

    My guess is, the problem in your case is your modem not being detected, or kernel module is not being installed.

  • [...] Configure Reliance Datacard USB Internet in UBUNTU Linux? You might want to checkout this updated tutorial for Ubuntu 8.4 LTS Hardy Heron. The author even got a script to perform the installation, let’s [...]

  • Hi Gourav,
    thanks for you tutorial. I’ve followed it but strangely enough even if I succeed connecting with gnome-ppp (I see the time running) I cannot surf the net and under the details panel, I have no inbound nor outbound traffic.
    I’ve noticed that wvdial.conf was left untouched, even if I’m admin.
    Any clues what the problem could be?

    thanks,

    Paolo

  • it is asking me for the data card number.
    after that it is sending a error message ” Gnome-ppp no such command found”

    plz help me it is very urgent

  • Priyatham,

    Can you be elaborate on the error?
    Can you give me the error description with more details.

    If its only “Gnome-ppp no such command found” , then its not present on your machine and you’ll have to install the package.

    open a terminal, and give the following command,

    sudo apt-get install gnome-ppp

    After that try to follow from where you got the error.

    I guess you are using ubuntu version which is older than 8.4, and if that so please refer to my older post http://freedomyug.wordpress.com/2007/08/18/reliance-data-card-howto/

  • Hi

    I am using Fedora LINUX version 9, I have Reliance LG LUX-800 data card, could you please provide configuration settings..? like product ID, Baud..

    Thanks,
    Naveen

  • Naveen,

    To check product id, baud rate etc, just run the following command as root/superuser. The output of which shall give you all relevent information.

    # lsusb -v

  • hi…i bought reliance netconnect EC168 and i am having ubuntu 8.04(hardy) i m trying to connect it but unable to do that…basically after sending init1=ATZ IT AGAIN SEND ATQ AND THEN RESEND ATZ AND THEN MODEM DO NOT FOUND…………plz help me out

  • I have UBUNTU 8.10, would the script for Reliance USB Datacard work on my version? What if I try with my mobile (Nokia 6021) and data cable?

    thank you
    fede -India-

  • Hai…

    I believe this to Setting up Reliance USB Modem ( Huawei Technologies Co., Ltd. E620 USB Modem ) on Ubuntu 8.4 LTS “Hardy Heron” but i want to install and configure my Reliance ZTE MG880 Datacard in Ubuntu 9.04 jaunty jackalope.

    Please provide me a right solution..?

    Thanks,

    Raviboodher.

  • Sir i am using ubuntu 9.04.I had reliance mg880 modem .My modem is not even detected in ubuntu9.04.I tried all the procedures that are given in the net,But they all fails.
    When i type dmesg
    manufacturer=ZTE incorporated
    product=USB storage
    It is coming like this.
    I also use ur above method.When dial using Gnome ppp it is coming modem not found.so please help me

  • Hello,
    I am trying to configure Reliance LUX800 USB modem on Ubuntu 9.04 using your insatllation instructions but Ubuntu is not able to detect the modem. When I clicked on the “Detect” button it says “Modem could not be found”. I am not able to find a driver for 9.04 on Internet. Can you please help me out?
    Ajay

    • Ajay,

      Can you paste the output of “lsusb” command here after connecting the modem? that could help debug further.
      to run the command go to Applications -> Accessories -> Terminal , and once the terminal opens, run lsusb command.

  • Hello gaurav.
    I had the driver for kernel version 2.6-27-11 but i was trying to run wvdial on a 2.6-28-15 kernel. So I solved this problem by installing a 2.6-27-11 kernel.. and whenever I want to connect to Internet I choose 2.6-27-11 kernel and type wvdial. It connetcs .. the only hassle now being that I am using Ubuntu with an older kernel version to connect to the Internet. Is there any way by which I can get it running in the higher kernel versions
    By the way . you had asked for the output for the lsusb command. This is what I get when i run in both the kernels
    Bus 001 Device 004: ID 0bc2:0501 Seagate RSS LLC
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 002: ID 03f0:171d Hewlett-Packard Wireless (Bluetooth + WLAN) Interface [Integrated Module]
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 004: ID 046d:c312 Logitech, Inc.
    Bus 003 Device 003: ID 04f3:0212 Elan Microelectronics Corp.
    Bus 003 Device 002: ID 03eb:0902 Atmel Corp.
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 002: ID 0eab:9357
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

  • Hi,

    I need to connect Reliance netconnect broadband+. I have Huawei EC1260 datacard. Kindly let me know how should I connect it on Ubuntu

    Thanks.

    • BNR,

      Which version of Ubuntu are you using? The latest versions of ubuntu (9.04 and 9.10) most likely support all data cards in India by default.

      Can you give me out put of these commands.

      Go to Applications -> Accessories -> Terminal and type in the following commands. paste me the output.

      1. cat /etc/issue
      2. lsusb

      Also if you could, connect the data card , and immediately run this command in terminal

      dmesg | tail -n 20

      and send me the outputs.

      Thanks
      Gourav

  • Hi,

    The following is the output

    raghavendra@Raghavendra:~$ lsusb
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 003: ID 04b8:080c Seiko Epson Corp. ME100
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

    Thanks

  • Hi,

    Out put of dmesg | tail -n 20 command

    raghavendra@Raghavendra:~$ dmesg | tail -n 20
    [ 9833.236368] [drm:i915_getparam] *ERROR* Unknown parameter 6
    [10433.234636] [drm:i915_getparam] *ERROR* Unknown parameter 6
    [11033.237109] [drm:i915_getparam] *ERROR* Unknown parameter 6
    [14636.134150] [drm:i915_getparam] *ERROR* Unknown parameter 6
    [17632.372025] usb 4-1: new full speed USB device using uhci_hcd and address 8
    [17632.536369] usb 4-1: configuration #1 chosen from 1 choice
    [17632.541136] usb-storage: probe of 4-1:1.0 failed with error -1
    [17632.784067] usb 4-1: USB disconnect, address 8
    [17633.024043] usb 4-1: new full speed USB device using uhci_hcd and address 9
    [17633.188311] usb 4-1: configuration #1 chosen from 1 choice
    [17633.231138] usb-storage: probe of 4-1:1.0 failed with error -5
    [17633.231163] option 4-1:1.0: GSM modem (1-port) converter detected
    [17633.231278] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB0
    [17633.241489] usb-storage: probe of 4-1:1.1 failed with error -5
    [17633.241520] option 4-1:1.1: GSM modem (1-port) converter detected
    [17633.241642] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB1
    [17633.246776] usb-storage: probe of 4-1:1.2 failed with error -5
    [17633.246800] option 4-1:1.2: GSM modem (1-port) converter detected
    [17633.246905] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB2
    [17633.271299] usb-storage: probe of 4-1:1.3 failed with error -1

    Thanks

  • Hi Gourav,

    Please find below the new output. Please let me know how should I connect the data card…..

    raghavendra@Raghavendra:~$ cat /etc/issue
    Ubuntu 9.04 \n \l

    raghavendra@Raghavendra:~$ lsusb
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 003: ID 12d1:140b Huawei Technologies Co., Ltd.
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 002: ID 04b8:080c Seiko Epson Corp. ME100
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    raghavendra@Raghavendra:~$ dmesg | tail -n 20
    [11456.440037] usb 4-1: new full speed USB device using uhci_hcd and address 3
    [11456.604339] usb 4-1: configuration #1 chosen from 1 choice
    [11456.643073] usb-storage: probe of 4-1:1.0 failed with error -5
    [11456.646948] usb-storage: probe of 4-1:1.1 failed with error -5
    [11456.653341] usb-storage: probe of 4-1:1.2 failed with error -5
    [11456.678275] usb-storage: probe of 4-1:1.3 failed with error -1
    [11456.825612] usbcore: registered new interface driver usbserial
    [11456.825630] USB Serial support registered for generic
    [11456.825681] usbcore: registered new interface driver usbserial_generic
    [11456.825684] usbserial: USB Serial Driver core
    [11457.002068] USB Serial support registered for GSM modem (1-port)
    [11457.002114] option 4-1:1.0: GSM modem (1-port) converter detected
    [11457.002220] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB0
    [11457.002234] option 4-1:1.1: GSM modem (1-port) converter detected
    [11457.002284] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB1
    [11457.002296] option 4-1:1.2: GSM modem (1-port) converter detected
    [11457.002350] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB2
    [11457.002368] usbcore: registered new interface driver option
    [11457.002371] option: v0.7.2:USB Driver for GSM modems
    [11490.592029] end_request: I/O error, dev fd0, sector 0

    Thanks,
    Raghavendra


Leave a Reply