Home > Computers, Gnu/Linux > Internet via BSNL WLL phone on Ubuntu

Internet via BSNL WLL phone on Ubuntu

October 23rd, 2008

One of my students brought a BSNL WLL phone saying that it is not getting recognized on Ubuntu 8.04. The model of the phone was HTL Clarity ( I suspect it to be some Chinese phone). I plugged it into my ubuntu system and fonund out the usb id via the lsusb command. The id was 0x15eb:0x0001. This is what I did to get it working on Ubuntu 8.04.

a) Load the usb serial driver wiith the usb id parameters.

# /sbin/modprobe usbserial vendor=0x15eb product=0x0001

b) Load the ppp drive

# /sbin/modprobe ppp_generic

c) Check the dmesg output

#dmesg |tail

[  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

d) run wvdialconf


This  will create a skeleton of /etc/wvdial.conf.

e) Edit the /etc/wvidal.conf so that it looks like the following
[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 = #######
Password =  ####
Baud = 460800
Stupid Mode = 1
Auto DNS
Check Def Route

I have put # in the place of username and password inthe listing above. Generally, the username will be the phone number. If your phone no is 0471223344 putusername as 471223344 and the password as 3344  ( the last four digits of phone number).

f) Run wvdial  to connect  to Internet. Use Ctrl+C to colse the connection.

Categories: Computers, Gnu/Linux Tags:
  1. October 28th, 2008 at 19:57 | #1

    I have made an executable for the above mentioned phone…
    just plugin your usb run this executable…you will be asked for the username and password, enter it … and surf the internet…

    You can find more details at http://linuxandmicrocontrollertips.blogspot.com/2008/10/easy-way-to-access-internet-through.html

  2. October 28th, 2008 at 23:49 | #2

    I had a problem with the download link…I have fixed the error…actually the previous link works for me at home…

  3. roopeshsivam
    December 27th, 2008 at 20:09 | #3

    how in 8.10 ??
    it already have some drivers

  4. ucul
    March 20th, 2009 at 01:08 | #4

    I have phone haier D1200 & after check with lsusb -> 15eb:0001
    is this same with your hardware?
    I’d try your tutorial but it’s only work on linux after queried it on winxp, please help me?

  5. March 23rd, 2009 at 07:57 | #5

    I do follow he steps vis-a-vis but I don’t get any of these following lines.
    [ 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

    so I can’t determine what tty device to configure.

    Lines of relevance in my dmesg after loading both 15eb:0001 and ppp drivers are : –

    PPP generic driver version 2.4.2
    drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
    usbcore: registered new driver usbserial_generic

    I grepped for a lot of keywords that I seen in the output that you get. I am using the Clarity 11A BSNL WLL modem. Could you please help me understand what I am doing wrong.
    and yes, the modem is ‘plugged’ in. 🙂

    have a nice day.

  6. vu2swx
    March 23rd, 2009 at 09:56 | #6

    See this

    [ 227.271616] usb 2-1: generic converter now attached to ttyUSB0
    This seems to be you modem.
    In wvdial.conf
    Modem = /dev/ttyUSB0

    Please let me know what you get when you run wvdial

  7. March 24th, 2009 at 15:19 | #7

    things started working…missed a very important part that is switching the modem off and plugging it in after unplugging and then turning it on. the usb device turns on first and then you turn on the phone manually.

    flaky line though 😛

  8. Riyas Majeed
    May 21st, 2009 at 20:14 | #8

    Hi..Im using BSNL WLL (HTL Clarity) phone ,
    from the lsusb command I got the USB id as 0×15eb:0×0001
    but when I enter the command “/sbin/modprobe usbserial vendor=0×15eb product=0×0001″

    I get ” FATAL: Usb serial not found” (I dont remember the correct error statement)….any way something close to that..

    Ive tried the executable file by Dipin Krishna..(Great job by him to make the task very simple :)) but after I enter my username and password again they show the same error..

    Pls help me :O

  9. dennisntstar
    May 23rd, 2009 at 14:23 | #9

    @Riyas Majeed
    Can you please say the distribution you are using.Is it ubuntu 9.04?

  10. Riyas Majeed
    May 29th, 2009 at 14:54 | #10

    Yes Im using Ubuntu 9.04 . i discovered that the latest version lacks wvdial but I downloaded the package with all dependencies yet the result is “USB serial not found”

  11. Riyas Majeed
    May 29th, 2009 at 14:58 | #11

    (Of course I can access my net from windows XP)

  12. roy
    August 13th, 2009 at 12:18 | #12

    I understood the 4 steps a,b,c&d.The step e didn’t understand.

    how can v Edit the /etc/wvidal.conf

    I am not an expert so i request u the step by step description.

  13. mady
    August 20th, 2009 at 08:20 | #14

    i tried to use the exe by dipin krishna but it gave a error :”segmentation eror”

    while using the main code
    # /sbin/modprobe usbserial vendor=0×15eb product=0×0001
    after pressing enter it said “fatel error access denied…..”
    can someone help….

  14. setiajie – indonesia
    December 6th, 2009 at 16:35 | #15

    hi guys,

    i’ve wrote the module / device driver for my haier d1200p phone … it works fine so i’m no need modprobe again … you can download my module at http://bebasupload.com/2xtz4spaqqp4/via-telecom-rev.120509.tar.gz.html

    but … i’ve problem .. this phone still must be quiried in windows xp .. so i hope you can help me to develop my module and please don’t forget to send your code back to me.

    thank you all 🙂

  15. February 16th, 2010 at 23:48 | #16

    i am using bsnl will phone internet connection. i couldnt connect internet in ubuntu 9.1. i am using HUAWEI FWT WIRELESS MODEM(153.6K) in tarang phone. i got a little bit knowldge in linux. I am very thankfull if u help me to solve my problem. send the step by step procedure to my email id. arivuoshofollower@yahoo.com

  16. February 27th, 2010 at 10:40 | #17

    hai i am elayaraja how to high speed internet fixet wirless telephone connected not accept for bsnl usd driver cd hy

Comments are closed.