svn commit: r43008 - head/en_US.ISO8859-1/books/handbook/ppp-and-slip
Dru Lavigne
dru at FreeBSD.org
Fri Oct 18 23:17:18 UTC 2013
Author: dru
Date: Fri Oct 18 23:17:17 2013
New Revision: 43008
URL: http://svnweb.freebsd.org/changeset/doc/43008
Log:
White space fix only. Translators can ignore.
Modified:
head/en_US.ISO8859-1/books/handbook/ppp-and-slip/chapter.xml
Modified: head/en_US.ISO8859-1/books/handbook/ppp-and-slip/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/ppp-and-slip/chapter.xml Fri Oct 18 22:54:06 2013 (r43007)
+++ head/en_US.ISO8859-1/books/handbook/ppp-and-slip/chapter.xml Fri Oct 18 23:17:17 2013 (r43008)
@@ -109,17 +109,16 @@
<title>Configuring <acronym>PPP</acronym></title>
<para>&os; provides built-in support for managing dial-up
- <acronym>PPP</acronym> connections using &man.ppp.8;. The
- default &os; kernel provides support for
- <devicename>tun</devicename> which is used to interact with a
+ <acronym>PPP</acronym> connections using &man.ppp.8;. The
+ default &os; kernel provides support for
+ <devicename>tun</devicename> which is used to interact with a
modem hardware. Configuration is performed by editing at least
one configuration file, and configuration files containing
examples are provided. Finally, <command>ppp</command> is
- used to start and manage connections.</para>
-
- <para>In order
- to use a <acronym>PPP</acronym> connection, the following items
- are needed:</para>
+ used to start and manage connections.</para>
+
+ <para>In order to use a <acronym>PPP</acronym> connection, the
+ following items are needed:</para>
<itemizedlist>
<listitem>
@@ -160,10 +159,10 @@
<listitem>
<para>The <acronym>IP</acronym> address of the default
gateway. If this information is unknown, the
- <acronym>ISP</acronym> will automatically
- provide the correct value during connection setup. When
- configuring <acronym>PPP</acronym> on &os;, this address is
- referred to as <literal>HISADDR</literal>.</para>
+ <acronym>ISP</acronym> will automatically provide the
+ correct value during connection setup. When configuring
+ <acronym>PPP</acronym> on &os;, this address is referred to
+ as <literal>HISADDR</literal>.</para>
</listitem>
<listitem>
@@ -215,10 +214,9 @@
</indexterm>
<para>In order to configure a <acronym>PPP</acronym> connection,
- first edit
- <filename>/etc/ppp/ppp.conf</filename> with the dial-in
- information for the <acronym>ISP</acronym>. This file is described
- as follows:</para>
+ first edit <filename>/etc/ppp/ppp.conf</filename> with the
+ dial-in information for the <acronym>ISP</acronym>. This file
+ is described as follows:</para>
<programlisting>1 default:
2 set log Phase Chat LCP IPCP CCP tun command
@@ -398,33 +396,33 @@
<varlistentry>
<term>Line 16:</term>
<listitem>
- <para>Sets the interface addresses. The values used
+ <para>Sets the interface addresses. The values used
depend upon whether a static <acronym>IP</acronym>
address has been obtained from the
<acronym>ISP</acronym> or if it instead negotiates
a dynamic <acronym>IP</acronym> address during
- connection.</para>
+ connection.</para>
- <para>If the
- <acronym>ISP</acronym> has allocated a static
- <acronym>IP</acronym> address and default gateway, replace
- <replaceable>x.x.x.x</replaceable> with the static
- <acronym>IP</acronym> address and replace
- <replaceable>y.y.y.y</replaceable> with the
- <acronym>IP</acronym> address of the
- default gateway. If the <acronym>ISP</acronym> has
- only provided a static <acronym>IP</acronym> address
- without a gateway address, replace <replaceable>y.y.y.y</replaceable> with <hostid
+ <para>If the <acronym>ISP</acronym> has allocated a
+ static <acronym>IP</acronym> address and default
+ gateway, replace <replaceable>x.x.x.x</replaceable>
+ with the static <acronym>IP</acronym> address and
+ replace <replaceable>y.y.y.y</replaceable> with the
+ <acronym>IP</acronym> address of the default
+ gateway. If the <acronym>ISP</acronym> has only
+ provided a static <acronym>IP</acronym> address
+ without a gateway address, replace
+ <replaceable>y.y.y.y</replaceable> with <hostid
role="netmask">10.0.0.2/0</hostid>.</para>
-
- <para>If the <acronym>IP</acronym> address changes whenever
- a connection is made, change this line
- to the following value.
- This tells &man.ppp.8; to use the
- <acronym>IP</acronym> Configuration Protocol
- (<acronym>IPCP</acronym>) to negotiate a dynamic <acronym>IP</acronym> address:</para>
- <programlisting>set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 0.0.0.0</programlisting>
+ <para>If the <acronym>IP</acronym> address changes
+ whenever a connection is made, change this line to
+ the following value. This tells &man.ppp.8; to use
+ the <acronym>IP</acronym> Configuration Protocol
+ (<acronym>IPCP</acronym>) to negotiate a dynamic
+ <acronym>IP</acronym> address:</para>
+
+ <programlisting>set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 0.0.0.0</programlisting>
</listitem>
</varlistentry>
@@ -446,14 +444,15 @@
manually or automatically, a
<filename>/etc/ppp/ppp.linkup</filename> may also need to
be created which contains the following lines. This file
- is required when running <command>ppp</command>
- in <option>-auto</option> mode. This file is
- used after the connection has been established. At this
- point, the <acronym>IP</acronym> address will have been assigned
- and it is now be possible to add the
- routing table entries. When creating this file, make sure that
+ is required when running <command>ppp</command> in
+ <option>-auto</option> mode. This file is used after the
+ connection has been established. At this point, the
+ <acronym>IP</acronym> address will have been assigned and
+ it is now be possible to add the routing table entries.
+ When creating this file, make sure that
<replaceable>provider</replaceable> matches the value
- demonstrated in line 11 of <filename>ppp.conf</filename>.</para>
+ demonstrated in line 11 of
+ <filename>ppp.conf</filename>.</para>
<programlisting>provider:
add default HISADDR</programlisting>
@@ -467,7 +466,7 @@
in <filename
class="directory">/usr/share/examples/ppp/</filename>.</para>
</sect2>
-
+
<?ignore
<sect2>
<title>Receiving Incoming Calls</title>
@@ -477,47 +476,49 @@
<secondary>receiving incoming calls</secondary>
</indexterm>
- <para>When configuring &man.ppp.8; to
- receive incoming calls on a machine connected to a Local
- Area Network (<acronym>LAN</acronym>),
- decide if packets should be forwarded to the <acronym>LAN</acronym>. If so,
- allocate the connecting system an <acronym>IP</acronym> address from
- the <acronym>LAN</acronym>'s subnet, and add the <command>enable
- proxy</command> line to
+ <para>When configuring &man.ppp.8; to receive incoming calls
+ on a machine connected to a Local Area Network
+ (<acronym>LAN</acronym>), decide if packets should be
+ forwarded to the <acronym>LAN</acronym>. If so, allocate
+ the connecting system an <acronym>IP</acronym> address
+ from the <acronym>LAN</acronym>'s subnet, and add the
+ <command>enable proxy</command> line to
<filename>/etc/ppp/ppp.conf</filename>.
Also, confirm that <filename>/etc/rc.conf</filename>
contains the following line:</para>
<programlisting>gateway_enable="YES"</programlisting>
-
- <para>Refer to &man.ppp.8; and
+
+ <para>Refer to &man.ppp.8; and
<filename>/usr/share/examples/ppp/ppp.conf.sample</filename>
- for more details. The following steps will also be required:</para>
-
- <procedure>
- <step>
- <para>Create an entry in <filename>/etc/passwd</filename>
- (using the &man.vipw.8; program).</para>
- </step>
-
- <step>
- <para>Create a profile in this users home directory that
- runs <command>ppp -direct direct-server</command> or
- similar.</para>
- </step>
-
- <step>
- <para>Create an entry in
- <filename>/etc/ppp/ppp.conf</filename>. The
- <filename>direct-server</filename> example should
- suffice.</para>
- </step>
-
- <step>
- <para>Create an entry in
- <filename>/etc/ppp/ppp.linkup</filename>.</para>
- </step>
- </procedure>
+ for more details. The following steps will also be
+ required:</para>
+
+ <procedure>
+ <step>
+ <para>Create an entry in
+ <filename>/etc/passwd</filename> (using the
+ &man.vipw.8; program).</para>
+ </step>
+
+ <step>
+ <para>Create a profile in this users home directory that
+ runs <command>ppp -direct direct-server</command> or
+ similar.</para>
+ </step>
+
+ <step>
+ <para>Create an entry in
+ <filename>/etc/ppp/ppp.conf</filename>. The
+ <filename>direct-server</filename> example should
+ suffice.</para>
+ </step>
+
+ <step>
+ <para>Create an entry in
+ <filename>/etc/ppp/ppp.linkup</filename>.</para>
+ </step>
+ </procedure>
</sect2>
?>
@@ -542,7 +543,7 @@
<literal>default</literal> section, it gives the specified
users access to everything.</para>
</sect2>
-<?ignore
+ <?ignore
<sect2>
<title><acronym>PPP</acronym> Shells for Dynamic
<acronym>IP</acronym> Users</title>
@@ -687,7 +688,7 @@ sam:
mary:
add 203.14.103.0 netmask 255.255.255.0 HISADDR</programlisting>
</sect2>
-?>
+ ?>
<sect2 id="userppp-mgetty">
<title><command>mgetty</command> and AutoPPP</title>
@@ -1057,8 +1058,8 @@ ifconfig_tun0=</programlisting>
<filename>start_if.tun0</filename> does not exist,
type:</para>
- <screen>&prompt.root; <userinput>ppp -auto provider</userinput></screen>
- </sect2>
+ <screen>&prompt.root; <userinput>ppp -auto provider</userinput></screen>
+ </sect2>
</sect1>
<sect1 id="ppp-troubleshoot">
@@ -1429,8 +1430,8 @@ ppp_profile="name_of_service_provider"</
</sect1>
<sect1 id="pppoa">
- <title>Using <application>PPP</application> over <acronym>ATM</acronym>
- (PPPoA)</title>
+ <title>Using <application>PPP</application> over
+ <acronym>ATM</acronym> (PPPoA)</title>
<indexterm>
<primary><acronym>PPP</acronym></primary>
@@ -1441,8 +1442,9 @@ ppp_profile="name_of_service_provider"</
<primary>PPPoA</primary>
</indexterm>
- <para>The following describes how to set up PPP over <acronym>ATM</acronym> (PPPoA).
- PPPoA is a popular choice among European DSL providers.</para>
+ <para>The following describes how to set up PPP over
+ <acronym>ATM</acronym> (PPPoA). PPPoA is a popular choice among
+ European DSL providers.</para>
<!--
This port is broken as of June, 2009
<sect2>
More information about the svn-doc-head
mailing list