How to Configure Micromax 3g Modem on Ubuntu 12.04 and 12.10
The latest version of Ubuntu is 12.10 (Quantum Quetzal) which comes with lots of updates when compared with its previous version, Ubuntu 12.04 (LTS). The drivers for most of the hardwares are available in the Ubuntu itself, but they may have some conflict while automatically configuring them. It is always a problem with the USB modem to configure automatically. So you have to do it manually. The people who are new to Ubuntu will just switch from that Operating System because of these types of small issues. It is very simple to fix these problems. Here I am going to explain how to configure Micromax 3g USB modem manually.
Some may try lots of things with Ubuntu’s configuration file. There is no need for doing that much. It can be simply achieved in 4 steps.
- Finding the Product ID of the USB Modem
- Editing the content of Modules
- Editing the content of usb_modeswitch.d
- Create a mobile Broadband connection
1. Finding the Product ID of the USB Modem
It is very simple to find the product ID of the Modem.
- Plugin the USB modem to the Computer
- Open the Terminal (ctrl+alt+t)
- Type the command lsusb (This lists the active USB devices connected to the computer along with the Product ID and the Vendor name)
- Make a note of the Product ID and Vendor name
Find the 1c9e:9605 OMEGA TECHNOLOGY - This is the Product ID and Vendor name for the Micromax MMX352G Modem which is just for the demonstration. Kindly remove all other USB devices because you might get confusion of all devices, only Plugin the USB modem. So you can find only USB modem device in the list. (The ID and the Name may differ according to the model)
2. Editing the content of Modules
- In the Terminal, type the following command to edit the “modules” file
sudo gedit /etc/modules
(Type your administrator password if it asks for)
- Text editor opens the modules file. Clear all the content and replace it with new content shown below:
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with “#” are ignored.
loop
lp
rtc
usbserial vendor=0x1c9e product=0×9605
option
(Change the vendor and product value if it is different for your USB modem, You can get this values in 1step Terminal window)
- Save the changes and close it.
3. Editing the content of usb_modeswitch.d
- In Terminal, type the command
gksudo gedit /etc/usb_modeswitch.d/1c9e:9605
The command opens the text file with the above mentioned name in the text editor.
- Add the following lines to that file and save it.
DefaultVendor = 0x1c9e
DefaultProduct = 0×9605
TargetVendor = 0x1c9e
TargetProduct = 0×9605
MessageContent=”55534243123456788000000080000606f50402527000000000000000000000″
- Close the text editor
(These values are only for the Micromax MMX352G Model. Change the values as per your device if you are using the different one)
- Execute these commands in the terminal as root user to configure the modem.
modprobe usbserial vendor=0x1c9e product=0×9605
usb_modeswitch -c /etc/usb_modeswitch.d/1c9e\:9605
Note:
- Use the Command su in the terminal for login as root user. Enter your root password and finish the login
- If you are new to root not yet assigned a password for the root user, Use the command sudo passwd to assign or change the password for the root Accoutnt
4.Create a mobile Broadband connection
- Open Network Connection Manager. You can open it by selecting Edit Connection from the dropdown menu which appears on clicking the network icon on the top right corner of the desktop (or) open the Dash Home and search for ”Network Connection” (or) select it from the Applications -> Customization -> Network Connection.
- Click the Add button on the Mobile Broadband tab
- Create a new mobile broadband connection using the wizard appeared. Add the appropriate country, service provider, plan and just finish the wizard after selecting the appropriate name for the connection. (Be careful in selecting the plan)
Connect using the Mobile Broadband.
- After restarting process finish the login and wait for few minutes. It would take some time to configure so please be patient.
- The new mobile broadband connection is visible and available on the network connection list.
- Connect to the Internet by clicking on that.
Now your Internet is Connected with your USB Modem on Ubuntu 12.04.
For Ubuntu 12.10:
The Mentioned steps worked Effectively better in Ubuntu 12.04. For the latest Version of Ubuntu 12.10 after all these steps you have to execute a additional command on the terminal.
- Open the Terminal.
- Change to root user using the su command.
- Provide the password .
- Now try the command
echo 1c9e 9605 > /sys/bus/usb-serial/drivers/option1/new_id
Wait for a while it will take some time . You will see your your modem connection visible on the default connection.
Note: If you want to run the command automatically whenever the system starts add the above code to the file rc.local before the line exit 0.
To edit the rc.local file use the command.
sudo gedit /etc/rc.local
Finally micromax 3g Modem Connected on the Ubuntu 12.10.
If you have any doubts, just drop your queries in the comment section.
If you like this post, Share it to your friends. Dont forget to Subscribe our Feeds, Follow us on Twitter and Facebook.








Hi Suriish,
I followed all the steps above. But my micromax 353G usb modem is not connecting to internet. one doubt, when I add a new mobile broadband connection, there is this username and password, but for AIRTEL 3G there is no such username or password, So I just left blank and saved the connection. upon restarting the PC without unplugging the USB, I can see my connection at the network connection list. But it is not connecting. need help will be greatly appreciated. I’m a new bee to ubuntu, hope I can change from windows and permanently use ubuntu.
thanks,
praveen
Hi praveen,
Thanks for your comment.
Make Sure that the drivers are installed correctly after executing the command “usb_modeswitch -c /etc/usb_modeswitch.d/1c9e\:9605 ” as given below.
………
……….
USB description data (for identification)
————————-
Manufacturer: USB Modem
Product: USB Modem
Serial No.: 1234567890ABCDEF
————————-
Looking for active driver …
OK, driver found (“usbserial_generic”)
OK, driver “usbserial_generic” detached
……………………..
…………………….
helo…
i founded error in terminal…after type the command ‘Isusb’… command not found… pls help
Install ” usbutils” from the Ubuntu software center and try again.
Thankx a ton bosssssss…
Boss what is this now after typeing command (gksudo gedit /etc/usb_modeswitch.d/1c9e:9605)……
(gksudo:3024): GConf-WARNING **: Client failed to connect to the D-BUS daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. GConf Error: No D-BUS daemon running (gksudo:3024): GConf-WARNING **: Client failed to connect to the D-BUS daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. GConf Error: No D-BUS daemon running (gksudo:3024): GConf-WARNING **: Client failed to connect to the D-BUS daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. GConf Error: No D-BUS daemon running (gksudo:3024): GConf-WARNING **: Client failed to connect to the D-BUS daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. GConf Error: No D-BUS daemon running (gksudo:3024): GConf-CRITICAL **: gconf_value_free: assertion `value != NULL’ failed (gedit:3027): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported ** (gedit:3027): WARNING **: Could not connect to session bus
pls solve it also…and help me…what can i do now
Hope there is a problem with the installation. Reinstall or update & upgrade the OS. This Give Better Solution.
got the same problem while executing
(gksudo gedit /etc/usb_modeswitch.d/1c9e:9605)……
(gksudo:3024): GConf-WARNING **: Client failed to connect to the D-BUS daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. GConf Error: No D-BUS daemon running (gksudo:3024): GConf-WARNING **: Client failed to connect to the D-BUS daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. GConf Error: No D-BUS daemon running (gksudo:3024): GConf-WARNING **: Client failed to connect to the D-BUS daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. GConf Error: No D-BUS daemon running (gksudo:3024): GConf-WARNING **: Client failed to connect to the D-BUS daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. GConf Error: No D-BUS daemon running (gksudo:3024): GConf-CRITICAL **: gconf_value_free: assertion `value != NULL’ failed (gedit:3027): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported ** (gedit:3027): WARNING **: Could not connect to session bus
How to get rid of this now? Plz Help
Connect to the internet through another source and Update your OS .
sudo apt-get update
sudo apt-get upgrade
Tnx a lot Suresh. It works, I was switching to Win7 for net to use my MMX 353G. Last command should read sudo gedit /etc/rc.local
Thanks Tasso. Updated
Hi Surish,
Thanks a ton for this post.
I am able to connect now in Ubunto 12.10 with your procedure.
But I am facing one problem. Its only connecting in EDGE where I have 3G connection.
I am able to connect the same 3G sim with a different device of ZTE which connected with out any manual config and connected in 3G.
Could you please help me what the configuration I need to do so that it will connect through 3G.
Thanks,
simanchal
hello suriish,
i followed all your steps above mentioned. i was not root user so first i switch to root user as you told and when i am executing this command…”modprobe usbserial vendor=0x1c9e product=0×9605″
i am getting this error…
root@ubuntu:/home/priyesh# modprobe usbserial vendor=0x1c9e product=0×9605
FATAL: Error inserting usbserial (/lib/modules/3.5.0-17-generic/kernel/drivers/usb/serial/usbserial.ko): Invalid argument
now please tell me how to resolve this error. i am using the same usb modem and having the same poduct id.
Thanks
priyesh
Check ur product id. Kindly send me the link of the screen shot of terminal after executing the command
lsusb and where u got the error.
Hello Suriish! Thanks for ur kind help
but in last steps i have problem
here
For Ubuntu 12.10:
The Mentioned steps worked Effectively better in Ubuntu 12.04. For the latest Version of Ubuntu 12.10 after all these steps you have to execute a additional command on the terminal.
Open the Terminal.
Change to root user using the su command.
Provide the password .
Now try the command
u say(3rd step) after su command, provide the password what password it is not accept my admin password or any new password
when i run su command then password they said ” Authentication Failure ”
so please help me,
Thanks!
Hi Akhand. U r welcome.
The root password and admin password both are different.
Open the terminal and Use the command
sudo passwd (to change the existing password or create a new password for root user.)
Note:
U r using the sudo command first time in the terminal it asks for the sudo password(admin password).
Provide ur admin password, after that it ask for the new password for the root user and also the conformation
Refer the Note in the 3rd Step.
For further Clarification drop a comment.
For Ubuntu 12.10:
The Mentioned steps worked Effectively better in Ubuntu 12.04. For the latest Version of Ubuntu 12.10 after all these steps you have to execute a additional command on the terminal.
Open the Terminal.
Change to root user using the su command.
Provide the password .
Now try the command
please tall about which password i provide ? when i run “su” command it is not accept any Password neither admin password nor any new, it is said ” Authentication Failure”
When I type in the command:
usb_modeswitch -c /etc/usb_modeswitch.d/12d1\:1001
(For Huawei E160 modem)
I am getting:
No default vendor/product ID given. Aborting.
No joy yet. What could be my mistake?
Change the content of the text file as
DefaultVendor= 0x12d1
DefaultProduct= 0×1001
;DetachStorageOnly=1
HuaweiMode=1
(Try the Command as root user instead of previous one)
usb_modeswitch -v 0x12d1 -p 0x1001b -H -W
wait for a while ..
New broadband connection visible under the network icon on the notification area.
I may add that the lsusb command is giving the following output:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 05a9:2640 OmniVision Technologies, Inc. OV2640 Webcam
Bus 005 Device 005: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem
I had followed all the steps elucidated by you meticulously, and tried a few times, and got stuck everytime with the last step.
for 12.10.after i give the first command .it says no directory like this exists.i changed it and gave the correct address then it said “permissin denied” .i was assigned as a root user.
I am not sure in which step you faced the problem, but I also get such problem. I thik if you type your code following by “su” only then you get such problem.. to get rid of this you have to set a password for “su”.
your login password and sudo password is same but “su” password is not set by default so you have to setup a password first for “su”
codes for terminal:-
sudo passwd
and enter the password for su (root) user
then you can login as su
but please consult with suriish
su
I accidentally overwrite at step 3 what should i do now…? please tell
Skip And Start From the Beginning.
First of all thanks a lot Suriish ji.
I searched in askubuntu.com but it did not work, finally your idea worked. what an idea sir ji.
In your tutorial I did not notice that first part of instruction was only for 12.04, but I applied all of them, then I saw that 12.10 part, and thought my self to be a burbak…
Whatever my following the first part did not go in vain and infact while following your tutorial I also learned how to se su password in ubuntu 12.10.
The funniest part is the echo code. I run the echo code and network name appeared on the top bar, I did not notice when it was happened..
I already had another connection setup, that was a reliance modem. fortunately it was automatically detected by ubuntu 12.10. so I did not had to face any problem.
So, now I see Airte and Reliance on my network connection menu
But, you also said that to run the echo code automatically we have to add it on startup file, but I did not wanted to do anything to startupfile in fear that it will slowed up my ubuntu booting. So I skipped it and restart my pc.
Like a charm, on booting my micromax was auto detected, and I could connect by clicking on any connection type “Airtel” or “Reliance” it does not matter…
Can you share I can I learn the same thing I mean to debug myself such problems
Thanks a lot again, you are a genius..
regards, ganesh
[MessageContent=”55534243123456788000000080000606f50402527000000000000000000000″ ]
What is this number? I have a Micromax MMX355G Modem.
regards
Shamik
Message content is one of the configuration setting of the USB modem, it is hex string containing the message sequence sends as a bulk transfer.
cannot save,as everytime restarting computer i have to write those commands to recognise my dongle and canot execute sudo gedit/etc/rc.local
using 64 bit version
getting error
FATAL: Error inserting usbserial (/lib/modules/3.5.0-23-generic/kernel/drivers/usb/serial/usbserial.ko): Invalid argument
after
Execute these commands in the terminal as root user to configure the modem.
modprobe usbserial vendor=0x1c9e product=0×9605
Instead of
product=0×9605
it has to be
product=0×9605
(a real letter x, not a multiplication sign!)
It seems that the web page software automatically and wrongly converts the x into a × character! But it has to be a real “x”