Skip to content
Blog Step by step procedure to set up your BSNL wll (cdma) in ubuntu linux (kubuntu)

Step by step procedure to set up your BSNL wll (cdma) in ubuntu linux (kubuntu)

Help steps may be help to the users of bsnl wireless phones to connect to the web.
Please see the ‘Note’ it step 6 before starting…

1. Find the product and vendor ids.( You may need to become root).

$ lsusb

2. Now load the driver.

$ sudo /sbin/modprobe usbserial vendor=0×VVVV product=0×PPPP

Where VVVV is the vendor id and PPPP is the product id of your phone.

Note: If an error like “usbserial not found” shows up in ubuntu jaunty then please skip this step and do what is said at http://blog.dipinkrishna.info/2009/07/usbserial-not-found-in-ubuntu-jaunty.html and then continue the steps below.

3. Now load the ppp driver

$ sudo /sbin/modprobe ppp_generic

4. Check dmesg output

$ sudo dmesg

I got it as
[ 227.271459] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
[ 227.271485] usbserial_generic 2-1:1.0: generic converter detected
[ 227.271616] usb 2-1: generic converter now attached to ttyUSB0
[ 227.271627] usbserial_generic 2-1:1.1: generic converter detected
[ 227.271687] usb 2-1: generic converter now attached to ttyUSB1
[ 227.271697] usbcore: registered new interface driver usbserial_generic
[ 227.271700] /build/buildd/linux-2.6.24/drivers/usb/serial/usb-serial.c: USB Serial Driver core
[ 276.412779] PPP generic driver version 2.4.2

5. Now run wvdialconf.

$ sudo wvdial.conf

This will create a skeleton of wvdial.conf

6.Edit it so that it looks like

$ sudo gedit /etc/widial.conf

[Dialer Defaults]Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = at+crm=1;+cmux=1;+cps=33;+cta=0
Modem Type = Analog Modem
ISDN = 0
Phone = #777
Modem = /dev/ttyUSB0
Username = YOUR_USERNAME
Password = YOUR_PASSWORD
Baud = 460800
Stupid Mode = 1
Auto DNS
Check Def Route

Note : The Init2 & Init3 & Baud are for BSNL CLARITY PHONE…Others please use there phone’s specific…. if you have windows installed, get it from modem properties….

7. Now run wvdial to connect

$ wvdial

I got

–> Ignoring malformed input line: “Auto DNS”
–> Ignoring malformed input line: “Check Def Route”
–> 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
–> Sending: at+crm=1;+cmux=1;+cps=33;+cta=0
at+crm=1;+cmux=1;+cps=33;+cta=0
OK
–> Modem initialized.
–> Sending: ATDT#777
–> Waiting for carrier.
ATDT#777
CONNECT
–> Carrier detected. Starting PPP immediately.
–> Starting pppd at Wed Oct 22 21:30:16 2008
–> Pid of pppd: 6442
–> Using interface ppp0
–> pppd: �[17][07][08]X[16][07][08] [18][07][08]–> pppd: �[17][07][08]X[16][07][08] [18][07][08]–> pppd: �[17][07][08]X[16][07][08] [18][07][08]–> pppd: �[17][07][08]X[16][07][08] [18][07][08]–> pppd: �[17][07][08]X[16][07][08] [18][07][08]–> pppd: �[17][07][08]X[16][07][08] [18][07][08]–> local IP address 10.2.3.219
–> pppd: �[17][07][08]X[16][07][08] [18][07][08]–> remote IP address 10.64.64.64
–> pppd: �[17][07][08]X[16][07][08] [18][07][08]–> primary DNS address 218.248.240.79
–> pppd: �[17][07][08]X[16][07][08] [18][07][08]–> secondary DNS address 218.248.240.24
–> pppd: �[17][07][08]X[16][07][08] [18][07][08]

CRTL+C to disconnect

Believe.. this will help you all..

Please comment about your experience..

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.