Hi, I had configured this modem for Dipin <http://linuxandmicrocontrollertips.blogspot.com/>, one of my students, some time back. It was not a big problem then. Both of us had blogged on it that time. We also a did similar procedure as mentined by Arun. See these links http://brainstorms.in/?p=194
http://linuxandmicrocontrollertips.blogspot.com/2008/10/easy-way-to-access-internet-through.html Dipin <%20http://linuxandmicrocontrollertips.blogspot.com/> had also written a small script to automate the process. I dont know whether he is on this list. I think he still has a working set up with BSNL Clarity. Regards Sunil http://brainstorms.in On Mon, Mar 9, 2009 at 9:33 AM, arun kamal <[email protected]> wrote: > > *Install bsnl wll clarity phone in linux(ubuntu)* > > Hello linuxians, > Failed to access internet through your bsnl clarity phone…. > Here is a 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 > * > Here is the step by step method* > > 1) Step 1 Load the driver > > $ sudo /sbin/modprobe usbserial vendor=0×15eb product=0×0001 > > 2) load ppp driver > > $ sudo /sbin/modprobe ppp_generic > > 3) Check dmesg output > > $ sudo dmesg > > I got > [ 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 > > 4) run wvdialconf > > $ sudo wvdial.conf > > This create a skeleton wvdial.conf > > 5) 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 > > Enter your username and password…username is your phone number including > your std code but no zero at first….password is the last four digits of your > phone number.. > > eg: My phone number is 0470-2150026 , so my username and password is : > Username : 4702150026 > Password : 0026 > > 6) 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 > > Enjoy surffing….. > > > > > > --~--~---------~--~----~------------~-------~--~----~ "Freedom is the only law". "Freedom Unplugged" http://www.ilug-tvm.org You received this message because you are subscribed to the Google Groups "ilug-tvm" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For details visit the website: www.ilug-tvm.org or the google group page: http://groups.google.com/group/ilug-tvm?hl=en -~----------~----~----~----~------~----~------~--~---
