Using MTS MBlaze on Mint Linux 14 / Ubuntu 12.04


Yes, Indeed ubuntu and Mint Linux both provides inbuilt support for MTS MBlaze , But sometime network GUI may not recognize your MTS dongle. You can configure "wvdial" to get online.


Install wvdial using
    sudo apt-get install wvdial

Yes, you are right you should install it in advance ;).

You will also need usb-modeswitch and usb-modeswitch-data. this might come preinstalled with your distribution, You can check this under Synaptics Package Manager.

Then you need to modify /etc/wvdial.conf configuration file. This might not present on your system by default, But no worries You can generate it by using wvdialconf command

Yogi-Lenovo ~ # wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0   S1   S2   S3   S4   S5   S6   S7  
Modem Port Scan<*1>: S8   S9   S10  S11  S12  S13  S14  S15 
Modem Port Scan<*1>: S16  S17  S18  S19  S20  S21  S22  S23 
Modem Port Scan<*1>: S24  S25  S26  S27  S28  S29  S30  S31 
ttyUSB0<Info>: Device or resource busy
Modem Port Scan<*1>: USB0
ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
ttyUSB2<*1>: ATQ0 V1 E1 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB2<*1>: Modem Identifier: ATI -- Manufacturer: +GMI: HUAWEI TECHNOLOGIES CO., LTD
ttyUSB2<*1>: Speed 9600: AT -- OK
ttyUSB2<*1>: Max speed is 9600; that should be safe.
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found a modem on /dev/ttyUSB2.
Modem configuration written to /etc/wvdial.conf.
ttyUSB2<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

 


This will generate a raw wvdial configuration file, You will need to modify this with MTS parameters.

Alternatively you can use below configuration in /etc/wvdial.conf:

[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


Next, Save it and run $sudo wvdial mts 
You will see somthing like below:

Yogi-Lenovo ~ # wvdial mts
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT 3100000
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Thu Nov 21 23:32:50 2013
--> Pid of pppd: 15289
--> Using interface ppp0

 


Once you are successful, Open Browser and check connectivity, Leave this terminal as it is, to disconnect, return back to terminal and Ctrl+C will disconnect you.

For Tata Photon and Reliance Netconnect you only need to replace USERNAME, PASSWORD and Phone parameter in wvdial.conf.

Hope it helps you get online. 

  

 

Popular posts from this blog

Grsecurity: Configure RHEL5/6 Kernel for Grsecurity

How to check Perl Module version in Linux

Linux Command line tips and Bash stuff