doc-el commit 1020:2cdb806b2e9f - Replaced english text of 'ppp-...
freebsd-doc-el at lists.hellug.gr
freebsd-doc-el at lists.hellug.gr
Sun Nov 9 06:50:07 EET 2008
changeset: 1020:2cdb806b2e9f
user: Manolis Kiagias <sonicy at otenet.gr>
date: 2008-11-06 17:01 +0200
details: http://hg.hellug.gr/freebsd/doc-el/?cmd=changeset;node=2cdb806b2e9f
description:
Replaced english text of 'ppp-and-slip' chapter with rev. 1.185 (no changes in synopsis)
diffstat:
1 file changed, 275 insertions(+), 246 deletions(-)
el_GR.ISO8859-7/books/handbook/ppp-and-slip/chapter.sgml | 521 +++++++-------
diffs (truncated from 1014 to 300 lines):
diff -r fa35abe81cc2 -r 2cdb806b2e9f el_GR.ISO8859-7/books/handbook/ppp-and-slip/chapter.sgml
--- a/el_GR.ISO8859-7/books/handbook/ppp-and-slip/chapter.sgml Thu Nov 06 16:55:26 2008 +0200
+++ b/el_GR.ISO8859-7/books/handbook/ppp-and-slip/chapter.sgml Thu Nov 06 17:01:33 2008 +0200
@@ -7,7 +7,7 @@
$FreeBSD: doc/el_GR.ISO8859-7/books/handbook/ppp-and-slip/chapter.sgml,v 1.2 2008/01/14 14:19:46 keramida Exp $
%SOURCE% en_US.ISO8859-1/books/handbook/ppp-and-slip/chapter.sgml
- %SRCID% 1.1
+ %SRCID% 1.185
-->
@@ -193,7 +193,7 @@
<listitem>
<para>Your login name and password. (Either a
regular &unix; style login and password pair, or a PAP or CHAP
- login and password pair.)</para>
+ login and password pair).</para>
</listitem>
<indexterm id="ppp-nameserver">
@@ -260,7 +260,11 @@
<sect3>
<title>Automatic <application>PPP</application> Configuration</title>
- <indexterm><primary>PPP</primary><secondary>configuration</secondary></indexterm>
+ <indexterm>
+ <primary>PPP</primary>
+ <secondary>configuration</secondary>
+ </indexterm>
+
<para>Both <command>ppp</command> and <command>pppd</command>
(the kernel level implementation of PPP) use the configuration
files located in the <filename>/etc/ppp</filename> directory.
@@ -277,7 +281,11 @@
<sect4 id="userppp-staticIP">
<title>PPP and Static IP Addresses</title>
- <indexterm><primary>PPP</primary><secondary>with static IP addresses</secondary></indexterm>
+ <indexterm>
+ <primary>PPP</primary>
+ <secondary>with static IP addresses</secondary>
+ </indexterm>
+
<para>You will need to edit the
<filename>/etc/ppp/ppp.conf</filename> configuration file. It
should look similar to the example below.</para>
@@ -292,7 +300,7 @@
<programlisting>1 default:
2 set log Phase Chat LCP IPCP CCP tun command
3 ident user-ppp VERSION (built COMPILATIONDATE)
-4 set device /dev/cuaa0
+4 set device /dev/cuad0
5 set speed 115200
6 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
7 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
@@ -324,11 +332,11 @@
<listitem>
<para>Enables logging parameters. When the configuration
is working satisfactorily, this line should be reduced
- to saying
+ to saying:</para>
- <programlisting>set log phase tun</programlisting>
+ <programlisting>set log phase tun</programlisting>
- in order to avoid excessive log file sizes.</para>
+ <para>in order to avoid excessive log file sizes.</para>
</listitem>
</varlistentry>
@@ -350,9 +358,10 @@
<listitem>
<para>Identifies the device to which the modem is
connected. <devicename>COM1</devicename> is
- <filename>/dev/cuaa0</filename> and
+ <filename>/dev/cuad0</filename>
+ and
<devicename>COM2</devicename> is
- <filename>/dev/cuaa1</filename>.</para>
+ <filename>/dev/cuad1</filename>.</para>
</listitem>
</varlistentry>
@@ -369,7 +378,11 @@
<varlistentry>
<term>Line 6 & 7:</term>
- <indexterm><primary>PPP</primary><secondary>user PPP</secondary></indexterm>
+ <indexterm>
+ <primary>PPP</primary>
+ <secondary>user PPP</secondary>
+ </indexterm>
+
<listitem>
<para>The dial string. User PPP uses an expect-send
syntax similar to the &man.chat.8; program. Refer to
@@ -379,7 +392,7 @@
<para>Note that this command continues onto the next line
for readability. Any command in
<filename>ppp.conf</filename> may do this if the last
- character on the line is a ``\'' character.</para>
+ character on the line is a <literal>\</literal> character.</para>
</listitem>
</varlistentry>
@@ -418,7 +431,7 @@
<para>Identifies an entry for a provider called
<quote>provider</quote>. This could be changed
to the name of your <acronym>ISP</acronym> so
- that later you can use the <option>load ISP</option>
+ that later you can use the <option>load <replaceable>ISP</replaceable></option>
to start the connection.</para>
</listitem>
</varlistentry>
@@ -430,7 +443,7 @@
<para>Sets the phone number for this provider. Multiple
phone numbers may be specified using the colon
(<literal>:</literal>) or pipe character
- (<literal>|</literal>)as a separator. The difference
+ (<literal>|</literal>) as a separator. The difference
between the two separators is described in &man.ppp.8;.
To summarize, if you want to rotate through the numbers,
use a colon. If you want to always attempt to dial the
@@ -556,8 +569,16 @@
<sect4 id="userppp-dynamicIP">
<title>PPP and Dynamic IP Addresses</title>
- <indexterm><primary>PPP</primary><secondary>with dynamic IP addresses</secondary></indexterm>
- <indexterm><primary>IPCP</primary></indexterm>
+
+ <indexterm>
+ <primary>PPP</primary>
+ <secondary>with dynamic IP addresses</secondary>
+ </indexterm>
+
+ <indexterm>
+ <primary>IPCP</primary>
+ </indexterm>
+
<para>If your service provider does not assign static IP
addresses, <command>ppp</command> can be configured to
negotiate the local and remote addresses. This is done by
@@ -648,8 +669,12 @@
<sect4>
<title>Receiving Incoming Calls</title>
- <indexterm><primary>PPP</primary><secondary>receiving
- incoming calls</secondary></indexterm>
+
+ <indexterm>
+ <primary>PPP</primary>
+ <secondary>receiving incoming calls</secondary>
+ </indexterm>
+
<para>When you configure <application>ppp</application> to
receive incoming calls on a machine connected to a LAN, you
must decide if you wish to forward packets to the LAN. If you
@@ -670,7 +695,7 @@
dial-up services using &man.getty.8;.</para>
<para>An alternative to <command>getty</command> is <ulink
- url="http://www.leo.org/~doering/mgetty/index.html">mgetty</ulink>,
+ url="http://www.leo.org/~doering/mgetty/index.html">mgetty</ulink>,
a smarter version of <command>getty</command> designed
with dial-up lines in mind.</para>
@@ -699,7 +724,7 @@
server mode as a normal user by executing
<command>ppp</command> as described below, that user
must be given permission to run <command>ppp</command>
- by adding them to the <username>network</username> group
+ by adding them to the <groupname>network</groupname> group
in <filename>/etc/group</filename>.</para>
<para>You will also need to give them access to one or more
@@ -715,7 +740,10 @@
<sect4>
<title>PPP Shells for Dynamic-IP Users</title>
- <indexterm><primary>PPP shells</primary></indexterm>
+
+ <indexterm>
+ <primary>PPP shells</primary>
+ </indexterm>
<para>Create a file called
<filename>/etc/ppp/ppp-shell</filename> containing the
@@ -763,7 +791,10 @@
<sect4>
<title>PPP Shells for Static-IP Users</title>
- <indexterm><primary>PPP shells</primary></indexterm>
+
+ <indexterm>
+ <primary>PPP shells</primary>
+ </indexterm>
<para>Create the <filename>ppp-shell</filename> file as above,
and for each account with statically assigned IPs create a
@@ -785,7 +816,8 @@
</sect4>
<sect4>
- <title>Setting Up <filename>ppp.conf</filename> for Dynamic-IP Users</title>
+ <title>Setting Up <filename>ppp.conf</filename> for Dynamic-IP
+ Users</title>
<para>The <filename>/etc/ppp/ppp.conf</filename> file should
contain something along the lines of:</para>
@@ -852,11 +884,18 @@
<sect4 id="userppp-mgetty">
<title><command>mgetty</command> and AutoPPP</title>
+
<indexterm>
- <primary><command>mgetty</command></primary>
- </indexterm>
- <indexterm><primary>AutoPPP</primary></indexterm>
- <indexterm><primary>LCP</primary></indexterm>
+ <primary><command>mgetty</command></primary>
+ </indexterm>
+
+ <indexterm>
+ <primary>AutoPPP</primary>
+ </indexterm>
+
+ <indexterm>
+ <primary>LCP</primary>
+ </indexterm>
<para>Configuring and compiling <command>mgetty</command>
with the <literal>AUTO_PPP</literal> option enabled
@@ -917,9 +956,20 @@
<sect4>
<title>MS Extensions</title>
- <indexterm><primary>DNS</primary></indexterm>
- <indexterm><primary>NetBIOS</primary></indexterm>
- <indexterm><primary>PPP</primary><secondary>Microsoft extensions</secondary></indexterm>
+
+ <indexterm>
+ <primary>DNS</primary>
+ </indexterm>
+
+ <indexterm>
+ <primary>NetBIOS</primary>
+ </indexterm>
+
+ <indexterm>
+ <primary>PPP</primary>
+ <secondary>Microsoft extensions</secondary>
+ </indexterm>
+
<para>It is possible to configure PPP to supply DNS and
NetBIOS nameserver addresses on demand.</para>
@@ -1039,35 +1089,41 @@
</sect3>
<sect3 id="userppp-nat">
- <title>Using PPP Network Address Translation Capability</title>
- <indexterm><primary>PPP</primary><secondary>NAT</secondary></indexterm>
+ <title>Using PPP Network Address Translation Capability</title>
- <para>PPP has ability to use internal NAT without kernel diverting
- capabilities. This functionality may be enabled by the following
- line in <filename>/etc/ppp/ppp.conf</filename>:</para>
+ <indexterm>
+ <primary>PPP</primary><secondary>NAT</secondary>
+ </indexterm>
- <programlisting>nat enable yes</programlisting>
+ <para>PPP has ability to use internal NAT without kernel diverting
+ capabilities. This functionality may be enabled by the following
+ line in <filename>/etc/ppp/ppp.conf</filename>:</para>
- <para>Alternatively, PPP NAT may be enabled by command-line
- option <literal>-nat</literal>. There is also
- <filename>/etc/rc.conf</filename> knob named
- <literal>ppp_nat</literal>, which is enabled by default.</para>
+ <programlisting>nat enable yes</programlisting>
- <para>If you use this feature, you may also find useful
- the following <filename>/etc/ppp/ppp.conf</filename> options
- to enable incoming connections forwarding:</para>
+ <para>Alternatively, PPP NAT may be enabled by command-line
+ option <literal>-nat</literal>. There is also
+ <filename>/etc/rc.conf</filename> knob named
+ <literal>ppp_nat</literal>, which is enabled by default.</para>
- <programlisting>nat port tcp 10.0.0.2:ftp ftp
+ <para>If you use this feature, you may also find useful
+ the following <filename>/etc/ppp/ppp.conf</filename> options
+ to enable incoming connections forwarding:</para>
+
+ <programlisting>nat port tcp 10.0.0.2:ftp ftp
nat port tcp 10.0.0.2:http http</programlisting>
- <para>or do not trust the outside at all</para>
More information about the Freebsd-doc-el
mailing list