[ubuntu] GrameenPhone’s Internet with Mobidata EDGE modem in ubuntu
May 26, 2010 26 Comments
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 😉
Works Great!
Thanks Rubel 😉
boss good post. it solve my problem.
you are welcome Sahbaj 🙂
Thanks for visiting my blog.
Eventually, all went well, thank you boss
you are most welcome 😀
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.
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)?
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.
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
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.
i am using mobidata MBD 100HU
if you modem mounted as CD-ROM you will find it in /media
Vaia ami mobidata modem die gp internet calate parsina.plz vaia help me.
Okay… what sort of problem you are facing please provide me in details…
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?
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?
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.
ok fine. then you can proceed with wvdial. please see my step by step procedure.
bhaia please response me quickly.
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?
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?
and btw, my GP modem is the new Huawei EG162G model EDGE usb stick – {this is written on the back of the device}. has anyone been able to use that on Linux????
Not sure how Huawei behaves but can you try lsusb?
If you cannot find your modem under /dev folder then it’s surely not mounted as device.
So I suggest you to go for PPPoE.
Try this one Idea Netsetter on Ubuntu Jaunty Jackalope : Step by step procedure
Best of luck.
nice very very nice & helpful to us… thanks admin
you welcome 🙂