Minor editing.

This commit is contained in:
ewomack 2002-03-04 06:34:49 +00:00
parent cf739bca15
commit 18f2bc7594
1 changed files with 18 additions and 9 deletions

View File

@ -16,7 +16,7 @@
</affiliation>
</author>
</authorgroup>
<othercredit role=translator>
<othercredit>
<firstname>Eric</firstname>
<surname>Womack</surname>
<affiliation>
@ -31,6 +31,11 @@
<date>2002-03-01</date>
<revhistory>
<revision>
<revnumber>.2</revnumber>
<date>2002-03-03</date>
<revremark>Typo cleaning, pap-secrets clarified</revremark>
</revision>
<revision>
<revnumber>.1</revnumber>
<date>2002-03-01</date>
@ -48,7 +53,7 @@ This document is compiled from several other HOWTOs to make a single HOWTO that
<sect1 id="base">
<title>What to Install</title>
<para>
You will need mgetty and pppd for this howto. The base Linux install for this HOWTO is RedHat 7.1. pppd is installed by default, but mgetty is not. Do a server install, select individual packages. Select mgetty and continue with the install.
You will need mgetty and pppd for this howto. The base Linux install for this HOWTO is RedHat 7.2. pppd is installed by default, but mgetty is not. Do a server install, select individual packages. Select mgetty and continue with the install.
</para>
</sect1>
@ -58,7 +63,7 @@ You will need mgetty and pppd for this howto. The base Linux install for this H
For this HOWTO we are adding an external modem to ttyS1. Adjust the settings to your setup. External modems usually end up on ttyS0 or ttyS1. Internal modems are not.
</para>
<sect2 id="tty">
<title>ttyS? discovery</title>
<title>ttyS# discovery</title>
<para>
Red Hat is pretty good at finding internal modems as long as they are not the "winmodem" type. It assigns a ttyS number to it and creates a symbolic link from /dev/modem to it. To find the ttyS number for your modem simply do a STAT command:
</para>
@ -102,8 +107,12 @@ You should not need to change anything since we will put all our connection sett
<sect2 id="pap">
<title>pap-secrets</title>
<para>
Update /etc/ppp/pap-secrets. Type in "*" for client, "*" for server, " "" " for secret and "*" for IP address (omit the quotes except for secret which only gets one set of double quotes). This configuation will enable every registered user on the dialup server computer remote access to log in. You could also specify usernames, passwords and IP address for PAP authentication
Update /etc/ppp/pap-secrets. Type in "*" for client, "*" for server, " "" " for secret and "*" for IP address (omit the quotes except for secret which only gets one set of double quotes). This configuation will enable every registered user on the dialup server computer remote access to log in. You could also specify usernames, passwords and IP address for PAP authentication. When finished, the file should look like this:
</para>
<programlisting>
client server secret IP addresss
* * "" *
</programlisting>
</sect2>
<sect2 id="pppopt">
<title>ppp-options</title>
@ -128,7 +137,7 @@ asyncmap 0
<varlistentry>
<term>-detach</term>
<listitem>
<para>tells pppd not to fork to (become a background process), otherwise it will do so is a serial device is specified</para>
<para>tells pppd not to fork (become a background process).</para>
</listitem>
</varlistentry>
<varlistentry>
@ -138,7 +147,7 @@ asyncmap 0
</listitem>
</varlistentry>
<varlistentry>
<term>crtcts</term>
<term>crtscts</term>
<listitem>
<para>Use hardware flow control.</para>
</listitem>
@ -158,15 +167,15 @@ asyncmap 0
</variablelist>
</sect2>
<sect2 id="ttyname">
<title>options.ttyNAME</title>
<title>options.ttyS#</title>
<para>
To set a specific IP for a client and server for each tty, create the /etc/ppp/options.ttyNAME file for each tty. Our example is using ttyS1 so the file we create is /etc/ppp/options.ttyS1. For each serial line you set up a server IP and client IP in the following format:
To set a specific IP for a client and server for each tty, create the /etc/ppp/options.ttyS# file for each tty. Our example is using ttyS1 so the file we create is /etc/ppp/options.ttyS1. For each serial line you set up a server IP and client IP in the following format:
</para>
<programlisting>
serverIP:clientIP
</programlisting>
<para>
For example. If the dialup server's IP address on the network was 192.168.1.32 and you wanted the remote machine dialing in to have an IP of 192.168.1.151 you would add the following line options.ttyNAME:
For example. If the dialup server's IP address on the network was 192.168.1.32 and you wanted the remote machine dialing in to have an IP of 192.168.1.151 you would add the following line options.ttyS#:
</para>
<programlisting>
192.168.1.32:192.168.1.151