Results 1 to 9 of 9
Like Tree3Likes
  • 1 Post By sarveshmotihari
  • 1 Post By sarveshmotihari
  • 1 Post By sarveshmotihari

Thread: Micromax MMX 300c BSNL EVDO modem now working in linux

  1. #1
    Junior Member
    Join Date
    Feb 2012
    Liked
    0 times
    Posts
    3

    Question Micromax MMX 300c BSNL EVDO modem now working in linux

    Hi all, I was able to start my evdo modem in linux( ubuntu 10.04 LTS) after a lot of googling and trial and error. But its great now to see me typing this post from the linux. Its great to use net in linux. Lets see how it fans out. Anybody facing problems may please ask whatever help i can provide.

  2. #2
    Platinum Member mickey's Avatar
    Join Date
    Jan 2009
    Liked
    16 times
    Posts
    6,990

    Default

    what is the cost of this modem??

  3. #3
    Tech Crazy!! sarveshmotihari's Avatar
    Join Date
    Jan 2012
    Liked
    143 times
    Posts
    574

    Default

    How did you got it working?? Can you explain the steps??
    bsnl.me likes this.

  4. #4
    Tech Crazy!! sarveshmotihari's Avatar
    Join Date
    Jan 2012
    Liked
    143 times
    Posts
    574

    Default

    Quote Originally Posted by mickey View Post
    what is the cost of this modem??
    Cost of MMX 300C Modem is 1900. Whereas the latest Prithvi UE100 modem costs around 1100/-
    Link to Flipkart
    Micromax 300 C : Buy in India @ Flipkart.com
    bsnl.me likes this.

  5. #5
    Platinum Member mickey's Avatar
    Join Date
    Jan 2009
    Liked
    16 times
    Posts
    6,990

    Default

    thaika thankaou...

    you are very helpful buddy!!

  6. #6
    Platinum Member mickey's Avatar
    Join Date
    Jan 2009
    Liked
    16 times
    Posts
    6,990

    Default

    thaika thankaou...

    you are very helpful buddy!!

  7. #7
    Tech Crazy!! sarveshmotihari's Avatar
    Join Date
    Jan 2012
    Liked
    143 times
    Posts
    574

    Default

    You are always Welcome..
    bsnl.me likes this.

  8. #8
    Junior Member
    Join Date
    Feb 2012
    Liked
    0 times
    Posts
    3

    Default BSNL mmx 300c working

    Quote Originally Posted by sarveshmotihari View Post
    How did you got it working?? Can you explain the steps??
    The steps which i followed are as under:-

    (Initially ensure that none of your network connections from the network icon are set to connect automatically otherwise it will automatically start connecting and make the modem busy for the wvdial command. You can edit the connections available in the network icon by right clicking and then editing the connections by unselecting the "Connect automatically" button. This action will be required if you see that the connection icon starts operating. After disselecting connect automatically button you may have to restart the complete process by phusicallyremoving and inserting the modem again so that modem is released. )


    1. Create a file named 1e0e:cefe in /usr/share/usb_modeswitch/1e0e:cefe as under
    ################################################## ######
    # D-Link DWM-162-U5, Micromax MMX 300c
    #
    # Contributor: Zhang Le
    DefaultVendor= 0x05c6
    DefaultProduct= 0x2001
    TargetVendor= 0x1e0e
    TargetProduct= 0xcefe
    MessageContent="5553424312345678000000000000061b00 0000020000000000000000000000"
    Need Response=1

    2. Then create /etc/wvdial.conf as under
    [Dialer Defaults]
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Modem Type = Analog Modem
    Modem = /dev/ttyUSB2
    Phone = #777
    Compuserve = 0
    Aoto DNS = 1
    Username = 165
    Password = 165
    Baud = 460800
    Stupid Mode = 1
    Idle Seconds =7200
    Dial Command = ATDT

    3. Then use the following commands
    laptop:~$ lsusb
    Bus 005 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 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 002: ID 05c6:2001 Qualcomm, Inc.
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    laptop:~$ sudo usb_modeswitch -W -I -c /usr/share/usb_modeswitch/1e0e:cefe
    Enter the password for root user

    4. This command will switch the usb modem from storage device to modem i.e. 05c6:2001 will be converted to 1e0e:cefe, this can be confirmed by using the lsusb command again as under
    laptop:~$ lsusb
    Bus 005 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 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 003: ID 1e0e:cefe
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    5. You can see that Device 3 is now 1e0e:cefe, this is nothing but the vendor id and product id of the modem.

    6. Then use the following commands
    laptop:~$ sudo modprobe usbserial vendor=0x1e0e product=0xcefe

    7. Now give command as under:
    laptop:~$ sudo usb_modeswitch -v 0x1e0e -p 0xcefe -V 0x1e0e -P 0xcefe -M 555343123456780000000000000606f5040252700000000000 0000000000
    You should get the following messages:
    Looking for target devices ...
    Found devices in target mode or class (1)
    Looking for default devices ...
    Found default devices (1)
    Accessing device 003 on bus 002 ...
    Using endpoints 0x04 (out) and 0x84 (in)
    Not a storage device, skipping SCSI inquiry
    USB description data (for identification)
    -------------------------
    Manufacturer: Qualcomm, Incorporated
    Product: Qualcomm CDMA Technologies MSM
    Serial No.: Mass Storage
    -------------------------
    Looking for active driver ...
    OK, driver found ("usbserial_generic")
    OK, driver "usbserial_generic" detached
    Setting up communication with interface 0 ...
    Trying to send the message to endpoint 0x04 ...
    OK, message successfully sent
    -> Run lsusb to note any changes. Bye.

    8. Now its time to get connected by dialing wvdial command as uner:
    laptop:~$ sudo wvdial
    --> WvDial: Internet dialer version 1.60
    --> 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.
    --> Idle Seconds = 7200, disabling automatic reconnect.
    --> Sending: ATDT#777
    --> Waiting for carrier.
    ATDT#777
    CONNECT 153600
    --> Carrier detected. Starting PPP immediately.
    --> Starting pppd at Thu Feb 16 15:43:08 2012
    --> Pid of pppd: 1443
    --> Using interface ppp0
    --> pppd: (�[15] @�[15]
    --> pppd: (�[15] @�[15]
    --> pppd: (�[15] @�[15]
    --> pppd: (�[15] @�[15]
    --> pppd: (�[15] @�[15]
    --> local IP address ---.---.--.--
    --> pppd: (�[15] @�[15]
    --> remote IP address 192.---.--.--
    --> pppd: (�[15] @�[15]
    --> primary
    DNS address 218.---.---.--
    --> pppd: (�[15] @�[15]
    --> secondary DNS address 218.---.---.---
    --> pppd: (�[15] @�[15]

    9. At this point open the browser and enjoy HSIA surfing To close connection Press Ctrl+C while in the terminal window.
    And enjoy HSIA connection

  9. #9
    Junior Member
    Join Date
    Feb 2012
    Liked
    0 times
    Posts
    3

    Default

    Hi all, Today I learned how to use the bash script to enter the multiple commands mentioned as above in a single file and then just run the file as an application.
    For this the script file can be made as under: bash script file named bsnl,sh

    #!/bin/bash
    clear
    sudo usb_modeswitch -W -I -c /usr/share/usb_modeswitch/1e0e:cefe
    read -p "Press enter" name
    sudo usb_modeswitch -v 0x1e0e -p 0xcefe -V 0x1e0e -P 0xcefe -M 555343123456780000000000000606f5040252700000000000 0000000000
    sudo modprobe usbserial vendor=0x1e0e product=0xcefe
    sudo wvdial

    After saving this file as bsnl.sh(can give any name), just run the file in terminal or add this as application launcher in a pane or desktop to run it just by clicking on it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Micromax 300c for sale
    By kookaburra in forum Bsnl EVDO
    Replies: 5
    Last Post: 01-13-12, 08:00 AM
  2. Replies: 1
    Last Post: 01-13-12, 01:07 AM
  3. Replies: 1
    Last Post: 12-21-11, 08:26 PM
  4. Micromax MMX 300C EVDO Datacard Signal review
    By cyber_avijit in forum Bsnl EVDO
    Replies: 3
    Last Post: 10-17-10, 12:24 PM
  5. Micromax mmx 300c HSIA modem Fails to connect
    By parveezalam1 in forum Bsnl EVDO
    Replies: 0
    Last Post: 10-01-10, 09:36 PM