280 lines
5.6 KiB
HTML
280 lines
5.6 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Let's Get Started</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="PPP Configuration"
|
|
HREF="sect_06.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="References"
|
|
HREF="sect_08.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_06.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
></TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="sect_08.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="sect1"
|
|
><H1
|
|
CLASS="sect1"
|
|
><A
|
|
NAME="sect_07"
|
|
></A
|
|
>7. Let's Get Started</H1
|
|
><P
|
|
>For testing purposes log in as <EM
|
|
>root</EM
|
|
> and open two different shells.</P
|
|
><P
|
|
>In one shell issue the command</P
|
|
><P
|
|
><B
|
|
CLASS="command"
|
|
>tail <TT
|
|
CLASS="option"
|
|
>-f</TT
|
|
> <TT
|
|
CLASS="filename"
|
|
>/var/log/messages</TT
|
|
></B
|
|
> </P
|
|
><P
|
|
>Start the PPP connection in the other shell using the command</P
|
|
><P
|
|
><B
|
|
CLASS="command"
|
|
>ppp-on</B
|
|
> </P
|
|
><P
|
|
>In the first shell you will see various messages indicating that the modem is
|
|
initialized and that the connection is being established. My <TT
|
|
CLASS="filename"
|
|
>/var/log/messages</TT
|
|
> looks like this:</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="screen"
|
|
> May 29 06:14:06 dhiraj pppd[2341]: pppd 2.4.2 started by root, uid 0
|
|
May 29 06:14:07 dhiraj chat[2343]: timeout set to 60 seconds
|
|
May 29 06:14:07 dhiraj chat[2343]: abort on (ERROR)
|
|
May 29 06:14:07 dhiraj chat[2343]: abort on (BUSY)
|
|
May 29 06:14:07 dhiraj chat[2343]: abort on (NO CARRIER)
|
|
May 29 06:14:07 dhiraj chat[2343]: abort on (NO DIALTONE)
|
|
May 29 06:14:07 dhiraj chat[2343]: send (ATZ^M)
|
|
May 29 06:14:07 dhiraj chat[2343]: expect (OK)
|
|
May 29 06:14:07 dhiraj chat[2343]: ATZ^M^M
|
|
May 29 06:14:07 dhiraj chat[2343]: OK
|
|
May 29 06:14:07 dhiraj chat[2343]: -- got it
|
|
May 29 06:14:07 dhiraj chat[2343]: send (at+crm=1^M)
|
|
May 29 06:14:07 dhiraj chat[2343]: expect (OK)
|
|
May 29 06:14:07 dhiraj chat[2343]: ^M
|
|
May 29 06:14:07 dhiraj chat[2343]: at+crm=1^M^M
|
|
May 29 06:14:07 dhiraj chat[2343]: OK
|
|
May 29 06:14:07 dhiraj chat[2343]: -- got it
|
|
May 29 06:14:07 dhiraj chat[2343]: send (atdt#777^M)
|
|
May 29 06:14:07 dhiraj chat[2343]: timeout set to 75 seconds
|
|
May 29 06:14:07 dhiraj chat[2343]: expect (CONNECT)
|
|
May 29 06:14:07 dhiraj chat[2343]: ^M
|
|
May 29 06:14:07 dhiraj chat[2343]: atdt#777^M^M
|
|
May 29 06:14:07 dhiraj chat[2343]: CONNECT
|
|
May 29 06:14:07 dhiraj chat[2343]: -- got it
|
|
May 29 06:14:07 dhiraj pppd[2341]: Serial connection established.
|
|
May 29 06:14:07 dhiraj pppd[2341]: Using interface ppp0
|
|
May 29 06:14:07 dhiraj pppd[2341]: Connect: ppp0 <--> /dev/ttyS1
|
|
May 29 06:14:13 dhiraj pppd[2341]: PAP authentication succeeded
|
|
May 29 06:14:13 dhiraj kernel: PPP BSD Compression module registered
|
|
May 29 06:14:13 dhiraj kernel: PPP Deflate Compression module registered
|
|
May 29 06:14:14 dhiraj pppd[2341]: local IP address 220.224.45.140
|
|
May 29 06:14:14 dhiraj pppd[2341]: remote IP address 97.235.2.5
|
|
</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><P
|
|
>Now open your browser and get started.</P
|
|
><P
|
|
>In case the browser gives the error that the server name is not being resolved, open the file <TT
|
|
CLASS="filename"
|
|
>/etc/resolve.conf</TT
|
|
> and add the entry</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="screen"
|
|
> namesserver 202.41.97.9
|
|
nameserver 202.41.97.132
|
|
</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><P
|
|
>These are two valid DNS servers of Ernet India Labs, located in New Delhi. Your Internet Service Provider probably provides its own name service, use the IP addresses of the servers they recommend.</P
|
|
><P
|
|
>When you are finished surfing the net you may stop the connection using</P
|
|
><P
|
|
><B
|
|
CLASS="command"
|
|
>ppp-off</B
|
|
> </P
|
|
><P
|
|
>in the second shell. In the other shell window you will get something like this
|
|
:</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="screen"
|
|
> May 29 06:16:15 dhiraj pppd[2341]: Terminating on signal 2.
|
|
May 29 06:16:15 dhiraj pppd[2341]: Connection terminated.
|
|
May 29 06:16:15 dhiraj pppd[2341]: Connect time 2.2 minutes.
|
|
May 29 06:16:15 dhiraj pppd[2341]: Sent 3401 bytes, received 1563 bytes.
|
|
May 29 06:16:16 dhiraj pppd[2341]: Connect time 2.2 minutes.
|
|
May 29 06:16:16 dhiraj pppd[2341]: Sent 3401 bytes, received 1563 bytes.
|
|
May 29 06:16:16 dhiraj pppd[2341]: Exit.
|
|
</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><P
|
|
>Stop the messages output using <B
|
|
CLASS="keycap"
|
|
>Ctrl</B
|
|
>+<B
|
|
CLASS="keycap"
|
|
>C</B
|
|
>.</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_06.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_08.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>PPP Configuration</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
> </TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>References</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |