Skip to main content

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..

Comments

Popular posts from this blog

Howto Install BSNL wll clarity phone in Ubuntu

Hello linixians, Failed to access internet through your bsnl clarity phone.... Here is an easy way 1. Just download this executable..... bsnlclarity and save it to your home folder. 2. Connect your phone to the system with the usb cable. 3. Now at terminal type $ sudo ./bsnlclarity You will be asked for your username and password for accessing the internet enter it ..... now start surffing Ctrl+C to stop

Blank (or black) screen after boot process in Ubuntu

You may encounter a blank screen after boot in ubuntu. This will be due to some update of certain packages. Follow these steps to correct the problem. 1. Select recovery mode from the boot menu. 2. Select login as root from the menu in recovery mode. 3. Type this at the prompt # sudo apt-get remove xorg-driver-fglrx # sudo dpkg-reconfigure -phigh xserver-xorg 4. Exit # exit 5. Now select Resume normal boot from the menu. Every thing should be OK by now. Please comment about your experience.

gtalx: Howto Gtalk in ubuntu ( google talk )

Did you fail to use " gtalk in ubuntu " ... Now you can chat and talk to your gmail buddies in ubuntu... 1. check for gtk2.0 and qt4 $ sudo apt-get install libgtk2.0-dev $ sudo apt-get install libqt4-dev libogg-dev libtheora-dev $ sudo apt-get install libsdl-dev libavcodec-dev libswscale-dev $ sudo apt-get install libexpat-dev libraw1394-dev libvorbis-dev $ sudo apt-get install libgsm1-dev  libspeexdsp-dev libmediastreamer0-dev libortp-dev 2. Remove 'pulse audio sound server' Open synaptic package manager and remove pulse audio 3. "Download gtalx" from here Dowload it here 4. Extract the file.... $ tar -zxvf 0.0.4.tar.gz 5. Get into the directory.... $ cd 0.0.4 and then... $ sudo chmod u+x make $ ./make $ sudo ./make install 6. Enjoy..... Please comment about your installation(whether it was a success or not....) Take gtalx from Applications > Internet > gtalx Enter your gmail login information..and click connect...