How to configure BSNL Evdo on Ubuntu 10.04

Dear Viewers,
Follow the steps to configure your BSNL Evdo on Ubuntu 10.04.
Step : 1
Goto terminal (Ctrl+Alt+T)
Step : 2
Type this Command
lsusb
Output
cyberdon@goten-netpad:~$ lsusb
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 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 04f2:b057 Chicony Electronics Co., Ltd
Bus 001 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. Mass Storage Device
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Step : 3
Plugin the Device remember you should use the same port which you used during configuring.
Type this command again
lsusb
Output
cyberdon@goten-netpad:~$ lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 011: ID 19d2:fffe ONDA Communication S.p.A. <——-
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 04f2:b057 Chicony Electronics Co., Ltd
Bus 001 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. Mass Storage Device
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Here you will find your devices vender id and product id (Eg: Vender id:19d2 Product id:fffe)
Step : 4
Type this command
sudo modprobe usbserial vendor=0xXXXX product=0xXXXX
Here you will pass vender id and product id along with (0x—-)
Example : sudo modprobe usbserial vendor=0x19d2 product=0xfffe
Step : 5
Type this command
sudo lsusb -v |grep ONDA
Output
cyberdon@goten-netpad:~$ sudo lsusb -v |grep ONDA
[sudo] password for cyberdon:
Bus 003 Device 011: ID 19d2:fffe ONDA Communication S.p.A.
idVendor           0x19d2 ONDA Communication S.p.A.
Step : 6
Install wvdial
sudo apt-get install wvdial
If you got any errors during installation try the below one
sudo apt-get install wvdial –fix-missing
Step : 7
Type this command
sudo gedit /etc/wvdial.conf
Modify the file wvdial.conf
[Dialer Defaults]
Spupid mode = 1
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
; New PPPD = yes
Modem Type = Analog Modem
ISDN = 0
Init1 = ATZ
Phone = #777
Modem = /dev/ttyUSB0
Username = <Enter your Username>
Password = <Enter your Password>
Baud = 9600
Step : 8
Type this command
sudo wvdialconf /etc/wvdial.conf
Output
cyberdon@goten-netpad:~$ sudo wvdialconf /etc/wvdial.conf
Editing `/etc/wvdial.conf’.
Scanning your serial ports for a modem.
Modem Port Scan<*1>: S0   S1   S2   S3
WvModem<*1>: Cannot get information for serial port.
ttyUSB0<*1>: ATQ0 V1 E1 — OK
ttyUSB0<*1>: ATQ0 V1 E1 Z — OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 — OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 — OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 — OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
ttyUSB0<*1>: Modem Identifier: ATI — Manufacturer: QUALCOMM INCORPORATED
ttyUSB0<*1>: Speed 9600: AT — OK
ttyUSB0<*1>: Max speed is 9600; that should be safe.
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
WvModem<*1>: Cannot get information for serial port.
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.
WvModem<*1>: Cannot get information for serial port.
ttyUSB2<*1>: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
ttyUSB2<*1>: ATQ0 V1 E1 — failed with 9600 baud, next try: 9600 baud
ttyUSB2<*1>: ATQ0 V1 E1 — and failed too at 115200, giving up.
WvModem<*1>: Cannot get information for serial port.
ttyUSB3<*1>: ATQ0 V1 E1 — failed with 2400 baud, next try: 9600 baud
ttyUSB3<*1>: ATQ0 V1 E1 — failed with 9600 baud, next try: 9600 baud
ttyUSB3<*1>: ATQ0 V1 E1 — and failed too at 115200, giving up.
Found a modem on /dev/ttyUSB0.
Modem configuration written to /etc/wvdial.conf.
ttyUSB0<Info>: Speed 9600; init “ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0”
Step : 9
Type this command
sudo wvdial
Output
cyberdon@goten-netpad:~$ sudo wvdial
[sudo] password for cyberdon:
–> WvDial: Internet dialer version 1.60
–> Cannot get information for serial port.
–> Initializing modem.
–> Sending: 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#777
–> Waiting for carrier.
ATDT#777
CONNECT
–> Carrier detected.  Waiting for prompt.
~[7f]}#@!}!}!} }-}#}%B#}%}’}”}(}”{B~
–> PPP negotiation detected.
–> Starting pppd at Thu Jul 15 12:03:02 2010
–> Pid of pppd: 2467
–> Using interface ppp0
–> pppd: 0UQ[08]@SQ[08]
–> pppd: 0UQ[08]@SQ[08]
–> pppd: 0UQ[08]@SQ[08]
–> pppd: 0UQ[08]@SQ[08]
–> pppd: 0UQ[08]@SQ[08]
–> local  IP address 117.254.160.202
–> pppd: 0UQ[08]@SQ[08]
–> remote IP address 192.168.52.12
–> pppd: 0UQ[08]@SQ[08]
–> primary   DNS address 218.248.240.181
–> pppd: 0UQ[08]@SQ[08]
–> secondary DNS address 208.67.220.220
–> pppd: 0UQ[08]@SQ[08]
Note if you`re not connected try for two or times it will be connected check whether you have the BSNL Evdo tower nearby and range

Leave a comment