Home
Main Menu
Home
Help Docs
Newbies
Corporates
Gnu/Linux Distros
Programming
Databases
Links
Search
Regular
News
Interviews
Aaj Ka Tip
Aaj Ka Command
Community
Blogs
Wiki
Forums
Services
Free Software
Latest
Popular
Who's Online
We have 138 guests online

How to connect Internet using Reliance / Tata Indicom FWP Print E-mail
There are many of us who find it difficult to connect to the internet to their Reliance ISP using Reliance Fixed Wireless Telephone (FWP). A few months back I was also stuck in a similar problem but I can now easily connect using my Reliance Fixed Wireless Telephone. Several members have also been benefited using tips from mine and a lot of them requested me to publish a step by step guide to communicate internet using their Reliance Telephone. This made me enthusiastic to write this material. This is a complete guide for Reliance but can also be a guide for Tata Indicom FWP devices also. I used a Reliance FWP with LG LSP 340E base phone set.


Step 1

Connect your telephone to the ttyS1 port. ttyS1 is the same port as COM2 port (we use the term COM2 in Windows). If you use COM1 port then replace all ttyS1 (where you will find in this guide) with ttyS0.
[ COM(x)=ttyS(x-1) ]

Before proceed, you should check that you have fixed the Baud Rate to 115200 in your hand set.

Step 2

If you are able to communicate internet through Windows then there is no problem with it you can proceed to the next step or if there is a need to test your modem, you should produce the following command as root.



[root@localhost user]# wvdialconf /etc/wvdial.conf

Scanning your serial ports for a modem.


ttyS0: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud

ttyS0: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud

ttyS0: ATQ0 V1 E1 -- and failed too at 115200, giving up.

ttyS1: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud

ttyS1: ATQ0 V1 E1 -- OK

ttyS1: ATQ0 V1 E1 Z -- OK

ttyS1: ATQ0 V1 E1 S0=0 -- OK

ttyS1: ATQ0 V1 E1 S0=0 &C1 -- OK

ttyS1: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK

ttyS1: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

ttyS1: Modem Identifier: ATI -- 115200

ttyS1: Max speed is 115200; that should be safe.

ttyS1: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Port Scan: S3 S4 S5 S6 S7


Found a modem on /dev/ttyS1.

Modem configuration written to /etc/wvdial.conf.

ttyS1: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"


If everything is alright you should get similar result. A modem configuration is also be written to \'/etc/wvdial.conf\' with this but as it is not accurate with our need we will slightly change according to our need.

Note : It may happen that you have to provide the command in three/four times to communicate. So don\'t give up unless you have tried the command for three four times. In this time you must be communicated. If not please check your connection.

Now you should edit the file as follows,
Remove three leading `#' symbols from Phone, Username and Password fields.
Put the phone no, in the Phone Field (#777 for reliance) and provide the appropriate username (area code+phone no for reliance) and password (same as username)

Erase the Init2 string value, and put AT+CRM=1 in the init2 field.

Add a line Stupid Mode = 1 at the end of the file.

Save the file /etc/wvdial.conf

Step 3

Do not configure the KPPP unless you understand what you are doing. If you write a configuration file yourself, it is much easier to find the problem in future. I am configuring the file by editing it. If you still want to use KPPP you are encouraged to do it using these parameters. Advanced Connection Settings --> Extra Settings string value and put it as the init2 string value]


Step 4

Now you are almost at the last stage to connect to internet. Give the following command as root.

[root@localhost user]# wvdial


(If you see that you access is denied then give access to the file /etc/wvdial.conf to execute the command using chmod.)


[root@localhost user]# chmod a+x /etc/wvdial.conf


and after that you give the following command again
[root@localhost user]# wvdial


You may not be connected at the first time you have given the command. You may repeat three four times to connect but you will succeed at last. When you will get the connection, you can see the IP Addresses of your Primary and Secondary DNS servers. Note it down. Now disconnect, or you may test some pings and see what happens. You have to disconnect using Ctrl+C.


Edit the file /etc/wvdial.confusing your favourite editor. Erase the lines which were written by your computer at the previous step. Write down the following codes there.


[Dialer Defaults]

Modem=/dev/ttyS1      //Set it according to your serial port

Baud=115200

Dial Command = ATDT   //Add this line

init1=ATZ

init2=AT+CRM=1            //Edit this line

Flow Control= Hardware (CRTSCTS)     //Add this line

Username = YourUserName         //Edit this line

Password = YourPassword          //Edit this line

Phone = #777                             //Edit this line

Stupid Mode = 1             //Add this line


Save the file and exit from the editor.


[HINT : If you are unsure about the Init2 string value, you should log on to Windows and note down the Modem --> Advanced Connection Settings --> Extra Settings string value and put it as the init2 string value]


Step 4

Now you are almost at the last stage to connect to internet. Give the following command as root.

[root@localhost user]# wvdial


(If you see that you access is denied then give access to the file /etc/wvdial.conf to execute the command using chmod.)


[root@localhost user]# chmod a+x /etc/wvdial.conf


and after that you give the following command again
[root@localhost user]# wvdial


You may not be connected at the first time you have given the command. You may repeat three four times to connect but you will succeed at last. When you will get the connection, you can see the IP Addresses of your Primary and Secondary DNS servers. Note it down. Now disconnect, or you may test some pings and see what happens. You have to disconnect using Ctrl+C.


Step 5

Edit the tile '/etc/resolv.conf' file with your favourite editor and write down the IP Addresses you have obtained followed by the word nameserver.


nameserver [IP Address of Primary DNS Server]

nameserver [IP Address of Secondary DNS Server]


You have finished all your job and now ease back on your chair and give the command,

[root@localhost user]# wvdial


Always remember that you have to be root to use the above command. When you will see IP addresses of your Primary and Secondary DNS Servers, you have been connected to internt.

Remember to disconnect using Ctrl+C


Whats more? Enjoy..... and give feedback
to Anindya Banerjee (learner.linux AT gmail.com)
< Previous   Next >



Polls
Have you visited this site earlier?
  
gnulinuxclub
Join Us
About Us
Contact Us
Support Us
Acknowlegdement
Login(only for dev.)

Royalty Free Images

O'Reilly User Group discount!




Powered By GIMP GIMP
Contact Webmaster Copyleft 2011 gnulinuxclub.org