How to connect Micromax 3G mobile internet modem in Ubuntu 12.04

Last day i configured a Micromax 3G mobile internet modem…This is how i fixed it…The output of lsusb was like this

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 001 Device 003: ID 03f0:5307 Hewlett-Packard 
Bus 001 Device 008: ID 1c9e:9605 OMEGA TECHNOLOGY 
Bus 001 Device 006: ID 5986:0364 Acer, Inc

Create a config file

gksudo gedit /etc/usb_modeswitch.d/1c9e:9605

Paste this code in that config file

DefaultVendor = 0x1c9e 
DefaultProduct = 0x9605 
TargetVendor = 0x1c9e 
TargetProduct = 0x9605 MessageContent="55534243123456788000000080000606f50402527000000000000000000000"

Save and exit then

sudo modprobe usbserial vendor=0x1c9e product=0x9605 
sudo usb_modeswitch -c /etc/usb_modeswitch.d/1c9e\:9605

This will fix the issue….
You need to run this code always so you can add this to /etc/rc.local…Insert the below code just before exit 0 so that it will be part of your startup programs

sleep 10
 modprobe usbserial vendor=0x1c9e product=0x9605
 usb_modeswitch -c /etc/usb_modeswitch.d/1c9e\:9605
 sleep 20
 nmcli nm wwan on
 sleep 10
 nmcli con up id "your connection name here"

After restarting connect the device and wait for 10 seconds to get the device detected…

Advertisements

3 thoughts on “How to connect Micromax 3G mobile internet modem in Ubuntu 12.04

  1. Another way to do this work —-

    sudo modprobe option

    sudo chmod 777 > /sys/bus/usb-serial/drivers/option1/new_id

    sudo echo 1c9e 9605 > /sys/bus/usb-serial/drivers/option1/new_id

    Now, you can see your device gets detected by NetworkManager with New Mobile Broadband Connection.

  2. I have followed your steps but here is my output show after #wvdial
    WvDial: Internet dialer version 1.61
    –> Cannot get information for serial port.
    –> Initializing modem.
    –> Sending: ATZ
    ATZ
    OK
    –> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    OK
    –> Modem initialized.
    –> Sending: ATDT*99#
    –> Waiting for carrier.
    ATDT*99#
    CONNECT 7200000
    –> Carrier detected. Starting PPP immediately.
    –> Starting pppd at Mon Dec 9 15:07:55 2013
    –> Pid of pppd: 3092
    –> Using interface ppp0
    –> pppd: a[7f]
    –> pppd: a[7f]
    –> pppd: a[7f]
    –> pppd: a[7f]
    –> pppd: a[7f]
    –> pppd: a[7f]
    –> Disconnecting at Mon Dec 9 15:08:25 2013
    –> The PPP daemon has died: A modem hung up the phone (exit code = 16)
    –> man pppd explains pppd error codes in more detail.
    –> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
    –> Auto Reconnect will be attempted in 5 seconds
    –> Cannot get information for serial port.
    –> Initializing modem.
    –> Sending: ATZ
    ATZ
    OK
    –> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    OK
    –> Modem initialized.
    –> Cannot get information for serial port.
    –> Initializing modem.
    –> Sending: ATZ
    ATZ
    OK
    –> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    OK
    –> Modem initialized.
    –> Sending: ATDT*99#
    –> Waiting for carrier.
    ATDT*99#
    ERROR
    –> Invalid dial command.
    –> Disconnecting at Mon Dec 9 15:08:31 2013
    also wvdial.conf
    [Dialer Defaults]
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Stupid Mode = 1
    Modem Type = USB Modem
    ISDN = 0
    ;Phone = *99#
    Modem = /dev/ttyUSB1
    Dial Command = ATDT
    Baud = 460800
    New PPPD = yes
    Username = ” ”
    Password = ” ”
    Phone = *99#
    Auto DNS = 1
    Check Def Route = 1

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s