Configuring BSNL EVDO Modem in Linux

1. Plug-in device and find Vendor and Product ID

#cat /proc/bus/usb/devices

You will find some entries like this

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  4 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=19d2 ProdID=fffe Rev= 0.00
S:  Manufacturer=ZTE, Incorporated
S:  Product=ZTE CDMA Tech

So we have  vendor and product ID

Vendor=19d2
ProdID=fffe

2. Now detect modem.

# modprobe usbserial vendor=0×1952 product=0xfffe

Note : The entries specified in hexadecimal format(0x).

3. Replug the Modem and verify

Check if its detected using dmesg

# dmesg

[   14.280399] usbcore: registered new interface driver usbserial
[   14.280399] usbserial: USB Serial support registered for generic
[   14.280399] usbserial_generic 1-1:1.0: generic converter detected
[   14.280399] usb 1-1: generic converter now attached to ttyUSB0
[   14.280399] usbserial_generic 1-1:1.1: generic converter detected
[   14.280399] usb 1-1: generic converter now attached to ttyUSB1
[   14.280399] usbserial_generic 1-1:1.2: generic converter detected
[   14.280399] usb 1-1: generic converter now attached to ttyUSB2
[   14.280399] usbserial_generic 1-1:1.3: generic converter detected
[   14.280399] usb 1-1: generic converter now attached to ttyUSB3
[   14.280399] usbcore: registered new interface driver usbserial_generic
[   14.280399] usbserial: USB Serial Driver core

So modem Device is  attached to  ttyUSB0

4. Now install and configure wvdial

#yum install wvdial
Configure /etc/wvdial.conf according to your EVDO connection.

[Dialer Defaults]

Modem=/dev/ttyUSB0
Baud=115200
Dial Command = ATDT
Baud=115200
Dial Command = ATDT
init1=ATZ
init2=AT+CRM=1
Flow Control= Hardware (CRTSCTS)
Username = <your username>
Password = <your password>
Phone = #777
Stupid Mode = 1

VN:F [1.9.17_1161]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.17_1161]
Rating: +1 (from 1 vote)
Configuring BSNL EVDO Modem in Linux, 10.0 out of 10 based on 1 rating

Related Posts

  • No Related Post
Related Posts with Thumbnails

About the Author

Sudheesh MP

has written 15 stories on this site.

Linux administrator(RHCE), Lynuxstuff.com(Founder)

Write a Comment

Copyright © 2012 CoreTimer.com|System Admin’s Reference. All rights reserved.

Switch to our mobile site