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 internetSo 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..
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.confThere put following code (there will be few things aleready like modem string and modem port, use those string instead of given here as those are one which your modem or phone support.
[Modem0]
Modem=/dev/input/ttyS0
Baud=115200
SetVolume=0
Dial Command = ATD
Tinit1=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
wvdial reliance
You 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
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 all reliance set but it should work. I kindly request you all to share your experience and make it useful.
No comments:
Post a Comment