old-www/HOWTO/Reliance-HOWTO/sect_05.html

355 lines
5.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>Configuring your Phone</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Reliance LG LSP 340 Series WLL Modem Setup HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Checking for PPP Support"
HREF="sect_04.html"><LINK
REL="NEXT"
TITLE="PPP Configuration"
HREF="sect_06.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Reliance LG LSP 340 Series WLL Modem Setup HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="sect_04.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="sect_06.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="sect_05"
></A
>5. Configuring your Phone</H1
><P
>Currently Reliance comes with one of two brands of handsets: LG and Samsung. TATA
Indicom also provides two handsets: LG and AXESSTEL.</P
><P
>Plug the cable to the phone and also to the system.</P
><P
>It is important to note that all these phones act as a serial modem so they do
not require a driver or anything. After you have connected your phone
to the cable, the cable is plugged in either COM1 or COM2 (and not COM3 or
COM4, as these are virtual ports).</P
><P
>Remember:</P
><P
></P
><UL
><LI
><P
>COM1 in LINUX is <TT
CLASS="filename"
>/dev/ttyS0</TT
></P
></LI
><LI
><P
>COM2 is LINUX is <TT
CLASS="filename"
>/dev/ttyS1</TT
></P
></LI
></UL
><P
>Your phone modem works on either of the two ports, but I suggest that
first try <TT
CLASS="filename"
>/dev/ttyS1</TT
>, so as not to disturb other peripherics on your system that are also using a serial port, which would then usually be on <TT
CLASS="filename"
>/dev/ttyS0</TT
>.</P
><P
>First check if your COM port is fine using the command</P
><P
><B
CLASS="command"
>setserial <TT
CLASS="filename"
>/dev/ttyS1</TT
> <TT
CLASS="option"
>-a</TT
></B
> </P
><P
>If it displays something like this: </P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13; dev/ttyS1, Line 1, UART: 16550A, Port: 0x02f8, IRQ: 3
Baud_base: 115200, close_delay: 50, divisor: 0
closing_wait: 3000
Flags: spd_normal skip_test
</PRE
></FONT
></TD
></TR
></TABLE
><P
>then your COM port is fine. If this does not work, it is possible that PPP support is not configured after all. Return to <A
HREF="sect_04.html"
>Section 4</A
> to check. If you are sure that PPP support is configured on your system, maybe the problem is with the COM port. You could try the other port in that case.</P
><P
>Now go to the shell and type</P
><P
><B
CLASS="command"
>cat <TT
CLASS="filename"
>/dev/ttyS1</TT
></B
> </P
><P
>If this prints nothing, your phone is configured. Type <B
CLASS="keycap"
>CTRL</B
>+<B
CLASS="keycap"
>C</B
> to exit.</P
><P
>If your modem is not configured, the <B
CLASS="command"
>cat</B
> command would give an error message like this:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>&#13; cat: /dev/ttyS1: No such device
</PRE
></FONT
></TD
></TR
></TABLE
><P
>Alternately, in case you use <SPAN
CLASS="application"
>KDE</SPAN
>, start the <SPAN
CLASS="application"
>KPPP</SPAN
> program:
go to the desktop and press <B
CLASS="keycap"
>Alt</B
>+<B
CLASS="keycap"
>F2</B
> and type <SPAN
CLASS="QUOTE"
>"kppp"</SPAN
> in the box which appears. This will
start <SPAN
CLASS="application"
>KPPP</SPAN
>.</P
><P
>Testing using <SPAN
CLASS="application"
>KPPP</SPAN
>:</P
><P
>Click on the <SPAN
CLASS="guibutton"
>Configure</SPAN
> button. Go to the <SPAN
CLASS="guibutton"
>Modem</SPAN
> tab.</P
>There add a new modem on <TT
CLASS="filename"
>/dev/ttyS1</TT
>and click <SPAN
CLASS="guibutton"
>OK</SPAN
>.
Now select the newly created modem and click the <SPAN
CLASS="guibutton"
>EDIT</SPAN
>button.
In the new box which appears, select <SPAN
CLASS="guibutton"
>Modem</SPAN
>and then click <SPAN
CLASS="guibutton"
>Query modem</SPAN
>.
If the modem is properly set then you will get the proper status of the
modem. It will first say something like <SPAN
CLASS="QUOTE"
>"Finding Modem"</SPAN
>, then some more messages.
<DIV
CLASS="warning"
><P
></P
><TABLE
CLASS="warning"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/warning.gif"
HSPACE="5"
ALT="Warning"></TD
><TH
ALIGN="LEFT"
VALIGN="CENTER"
><B
>Lock file</B
></TH
></TR
><TR
><TD
>&nbsp;</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>BE SURE TO UNCHECK THE <SPAN
CLASS="guibutton"
>USE LOCK FILE</SPAN
> CHECKBOX in the modem properties, else
it may give some random errors.</P
></TD
></TR
></TABLE
></DIV
><P
>If all is fine you will be presented with a window with some blank textboxes and you can go ahead.</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="sect_04.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="sect_06.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Checking for PPP Support</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>PPP Configuration</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>