Wednesday, May 2, 2012

running micromax 352g modem on ubuntu 12.04


This blog covers how to run the micromax 352g usb modem on ubuntu 12.04. The basic problem that arise is the device is detected as an usb device not as a modem.
So for that you have to configure it using usb_modeswitch which is installed by default or if you have an external internet connection via dsl then install the following packages....

usb_modeswitch::: sudo apt-get install usb-modeswitch
wvdial::: sudo apt-get install wvdial

if you are using ubuntu 12.04 download wvdial from the link below

download wvdial.deb

next fire up terminal and enter ...
$ watch lsusb
it will show something like this ...
Bus 002 Device 007: ID 1c9e:9605

which is your device, where 1c9e is the vendor id and 9605 is the device id...
make changes to usb_modeswitch configuration file...
$ sudo gedit /lib/udev/rules.d/40-usb_modeswitch.rules
nter some text below the line that said
LABEL="modeswitch_rules_begin"
It looks something like this :-
LABEL="modeswitch_rules_begin" 
 
#Micromax MMX352G USB 3G MODEM
ATTRS{idVendor}=="1c9e", ATTRS{idProduct}=="9605", RUN+="usb_modeswitch '%b/%k'"
 
save and then exit the editor.
 
next create a new file using ..
$ sudo gedit /etc/usb_modeswitch.d/1c9e\:9605
 
and add the following lines....


######################################################### Micromax MMX 352G USB 3G Modem
DefaultVendor= 0x1c9e
DefaultProduct=0x9605
TargetVendor= 0x1c9e
TargetProduct= 0x9605
CheckSuccess=20
MessageContent="55534243123456780000000000000606f50402527000000000000000000000"
 
finally we have to work out with usbserial module (that is what drivers are referred to in UNIX)

$ sudo gedit /etc/modules
 
Add the below mentioned line at the end of the file.
#MICROMAX 352G 3G USB MODEM
usbserial vendor=0x1c9e product=0x9605
 
note ::: remove lp if there in last line...

reboot and voila the connect through mobile broadband option shows up in the network connections icon... select ur country, network and enjoy....