Home > How To's, ubuntu, Uncategorized > Setting up Reliance USB Modem ( Huawei Technologies Co., Ltd. E620 USB Modem ) on Ubuntu 8.4 LTS “Hardy Heron”

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


This post is been migrated to INITCRON.org

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.

Advertisements
  1. Ganesh Laxmanmurthy
    August 15, 2008 at 12:27 pm

    Hi:

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

    Kindly re-publish the same again.

    Regards

    Ganesh

  2. J Sundar
    October 18, 2008 at 6:12 pm

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

  3. Gourav Shah
    October 19, 2008 at 7:36 am

    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.

  4. J Sundar
    October 19, 2008 at 7:59 am

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

  5. J Sundar
    October 19, 2008 at 10:46 am

    i am using ZTE MG880 USB modem..

  6. J Sundar
    October 21, 2008 at 3:10 pm

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

  7. manu
    November 17, 2008 at 5:35 pm

    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

  8. vijay
    November 27, 2008 at 6:58 am

    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

  9. December 8, 2008 at 12:18 pm

    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

  10. Gourav Shah
    December 8, 2008 at 12:34 pm

    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 https://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.

  11. paolo
    December 18, 2008 at 9:34 am

    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

  12. priyatham
    January 21, 2009 at 7:09 pm

    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

  13. Gourav Shah
    January 22, 2009 at 3:28 am

    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 https://freedomyug.wordpress.com/2007/08/18/reliance-data-card-howto/

  14. April 13, 2009 at 11:45 am

    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

  15. Gourav Shah
    April 13, 2009 at 12:14 pm

    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

  16. Arif
    April 30, 2009 at 12:22 pm

    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

  17. Federico D
    May 10, 2009 at 9:34 am

    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-

  18. Raviboodher
    July 24, 2009 at 8:24 am

    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.

  19. ravi
    August 17, 2009 at 8:28 pm

    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

  20. Ajay
    September 28, 2009 at 8:15 am

    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

    • Gourav Shah
      September 28, 2009 at 8:38 am

      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.

  21. Ajay
    October 6, 2009 at 1:59 pm

    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

  22. BNR
    November 9, 2009 at 5:38 am

    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.

    • Gourav Shah
      November 9, 2009 at 5:54 am

      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

  23. BNR
    November 9, 2009 at 9:10 am

    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

  24. BNR
    November 9, 2009 at 9:12 am

    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

    • Gourav Shah
      November 9, 2009 at 11:37 am

      what is the version of ubuntu that you are using?

      in the terminal type

      cat /etc/issue

      you might want to try this post as well if you are using versions older than 8.10
      https://freedomyug.wordpress.com/wp-admin/post.php?action=edit&post=1

      • BNR
        November 9, 2009 at 2:10 pm

        Hi,

        Output of cat /etc/issue

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

        raghavendra@Raghavendra:~$

        Thanks.

  25. BNR
    November 10, 2009 at 7:35 am

    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

  26. Amal
    July 8, 2010 at 10:57 am

    after connect it shows follwing progress in log for a long time & it not connects

    –> Don’t know what to do! Starting pppd and hoping for the best.
    –> Unable to run /usr/sbin/pppd.
    –> Check permissions, or specify a “PPPD Path” option in wvdial.conf.
    –> Don’t know what to do! Starting pppd and hoping for the best.
    –> Unable to run /usr/sbin/pppd.
    –> Check permissions, or specify a “PPPD Path” option in wvdial.conf.
    –> Don’t know what to do! Starting pppd and hoping for the best.
    –> Unable to run /usr/sbin/pppd.
    –> Check permissions, or specify a “PPPD Path” option in wvdial.conf.
    –> Don’t know what to do! Starting pppd and hoping for the best.
    –> Unable to run /usr/sbin/pppd.
    –> Check permissions, or specify a “PPPD Path” option in wvdial.conf.
    –> Don’t know what to do! Starting pppd and hoping for the best.
    –> Unable to run /usr/sbin/pppd.
    –> Check permissions, or specify a “PPPD Path” option in wvdial.conf.
    –> Don’t know what to do! Starting pppd and hoping for the best.
    –> Unable to run /usr/sbin/pppd.
    –> Check permissions, or specify a “PPPD Path” option in wvdial.conf.
    –> Don’t know what to do! Starting pppd and hoping for the best.
    –> Unable to run /usr/sbin/pppd.
    –> Check permissions, or specify a “PPPD Path” option in wvdial.conf.
    –> Don’t know what to do! Starting pppd and hoping for the best.
    –> Unable to run /usr/sbin/pppd.
    –> Check permissions, or specify a “PPPD Path” option in wvdial.conf.
    –> Don’t know what to do! Starting pppd and hoping for the best.
    –> Unable to run /usr/sbin/pppd.
    –> Check permissions, or specify a “PPPD Path” option in wvdial.conf.
    –> Don’t know what to do! Starting pppd and hoping for the best.
    –> Unable to run /usr/sbin/pppd.
    –> Check permissions, or specify a “PPPD Path” option in wvdial.conf.
    –> Don’t know what to do! Starting pppd and hoping for the best.
    –> Unable to run /usr/sbin/pppd.
    –> Check permissions, or specify a “PPPD Path” option in wvdial.conf.
    –> Don’t know what to do! Starting pppd and hoping for the best.
    –> Unable to run /usr/sbin/pppd.
    –> Check permissions, or specify a “PPPD Path” option in wvdial.conf.
    –> Don’t know what to do! Starting pppd and hoping for the best.
    –> Unable to run /usr/sbin/pppd.
    –> Check permissions, or specify a “PPPD Path” option in wvdial.conf.
    –> Don’t know what to do! Starting pppd and hoping for the best.
    –> Unable to run /usr/sbin/pppd.
    –> Check permissions, or specify a “PPPD Path” option in wvdial.conf.
    –> Don’t know what to do! Starting pppd and hoping for the best.
    –> Unable to run /usr/sbin/pppd.
    –> Check permissions, or specify a “PPPD Path” option in wvdial.conf.
    –> Don’t know what to do! Starting pppd and hoping for the best.
    –> Unable to run /usr/sbin/pppd.
    –> Check permissions, or specify a “PPPD Path” option in wvdial.conf.
    –> Don’t know what to do! Starting pppd and hoping for the best.
    –> Unable to run /usr/sbin/pppd.
    –> Check permissions, or specify a “PPPD Path” option in wvdial.conf.
    –> Don’t know what to do! Starting pppd and hoping for the best.
    –> Unable to run /usr/sbin/pppd.
    –> Check permissions, or specify a “PPPD Path” option in wvdial.conf.
    –> Don’t know what to do! Starting pppd and hoping for the best.
    –> Unable to run /usr/sbin/pppd.
    –> Check permissions, or specify a “PPPD Path” option in wvdial.conf.
    –> Don’t know what to do! Starting pppd and hoping for the best.
    –> Unable to run /usr/sbin/pppd.
    –> Check permissions, or specify a “PPPD Path” option in wvdial.conf.
    –> Don’t know what to do! Starting pppd and hoping for the best.
    –> Unable to run /usr/sbin/pppd.
    –> Check permissions, or specify a “PPPD Path” option in wvdial.conf.

  1. August 15, 2008 at 7:44 pm
  2. December 10, 2008 at 7:32 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: