November 25, 2024, 03:16:47 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Using reliance CDMA phone as modem to connect internet  (Read 58384 times)

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Using reliance CDMA phone as modem to connect internet
« on: July 11, 2004, 03:06:35 PM »
Tutorial :Using CDMA phone as modem to connect internet ( Using Wvdialer as Internet Dialer) How to, Tutorial
Distro specific : No (Works on almost every standard Linux Distribution)
Skill level: Newbie
Time for procedure : Depends upon machine and user.
Prerequestic : Little knowledge of Linux operating, a reliance phone connected to PC using data cable.

Author's Note:

Earlier I  posted "a how to like reply" as answer to a post but due to lots of question on similar topic  I decided to write this detailed tutorial. This tutorial can be used to configure any reliance phone to connect to internet. If you have samsung USB phones then it get first configured automatically by KUDZU in Redhat then you can use following steps further to connect to internet. Most of the time your phone will not be autodetected by such utility if it has serial connectivity but don't worry it will still work. Here we will use Wvdial , which is a command line utility to connect to internet. There is also Kwvdial which is a GUI for same but I havn't used that yet.

Using CDMA phone as Modem to connect to internet
So to connect to internet using CDMA phone you have to use Wvdial. For first time you have to use Wvdialconf, a utility come with wvdial to configure it. To run it just connect your device and then run it using..
Code: [Select]
wvdialconf /etc/wvdial.conf It will show some testing and if it founds modem then will tell the port on which it founds.

Now open your /etc/wvdial.conf

There put following code (there will be few things already like modem string and modem port, use those string instead of given here as those are one which your modem or phone support.
Code: [Select]
[Modem0]
Modem=/dev/input/ttyS0
Baud=115200
SetVolume=0
Dial Command = ATDT
init1=ATZ
init2=AT+CRM=1          
FlowControl= Hardware (CRTSCTS)
[Dialer reliance]
Username= Ph No.
Password= Ph No.
Phone=#777
Stupid Mode= 1
Inherits = Modem0

Here in above code change /dev/input/ttyS0 to your computer's com port if you are using serial cable other if you are using USB then replace that with ttyACM2 or ttyACMx here x= you USB port.

Now to connect to internet type at console
Code: [Select]
wvdial relianceYou should be connected to internet if every thing is fine.

To disconnect you have to use Ctrl+C .

To check it open another terminal and type
Code: [Select]
ifconfig ppp0 If it is not connected it will say no such device found. If it gives some info then you are connected to internet.

Finally : I have not tested it on all reliance set but it should work most of the CDMA phones. I kindly request you all to share your experience and make it useful.
« Last Edit: August 23, 2009, 07:55:21 AM by Ricky »

Offline gowda

  • New Member
  • Posts: 2
LG2130 with LG2030's data cable on redhat 9
« Reply #1 on: April 27, 2005, 06:13:54 PM »
After about 2 weeks of playing around , my LG2130 is now making it possible to go out on the net . just so that everybody knows , the configuration you need ,

LG2130 cdma phone ,
AVON EZ surf USB data cable ,
rconnect1.0 from relianceInfocomm website(Select LG2030 and USB as your model)

-gowda

Offline knight17

  • Linux Noob !
  • *
  • Posts: 6
Using reliance CDMA phone as modem to connect internet
« Reply #2 on: December 05, 2006, 02:31:34 PM »
I tried to edit the file /etc/wvdial.conf with the file that you provided.
But it is showing the following error, after I give this command wvdial indicom (I named so instead of reliance)
Quote

--> WvDial: Internet dialer Version 1.55
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized
--> Sending: ATD#777
--> Waiting for carrier
ATDT#777
NO CARRIER
-->No Carrier! Trying again
-->Sending: STD#777
-->Waiting for Carrier.


This is repeating (like a loop) everytime.
What should I do to fix this ?

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Using reliance CDMA phone as modem to connect internet
« Reply #3 on: December 06, 2006, 06:50:37 PM »
I have answered you here --> Using TATA Indicom Walky as CDMA Modem
« Last Edit: August 23, 2009, 07:57:31 AM by Ricky »

Offline knight17

  • Linux Noob !
  • *
  • Posts: 6
Using reliance CDMA phone as modem to connect internet
« Reply #4 on: December 09, 2006, 01:24:16 PM »
Thanks man,I was able to connect in Ubuntu :)

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Re: Using reliance CDMA phone as modem to connect internet
« Reply #5 on: July 29, 2008, 01:36:50 PM »
I am glad it helped you :)

Offline jimm1909

  • New Member
  • Posts: 1
Re: Using reliance CDMA phone as modem to connect internet
« Reply #6 on: April 01, 2009, 12:56:09 AM »
I have answered you here --> http://www.linuxsolved.com/forums/ftopic2207.html

Wow thanks a lot. I had been having this problem forever and am very glad I found this thread.

thanks again

Jim Mason
« Last Edit: April 05, 2009, 07:07:21 AM by Ricky »

Offline jaikrit

  • New Member
  • Posts: 1
Re: Using reliance CDMA phone as modem to connect internet
« Reply #7 on: August 22, 2009, 07:31:21 PM »
great ..worked 4 me tooo :)

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Re: Using reliance CDMA phone as modem to connect internet
« Reply #8 on: August 23, 2009, 07:58:25 AM »
Glad to know it worked for you too, can you mention your handset make and cable type ?