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

How to install Skype on Ubuntu 10.04 Lucid Lynx

UPDATE: Skype has now been uploaded to the "partner" official Ubuntu 10.04 Lucid Lynx repository. See Install Skype in Ubuntu 10.04 Lucid Lynx from official partner repository Command Line way Get the package: For 32-bit $ wget http://www.skype.com/go/getskype-linux-beta-ubuntu-32 For 64-bit $ wget http://www.skype.com/go/getskype-linux-beta-ubuntu-64 You will need to install the following libraries. $ sudo apt-get install libqt4-dbus libqt4-network libqt4-xml libasound2 Now install skype(the file u just downloaded, may be named intrepid-ibex) $ sudo dpkg -i skype-XXXXXXXXXXXX.deb If you still get some dependency error then just type the command below $ sudo apt-get -f install this will install the dependencies and the skype. Non - Terminal Download the setup 32 -bit 64 -bit You will these packages: libqt4-dbus libqt4-network libqt4-xml . Goto Synaptic manager and install them. Now Launch the Skype install .deb file (just double click it) and follow the on screen prompts....

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

How to install Skype on Ubuntu 9.10 Karmic Koala

The two methods  below doesn't work now. Please see http://blog.dipinkrishna.info/2009/11/how-to-download-and-install-skype-for_3060.html for a successfull installation of skype on ubuntu. I have provided two methods. Please do comment which one is successful. Follow these steps to install skype in ubuntu 9.10 (64 bit).         First add:             deb http://packages.medibuntu.org/ karmic free non-free         to your source.list Now open a terminal and type: $ sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list Then do an update: $ sudo apt-get update $ sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring $ sudo apt-get -q update And finally install Skype. $ sudo apt-get install skype Ready ... now start skype with $ skype OR Download the setup 32 -bit 64 -bit Launch the Skype i...