Sunday, October 3, 2010

Micromax MMX200g USB MODEM on Ubuntu

This modem really made me work hard, and so thought of writing it out. I have an Airtel GPRS sim card plugged in Micromax MMX200g USB Modem and wanted to get it working on my Ubuntu 9.10 (Karmic koala). The worst part was switching it from storage to modem mode. I did a lot of googling and binging but nothing got me to its usb_modswitch settings. But then, what worked surprised me. The only thing i did was 'Eject' it. Just unmount and eject the device using the GUI file explorer, and it will get detected as modem, /dev/ttyACM0, in my case.

YES, JUST EJECT THE DEVICE USING GUI FILE EXPLORER.

Then paste the following settings in /etc/wvdial.conf
--------------------------------
[Dialer Defaults]
Init1 = AT+CGDCONT=1,"IP","airtelgprs.com","",0,0
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
stupid mode = 1
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyACM0 # Your modem device may be different
ISDN = 0
Phone = *99#
Password = a
Username = a
--------------------------------
After that run the wvdial command:
# sudo wvdial
and there you should get connected.