Internet via BSNL WLL phone on Ubuntu

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

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

17 comments

  1. Dear,
    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?
    thanks,
    ucul

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

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

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

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

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

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

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

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

Comments are closed.