Tuesday, 12 August 2014

MTS MBlaze ubuntu setup


Bought an MTS MBlaze and set it up on Ubuntu Precise (12.04). I tried the autorun.sh script provided with the USB, in its flash storage. They described this in a How-to-install.txt. Script didn't work.

So, I tried using it through the detected CDMA connection. Enabled networking, manually edited the connections and set username:internet@internet.mtsindia.in and password : MTS. This didn't work either. The MTS network was detected but it could not be connected to. DuckDuckGo'ed the problem and found a soution.

Here, I followed exactly these steps:

  • Issue at terminal:
    sudo apt-get install wvdial
  • Issue at terminal:
    sudo apt-get install usb-modeswitch usb-modeswitch-data
  • Edit /etc/wvdial.conf and add this to it:
    [Dialer mts]
    Stupid Mode = 1
    Inherits = Modem0
    Password = mts
    Username = internet@internet.mtsindia.in
    Phone = #777
    [Modem0]
    Init1 = ATZ
    SetVolume = 0
    Modem = /dev/ttyUSB0
    Baud = 115200
    FlowControl = Hardware (CRTSCTS)
    Dial Command = ATDT
    
  • Save the file (make sure you edit it as root).
  • Issue@Terminal:
    sudo wvdial mts

wvdial then starts the connection and you can start browsing.

wvDial is a point-to-point protocol dialer [P2P Protocol]. It is used to establish a direct connection between nodes.
About usb-modeswitch, it is needed in Linux. The USB modem comes with on-board drivers for windows, and when plugged in, the drivers are installed (normal for flash storage devices). If the drivers are already installed the USB modem comes up.
In Linux, this usb-modeswitch tool is needed to switch flash-storage to usbserial.