[ubuntu] GrameenPhone’s Internet with Mobidata EDGE modem in ubuntu

Lot’s of UBUNTU users in Bangladesh are searching to configure Mobidata EDGE modem. Well, the most effective way to connect internet is wvdial. If it’s your lucky day then the following steps will work fine.

Step 1: First things first, make sure you are enable your repository from your software source.

Step 2: Now, in the terminal type

$ sudo wvdial

, If you are getting command not found that means you don’t have wvdialconf

For Ubuntu 9.10 (karmic koala) 4 files needed:

1. http://packages.ubuntu.com/karmic/i386/libwvstreams4.6-base/download
2. http://packages.ubuntu.com/karmic/i386/libwvstreams4.6-extras/download
3. http://packages.ubuntu.com/karmic/i386/libuniconf4.6/download
4. http://packages.ubuntu.com/karmic/i386/wvdial/download

All 4 files in .zip can be found (i386) into here

Update for Ubuntu 10.04
Although wvdial and dependencies are included into CD of 10.04 are NOT installed by default! Bug#400573
You do not need to download them, just use the .iso or LiveCD or LiveUSB following the procedure below:

1. right click ubuntu-10.04-desktop-i386.iso and ‘open with archive mounter’
(or mount LiveCD/LiveUSB)
2. right click on icon created (from 1) to ‘browse folder’
3. create a folder on Desktop (ex. named ‘wvdial’)
4. copy into that folder all 4 .deb files that exist into .iso/LiveCD/LiveUSB
… /pool/main/w/wvdial
and /pool/main/w/wvstreams
5. use System > Administration > Synaptic Package Manager
and then from menu File > Add downloaded packages > double click Desktop and then the folder you created at point #3, click open, follow instructions to
install

OR, you can got to step 5.

Step 3:If you can manage internet connection some how then go to terminal type

$ sudo apt-get install wvdialconf

Without installing PLEASE DON’T PROCEED.

Step 4: After installing wvdialconf you have a file name wvdial.conf in

/etc/wvdial.conf. Go to terminal type

$ sudo gedit /etc/wvdial.conf

. This will open the file with gEdit.

Step 5: Now copy and paste from below in /etc/wvdial.conf you are all most done!

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,”IP”,”gpinternet”
Modem Type = Analog Modem
ISDN = 0
Phone = *99***1#
Modem = /dev/ttyUSB0
Username = xyz
Password = xyz
Baud = 460800
New PPPD = yes

Step 5: You are done! Go to terminal and try again

$ sudo wvdial

. Hope you can find [connect] word!!

[NOTE:] make sure that your Mobidata EDGE modem found in /dev folder like /dev/ttyUSB0 or whatever! just put the name correctly in the modem section.

Now you can enjoy your GrameenPhone’s Internet with Mobidata EDGE modem in ubuntu all the time.

Enjoy 😉

About Tanveer
RIA (Rich Internet Application) Developer with a wide variety of business applications. Particularly interested in client/server and relational database design. Always interested in migration projects, as well as close interaction with the DB manufacturers.

26 Responses to [ubuntu] GrameenPhone’s Internet with Mobidata EDGE modem in ubuntu

  1. Rubel says:

    Works Great!

  2. Sahbaj says:

    boss good post. it solve my problem.

  3. Yudi says:

    Eventually, all went well, thank you boss

  4. Md Ashickur rahman says:

    I am facing trouble. When I give this command sudo wvdial these error come:

    –> WvDial: Internet dialer version 1.60
    –> Cannot open /dev/ttyUSB0: No such file or directory
    –> Cannot open /dev/ttyUSB0: No such file or directory
    –> Cannot open /dev/ttyUSB0: No such file or directory

    I am using Mobidata 3G Modem. What should I do Now.

    • Tanveer says:

      Please see my [NOTE:] make sure that your Mobidata EDGE modem found in /dev folder like /dev/ttyUSB0 or /dev/ttyUSB1 or whatever! just put the name correctly in the modem section.
      If your modem is not mounted as device in the /dev then please figure out whether it is mounted as device or some other things (i.e: CD-ROM)?

      • Syed Rakib Al Hasan says:

        when i open the gParted partition manager software, i can see my device…. but it’s not under /dev/sda or /dev/ttyUSB0 or something………. it’s under “Unallocated”

        and neither do i see any CD rom either…. how do i locate it??? i am using ubuntu 10.10.

  5. rahed says:

    how can i make sure that my Mobidata EDGE modem found in /dev folder like /dev/ttyUSB0 or /dev/ttyUSB1 or whatever! just put the name correctly in the modem section.
    If my modem is not mounted as device in the /dev then how i figure out whether it is mounted as device or some other things (i.e: CD-ROM)?
    plz help me

    • Tanveer says:

      In a console, try: $sudo lsusb
      it will list all USB devices something like:
      Bus 003 Device 002: ID 04a9:3160 Canon, Inc.
      Bus 003 Device 001: ID 0000:0000
      Bus 002 Device 001: ID 0000:0000

      Then you can look in /dev/bus/usb/ for the bus and device.
      Hope that helps.

  6. rahed says:

    i am using mobidata MBD 100HU

  7. Rajon says:

    Vaia ami mobidata modem die gp internet calate parsina.plz vaia help me.

  8. JOBAYER says:

    1.BHAIA, I”VE COMPLETED STEP3.I got wvdial.conf in etc folder but after putting your supplied code i find save option invisible.

    2.i cant find modem folder in dev.

    3.i also tried your following procedure & got that .

    Tanveer says:
    August 31, 2010 at 4:10 pm

    In a console, try: $sudo lsusb
    it will list all USB devices something like:
    Bus 003 Device 002: ID 04a9:3160 Canon, Inc.
    Bus 003 Device 001: ID 0000:0000
    Bus 002 Device 001: ID 0000:0000

    Then you can look in /dev/bus/usb/ for the bus and device

    4.what will be the procedure for banglalink?

    • Syed Rakib Al Hasan says:

      regarding point no. 1: could you solve this problem yet??? are you sure you included the SUDO keyword in your terminal command to open wvdial.conf file?

    • Sazazad says:

      i found it after the command in terminal
      than what can i do? to install my modem
      PLZ HELP ME

      Bus 003 Device 002: ID 04a9:3160 Canon, Inc.

      • Tanveer says:

        ok fine. then you can proceed with wvdial. please see my step by step procedure.

  9. JOBAYER says:

    bhaia please response me quickly.

    • Tanveer says:

      Hi Jobayer,
      For Banglalink you have to change Init3, Phone and so on .. go to bl website to get some more info.
      Could you please describe me what did it actually happen when you inset your usb modem into your computer? Should it mount as like; CD-Rom or modem or else?

  10. Syed Rakib Al Hasan says:

    my GP modem – Huaweii – is not mounted properly….. i can’t see it in the computer. and if i open the gParted application, then it shows the device as unallocated – no “/dev /blahblah”. how do i solve that?

  11. prince says:

    nice very very nice & helpful to us… thanks admin

Leave a comment