Powered By Blogger

Monday, August 4, 2008

Internet Connection using BSNL CDMA WLL Phone in Linux for HTL Phone

have anyone connected Internet using BSNL CDMA WLL HTL Phone which is unlimited for rs. 250/- in linux operating system

i've tried this and i've connected also.. if anyone needs how to use then contact me . i'll give you an idea about this..

34 comments:

Sumit Sabhnani said...

Hi Hemanathan this is sumit i want your help to run my wll internet connection in linux i tried your first method that is explained above but it is not working in Linux Suse 11.0 so please give me some more idea about this internet connection in linux.

Thanxxxxxxxx

Heman said...

Tell me what are the messages that you get and which model cdma wll that you have.. i'll give you a step by step procedure..

Unknown said...

hi where r u i want to meet you i am having lot of doubts i need ur help when v will meet

Unknown said...

hi heman are u working in microsoft or ibm or intel
reply me

Unknown said...

I am using fedora9 OS. I have unable to connect to the internet using BSNL wll usb modem. Modem is Huawei EC325. I have tried to connect using the command "wvdial bsnl" and result is shown below. I have unable to browse the website at all. Please let me know. I have configured as per the steps given by you. Still unable to connect to internet via my linux OS fedora 9. Please help me.

[root@localhost etc]# wvdial bsnl
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: AT+CRM=1
AT+CRM=1
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT 230400
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Wed Oct 1 17:21:20 2008
--> Pid of pppd: 5888
--> Using interface ppp0
--> pppd: �[05]� �[05]� �[0f]�
--> pppd: �[05]� �[05]� �[0f]�
--> pppd: �[05]� �[05]� �[0f]�
--> pppd: �[05]� �[05]� �[0f]�
--> pppd: �[05]� �[05]� �[0f]�
--> local IP address 10.2.0.12
--> pppd: �[05]� �[05]� �[0f]�
--> remote IP address 10.64.64.64
--> pppd: �[05]� �[05]� �[0f]�
--> primary DNS address 218.248.240.23
--> pppd: �[05]� �[05]� �[0f]�
--> secondary DNS address 218.248.240.135
--> pppd: �[05]� �[05]� �[0f]�

Heman said...

Everything is fine here.. Now you open the file named resolv.conf and add DNS addresses as 218.248.240.23 and 218.248.240.135

i'll explain through commands..

vi /etc/resolv.conf

press insert button for editing
then type the following

nameserver 218.248.240.23
nameserver 218.248.240.135


now press esc :wq! and press enter

now start connecting through the command wvdial bsnl .. you will be able to get connected to internet ..
suppose if that also gives errors then restart your system and try wvdial bsnl.. your problem gets resolved..

Unknown said...

Thanks a lot Hemanath. Now I have able to connect to internet using fedora9 OS without any issue. I am very happy with your resolution ........

Unknown said...

Hi Hemanathan this is Anoop,I want to coonect my HTL CLARITY_IIA CDMA BSNL phone to internet using fedora.i cannot know what i could do,i have no usb driver(fedora) for that phone .please help me
anoop2five@hotmail.com

Heman said...

hi Anoop have did the procedure as i've explained in the blog...

nomad said...

Hello Heman,

I've come across an issue in configuring the modem (HTL BSNL, ubuntu 7.10 ).
$>lsusb lists my modem
but a wvdialconf is not configuring the modem. But I tried the modprobe command from commandline now my modem gets configured.

But after
$>wvdial bsnl it displaye it got connected but still I am not able to browse.
please see the console log

root@krishnan-laptop:/home/krishnan# wvdialconf
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
Modem Port Scan<*1>: S0 S1 S2 S3
Sorry, no modem was detected!
Is it in use by another program?
Did you configure it properly with setserial?
Please read the FAQ at
If you still have problems,
root@krishnan-laptop:/home/krishnan# /sbin/modprobe usbserial vendor=0x15eb product=0x0001
root@krishnan-laptop:/home/krishnan# wvdialconf
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
Modem Port Scan<*1>: S0 S1 S2 S3
WvModem<*1>: Cannot get information for serial port.
ttyUSB0<*1>: ATQ0 V1 E1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB0<*1>: Modem Identifier: ATI -- ERROR
ttyUSB0<*1>: Speed 4800: AT -- OK
ttyUSB0<*1>: Speed 9600: AT -- OK
ttyUSB0<*1>: Speed 19200: AT -- OK
ttyUSB0<*1>: Speed 38400: AT -- OK
ttyUSB0<*1>: Speed 57600: AT -- OK
ttyUSB0<*1>: Speed 115200: AT -- OK
ttyUSB0<*1>: Speed 230400: AT -- OK
ttyUSB0<*1>: Speed 460800: AT -- OK
ttyUSB0<*1>: Max speed is 460800; that should be safe.
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
WvModem<*1>: Cannot get information for serial port.
ttyUSB1<*1>: ATQ0 V1 E1 -- [10]
ttyUSB1<*1>: failed with 2400 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Found a modem on /dev/ttyUSB0.
Modem configuration written to /etc/wvdial.conf.ttyUSB0: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
root@krishnan-laptop:/home/krishnan# wvdial bsnl
WvDial<*1>: WvDial: Internet dialer version 1.56
WvModem<*1>: Cannot get information for serial port.
WvDial<*1>: Initializing modem.
WvDial<*1>: Sending: ATZ
WvDial Modem<*1>: ATZ
WvDial Modem<*1>: OK
WvDial<*1>: Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem<*1>: OK
WvDial<*1>: Sending: AT+CRM=1;+CPS=33;+CMUX=1;+CTA=0
WvDial Modem<*1>: AT+CRM=1;+CPS=33;+CMUX=1;+CTA=0
WvDial Modem<*1>: OK
WvDial<*1>: Modem initialized.
WvDial<*1>: Sending: ATDT044#777
WvDial<*1>: Waiting for carrier.
WvDial Modem<*1>: ATDT044#777
WvDial Modem<*1>: CONNECT
WvDial<*1>: Carrier detected. Starting PPP immediately.
WvDial: Starting pppd at Sat Nov 22 14:10:15 2008
WvDial: Pid of pppd: 5891
WvDial<*1>: Using interface ppp0
WvDial<*1>: local IP address 10.2.0.81
WvDial<*1>: remote IP address 10.64.64.64
WvDial<*1>: primary DNS address 218.248.240.79
WvDial<*1>: secondary DNS address 218.248.240.24
I've tried resol dns address but no luck
Your suggestions will be greatly appreciated
thanks
krishnan

UmpteenOrdeals said...

this is a dumb Q......but can u gimme a site from where i can dwnld Ubuntu 7.01

Sajith said...

Hi Heman
I'm using Kubuntu 8.10 and i'm using a HTL CLARITY-IIA CDMA BSNL phone to connect to the internet. I tried the procedure you've given in this blog and i created the rules file. But when i restarted my system and entered the wvdialconf command the following message is displayed...



Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1 S2 S3


Sorry, no modem was detected! Is it in use by another program?
Did you configure it properly with setserial?
Please read the FAQ at http://open.nit.ca/wiki/?WvDial

If you still have problems, send mail to wvdial-list@lists.nit.ca.

What should i do????

Heman said...

Very simple.. just unplug the usb cable or switch off the WLL Phone and then switch on without lifting the receiver plug the cable to the system and then restart the system and try wvdial command again.. you should get it.. (don't lift the receiver)


If it fails then check the code written in the rules file or it's extension there may be some mistake..

Heman said...

hi krish sorry for late.. try the resolv.conf file with the following contents

nameserver 218.248.240.79
nameserver 218.248.240.24

this would resolve your problem..

Heman said...

Hi Sajith .. try this command

modprobe usbserial

this can also resolve your problem..

Sajith said...

Dear Heman.. Thank you for taking interest in my problem. But again i failed to configure my internet connection. When i used the modprobe usbserial the following error occured

FATAL: Error inserting usbserial
(/lib/modules/2.6.27-7-generic/kernel/drivers/usb/serial/usbserial.ko): Operation not permitted


In the blog you gave instruction as

SUBSYSTEM=="usb",SYSFS{idproduct}=="0001",SYSFS{idVendor}=="15eb",RUN+="/sbin/modprobe usbserial vendor=0x15eb product=0x0001"

SUBSYSTEM=="usb",SYSFS{idproduct}=="0001",SYSFS{idVendor}=="15eb",RUN+="/sbin/modprobe ppp_generic"


now press ESC key and type :wq! and then press enter ro save and quit
reboot the system and give the command wvdialconf now the modem gets detected and gives some thing like this

I didn't understand what "press enter ro save and quit" means


Is it necessary to use VI for editing???
Please help......

Sajith said...

Hi Heman,
Finally i got it. That was my fault. I replaced {idproduct} with {idProduct}. then it worked. Thanks a lot Heman. I was looking for this for last 6 months. Now i got it thank you very much. Wishing you a happy 2009............

Anonymous said...

Hello sir, thanks for helping
i can connect bsnl WLL using usb port,,,

i followed your procedures



sudo vi /etc/wvdialconf

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = ATM0
Phone = #777
Username = devl714
Password = 29040714
Modem Type = Analog Modem
Stupid Mode = 1
SetVolume = 0
Baud = 9600
New PPPD = yes
Dial Command = ATDT
Modem = /dev/ttyUSB0
FlowControl = CRTSCTS


and then


mani@mani-desktop:~$ sudo wvdial
--> 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: ATM0
ATM0
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
NO CARRIER
--> No Carrier! Trying again.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
~[7f]}#@!}!}!} }.}'}"}(}"}"}&} } } } ,1~
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Mon Feb 9 20:40:17 2009
--> Pid of pppd: 5932
--> Using interface ppp0
--> pppd: �O��0�[06][08] �[06][08]
--> pppd: �O��0�[06][08] �[06][08]
--> pppd: �O��0�[06][08] �[06][08]
--> pppd: �O��0�[06][08] �[06][08]
--> local IP address 192.188.188.66
--> pppd: �O��0�[06][08] �[06][08]
--> remote IP address 192.188.188.17
--> pppd: �O��0�[06][08] �[06][08]
--> pppd: �O��0�[06][08] �[06][08]
--> pppd: �O��0�[06][08] �[06][08]
--> pppd: �O��0�[06][08] �[06][08]
--> Connect time 3.0 minutes.
--> pppd: �O��0�[06][08] �[06][08]
--> pppd: �O��0�[06][08] �[06][08]
--> pppd: �O��0�[06][08] �[06][08]
--> pppd: �O��0�[06][08] �[06][08]
--> Disconnecting at Mon Feb 9 20:43:27 2009
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> Auto Reconnect will be attempted in 5 seconds
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.
--> Disconnecting at Mon Feb 9 20:43:48 2009
mani@mani-desktop:~$



pl help, i need to talk with you sir, can you send your mobile no.?

Heman said...

hi Arulalan contact me through my mail id heman.nathan@rediffmail.com

Shakti Garg said...

hi

i recently bought a CDMA bsnl wll connection with htl modem: model ets1201.
i read the method given by you in your blog and tried it on ubuntu
8.04(Hardy heron).

i configured by doing this.
1) lsusb gives the usb port as
Bus 001 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 002: ID 12d1:1010 Huawei technologies Inc
Bus 002 Device 001: ID 0000:0000

2)
after that,In the terminal i type vi /etc/udev/rules.d/50-cdma.rules
and i press Insert key for typing the rules in to it

SUBSYSTEM=="usb",SYSFS{idproduct}=="1010",SYSFS{idVendor}=="12d1",RUN+="/sbin/modprobe
usbserial vendor=0x12d1 product=0x1010"

SUBSYSTEM=="usb",SYSFS{idproduct}=="1010",SYSFS{idVendor}=="12d1",RUN+="/sbin/modprobe
ppp_generic"

3)
after saving it, i reboot the system and give command
sudo wvdialconf with output :

Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S1 S2 S3 S4


Sorry, no modem was detected! Is it in use by another program?
Did you configure it properly with setserial?
Please read the FAQ at http://open.nit.ca/wiki/?WvDial

If you still have problems, send mail to wvdial-list@lists.nit.ca.

4) what should i do now.....???????

5)i checked out there is no file like /dev/ttyUSB0 in my linux system,
which u have indicated as the modem in the example.
is it anything to do with it???????

pleasee help me out..............................

nomad said...

Hi Heman,

Thanks for your help.Now I am able to browse web pages.

But there are some issues still remain

1. It will not connect once the connection failed.

2.Speed of the connection is too slow (is there any way to increase baud? only if it increase the throughput)

I usually need a USB reset ( some times need to ON/OFF the phone itself) to reconnect.

I would like to know whether these are common to all or not

thanks in advance
Krish

PRAVEEN.V said...

dear heman,
i am using debian OS.i got LG wll phone from bsnl(model LSP 340E).
this is connected through a pci serial port.i can't connect it linux.so please help me

Unknown said...

Hi Hemanathan,
i am using BSNL Broadband WLL Rs 250/- Plan (LG CDMA Usb Modem)at Tiruvallur Dist, Tamil Nadu. I installed Dual OS Win XP & Fedora 6.0, i am new user to linux. pls give step by step instruction to configur dial up networking & Connecting.. Help in this regard will be appriciated.

Heman said...

Hi Raja,
i'm also from tiruvallur.. no needs to worry raja.. i've given all the step by step instructions even the new persons who are new to linux can follow.. In this blog you will find two posts which are related to each other .. just go through both the posts and try it and if still you face any issues then you do a post. i'll reply..

rajkumar.r said...

I am on BSNL WLL internet and it was much fine for last 2 months since connection. Recently, it was connecting randomly and getting no data suddenly. My internet connection remains connected but i cant browse any websites. I tried out in windows XP, Vista, and Ubuntu, and result is same. But randomly its connecting but with a very very low speed around 2 or 3KBPS download. [previously i got around 14-17 Kbps. I have also tried reinstalling the XP and Ubuntu Os for solving this problem but no use in that. Any help please?

Heman said...

Hi Rajkumar,

This happens whenever there is some issue in the network...

rajkumar.r said...

But it happens regularly to me alone, while my neighbouring friend can connect with their wll phone's. .

Abubacker Koya said...

Hi Hemanathan based on t he information from your blog I have been trying to connect my WLL phone for the whole night yesterday. it was in vain. Kindly help me if possible. BSNL WLL phone in Ubuntu linex.

Louis Susairaj said...

hi Heman
I am using a mac can you help me connect the HTL Clearity 11A will phone

Unknown said...

how to configure VPN connection in linux OS

Sukumar said...

hi Heman,
i hav bsnl cdma wll phone.i want to connect it to my fedora 10.
i had followed ur procedure but my system is not recognizing any modem.what should i do?plz give me a solution.

Sukumar.

Sukumar said...

hi heman,
i had bsnl cdma wll phone,i had followed ur procedure to configure to my fedora 10 but the modem was not recognized.what should i do,plz give me a solution.

Sukumar.

Dr Vaibhav Banait said...

Hi Hemanthan,
All was well till I upgraded to ubuntu 10LTS. I am using bsnl cdma clarity IIa. Now there appear to be no entry for grub menu.lstin ubuntu 10 lts. kindly update your blog for ubuntu 10 LTS

randy said...

Hello sir, I am a beginner for Linux and i am using Fedora 14-i686 OS. I am having BSNL HUAWEI WLL phone with ETS 1201 modem. I followed the steps given by you(heman-hemanathan.blogspot.com/.../bsnl-cdma-wll-internet-connection.html).
I can see my modem is connected to the usb port.As per the procedure i did all the things. After writing some data on the file 50-cdma.rules
i saved and reboot my system. Even though i did all the steps correctly still i get the message "No modem found".
Please, kindly spend your golden time for ten minutes and say the solution for this problem.
I am awaiting for your valuable reply, sir.
If u dont have time to post the solution, kindly mail me. ID:muruganbala609@gmail.com