Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 21

Thread: USB modem in ubuntu

  1. #1
    Junior Member
    Join Date
    Jun 2008
    Posts
    16
    Thanks
    0
    Thanked 3 Times in 3 Posts
    Rep Power
    0

    Question USB modem in ubuntu

    Hello everyone..

    I have dual boot of windows xp and ubuntu,I am using internet through a usb modem
    (reliance zte MG 880) in windows xp.How can i use this usb modem in ubuntu??

    Thanks..

  2. #2
    Junior Member
    Join Date
    Dec 2008
    Posts
    2
    Thanks
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Default

    STEP 1: Enter the command."sudo pico /etc/wvdial.conf" (You will be asked to enter the admisnistrator password). This will open the file wvdial.conf.


    or enter the following commend


    sudo gedit /etc/wvdial.conf

    STEP 2: Delete the complete contents and paste the following in that file.

    [Modem0]
    Modem = /dev/ttyUSB0
    Baud = 115200
    SetVolume = 0
    Dial Command = ATDT
    Init1 = ATZ
    FlowControl = Hardware (CRTSCTS)
    [Dialer cdma]
    Username = 9380689709
    Password = 9380689709
    Phone = #777
    Stupid Mode = 1
    Inherits = Modem0

    STEP 3: The Username and password in the above content should be your reliance net connect number

    STEP 4: Now everything is set for you to connect.

    For connecting go to Terminal and enter
    "sudo modprobe usbserial vendor=0x19d2 product=0xfffd".
    This command is for ZTE MG 880 cards only for other cards it is different. It will ask you to enter a password. Now enter your administrator password.
    Then type "sudo wvdial cdma" now the following thing will appear in your Terminal.


    --> WvDial: Internet dialer version 1.60
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: ATZ
    ATZ
    OK
    --> Modem initialized.
    --> Sending: ATDT#777
    --> Waiting for carrier.
    ATDT#777
    CONNECT
    --> Carrier detected. Starting PPP immediately.
    --> Starting pppd at Sat May 24 22:26:04 2008
    --> Pid of pppd: 6099
    --> Using interface ppp0
    --> pppd: h�[06][08]h�[06][08]��[06][08]
    --> pppd: h�[06][08]h�[06][08]��[06][08]
    --> pppd: h�[06][08]h�[06][08]��[06][08]
    --> pppd: h�[06][08]h�[06][08]��[06][08]
    --> local IP address 220.226.8.58
    --> pppd: h�[06][08]h�[06][08]��[06][08]
    --> remote IP address 220.224.135.10
    --> pppd: h�[06][08]h�[06][08]��[06][08]
    --> primary DNS address 202.138.103.100
    --> pppd: h�[06][08]h�[06][08]��[06][08]
    --> secondary DNS address 202.138.96.2
    --> pppd: h�[06][08]h�[06][08]��[06][08]

    This shows your connected to the internet.
    Open your firefox browser and start browsing.

    Note:
    Everytime you may have to type the last two commands to connect to internet.
    sudo modprobe usbserial vendor=0x19d2 product=0xfffd
    sudo wvdial cdma

    otherwise " wvdial cdma" is enough

  3. The Following User Says Thank You to sundar_ima For This Useful Post:

    thegod_slayer (27th February 2011)

  4. #3
    Junior Member
    Join Date
    Jun 2008
    Posts
    16
    Thanks
    0
    Thanked 3 Times in 3 Posts
    Rep Power
    0

    Default configuration not worked in Redhat linux

    Thank you...

    it works in Ubuntu, but when i try this configuration in Redhat Linux , terminal shows that i am connected to internet,it also give me ipaddress,primary dns address and 2ndry dns server address but when i open firefox, it gives me error you are not connected to internet or ping to some domains like ping Yahoo!, reply that unknown host.

  5. #4
    Junior Member
    Join Date
    Dec 2008
    Posts
    2
    Thanks
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Default

    make sure that you are not in offline. if yes then go to file and un check work offline...

  6. #5
    Junior Member
    Join Date
    Feb 2011
    Location
    Baghdad
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default Does not work for me

    Thanks for this post. I have tried the the first statement
    sudo gedit/etc/vwdial.cong on my terminal but I keep getting the message (command not found). The screen I am getting is like:

    sarmad@sarmad-laptop:~$ sudo gedit/etc/vwdial.conf
    sudo: gedit/etc/vwdial.conf: command not found
    sarmad@sarmad-laptop:~$

    Can you please help me knowing the reason why I am getting this message and my command is not executed. I am still very novice on this topic

    Thanks a lot

  7. #6
    Member thegod_slayer's Avatar
    Join Date
    Aug 2010
    Location
    west bengal
    Posts
    40
    Thanks
    6
    Thanked 6 Times in 6 Posts
    Rep Power
    0

    Default

    sarmad first you need to create the file wvdial.conf

    so first you need to type sudo pico /etc/wvdial.conf

    then try the rest of the code in sundar ima's post.

  8. #7
    Junior Member
    Join Date
    Feb 2011
    Location
    Baghdad
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default Still not able to connect my USB Modem EVDO

    The God Slayer: Thanks a lot for the reply. I had only a stupid mistake which was simply not leaving a space after gedit. However, it did not work with me. I have installed Ubuntu 9.x and I followed the explained method but to no avail. I am still trying, this time with the code sakis3g , but I have not yet reached any result. Any help is much appreciated

  9. #8
    Member thegod_slayer's Avatar
    Join Date
    Aug 2010
    Location
    west bengal
    Posts
    40
    Thanks
    6
    Thanked 6 Times in 6 Posts
    Rep Power
    0

    Default solution for evdo...

    hi sarmad...
    don't worry about your mistake.
    to err is to human.

    by the way... i googled a bit on you problem and here's what i found.
    hope this works.....

    Download Packages and their dependencies. The package will be for WVdial that somehow enables UBU to get online. Package file names:
    wvdial_1.60.1+nmu2ubuntu1_i386.deb
    libuniconf4.6_4.6-2_i386.deb
    libwvstreams4.6-base_4.6-2_i386.deb
    libwvstreams4.6-extras_4.6-2_i386.deb
    The WVDIAL installer package requires the dependency packages listed above. So install them in the following order:
    libwvstreams4.6-extras_4.6-2_i386.deb
    libwvstreams4.6-base_4.6-2_i386.deb
    libuniconf4.6_4.6-2_i386.deb
    wvdial_1.60.1+nmu2ubuntu1_i386.deb


    after you have done all these goto
    nextdoornerd.blogspot.com
    Search for the post titled: Making BSNL EVDO work in Ubuntu.

    However you need to type sudo wvdial each time you need to get online since there is no auto detection like it happens in WIN XP.


    hopefully you will get your solution there.

    enjoy.

  10. #9
    Junior Member
    Join Date
    Feb 2011
    Location
    Baghdad
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Thank you so much for taking the pain of searching on behalf of me. I have not yet applied your proposed method, but I found that a Huawei Modem can be connected rather straight forward with my Ubuntu 10.10. The usb modem I am finding difficulty in having the Ubuntu to detect it is the a Qualcomm usb modem. BTW, I downloaded the Gobi-loader found in the (Synaptic Package Manager) which is supposed to deal with Qualcomm, but it also did not work. I know that the Synaptic Package Manager is responsible for downloading and installing packages to enrich ubuntu, but I do know how to use it to download and executes the deb programs you mention in your reply; may I have your help in this? Thanks

  11. #10
    Member thegod_slayer's Avatar
    Join Date
    Aug 2010
    Location
    west bengal
    Posts
    40
    Thanks
    6
    Thanked 6 Times in 6 Posts
    Rep Power
    0

    Default

    downloading deb packages from synaptic is easy...
    just write in the name, select it and then click apply.....
    it will get downloaded and installed.

    but if you want to download any deb package manually by google search then search and download it first then just double click it to install.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Detect modem
    By opnine in forum Linux hardware
    Replies: 2
    Last Post: 27th March 2011, 10:13 AM
  2. modem configuration
    By amitk_m in forum Slackware
    Replies: 1
    Last Post: 19th November 2010, 09:37 PM
  3. usb broadband modem
    By omango in forum Ubuntu / Debian
    Replies: 1
    Last Post: 22nd October 2010, 10:27 AM
  4. How to connect wireless USB modem in Ubuntu?
    By ovnandan in forum Linux hardware
    Replies: 1
    Last Post: 17th January 2010, 10:31 AM
  5. PCI Modem installation
    By asim.mcp in forum Linux software
    Replies: 1
    Last Post: 23rd July 2006, 08:21 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •