Fix redundancy.

Sponsored by: Essen DevSummit Hackathon
This commit is contained in:
Dru Lavigne 2015-07-26 10:05:55 +00:00
parent e0c676545a
commit 2ce20718c4
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=47095

View file

@ -466,16 +466,16 @@
above two lines. More examples for this file can be found above two lines. More examples for this file can be found
in <filename>/usr/share/examples/ppp/</filename>.</para> in <filename>/usr/share/examples/ppp/</filename>.</para>
<para>By default, the <command>ppp</command> command must be <para>By default, <command>ppp</command> must be
run as the <systemitem class="username">root</systemitem> run as <systemitem class="username">root</systemitem>.
user. To change this default, add the account of the user To change this default, add the account of the user
who should run <command>ppp</command> to the <systemitem who should run <command>ppp</command> to the <systemitem
class="groupname">network</systemitem> group in class="groupname">network</systemitem> group in
<filename>/etc/group</filename>.</para> <filename>/etc/group</filename>.</para>
<para>Then, give the user access to one or more entries in <para>Then, give the user access to one or more entries in
<filename>/etc/ppp/ppp.conf</filename> using the <filename>/etc/ppp/ppp.conf</filename> with
<command>allow</command> command. For example, to give <command>allow</command>. For example, to give
<systemitem class="username">fred</systemitem> and <systemitem class="username">fred</systemitem> and
<systemitem class="username">mary</systemitem> <systemitem class="username">mary</systemitem>
permission to only the <literal>provider:</literal> entry, permission to only the <literal>provider:</literal> entry,
@ -599,7 +599,7 @@ exec /usr/sbin/ppp -direct $IDENT</programlisting>
<primary><acronym>PPP</acronym> shells</primary> <primary><acronym>PPP</acronym> shells</primary>
</indexterm> </indexterm>
<para>Create the <filename>ppp-shell</filename> file as <para>Create <filename>ppp-shell</filename> as
above, and for each account with statically assigned above, and for each account with statically assigned
<acronym>IP</acronym>s create a symbolic link to <acronym>IP</acronym>s create a symbolic link to
<filename>ppp-shell</filename>.</para> <filename>ppp-shell</filename>.</para>
@ -623,8 +623,8 @@ exec /usr/sbin/ppp -direct $IDENT</programlisting>
<title>Setting Up <filename>ppp.conf</filename> for <title>Setting Up <filename>ppp.conf</filename> for
Dynamic <acronym>IP</acronym> Users</title> Dynamic <acronym>IP</acronym> Users</title>
<para>The <filename>/etc/ppp/ppp.conf</filename> file <para>Ensure that <filename>/etc/ppp/ppp.conf</filename>
should contain something along the lines of:</para> contains something along the lines of:</para>
<programlisting>default: <programlisting>default:
set debug phase lcp chat set debug phase lcp chat
@ -1043,10 +1043,9 @@ exec /usr/sbin/ppp -direct pap$IDENT</programlisting>
<para>Each user logging in with this method will need to <para>Each user logging in with this method will need to
have a username/password in have a username/password in
<filename>/etc/ppp/ppp.secret</filename> file, or <filename>/etc/ppp/ppp.secret</filename>, or
alternatively add the following option to authenticate alternatively add the following option to authenticate
users via PAP from the <filename>/etc/passwd</filename> users via PAP from <filename>/etc/passwd</filename>.</para>
file.</para>
<programlisting>enable passwdauth</programlisting> <programlisting>enable passwdauth</programlisting>
@ -1378,9 +1377,9 @@ ppp_profile="name_of_service_provider"</programlisting>
<para>The profile name (service tag) will be used in the PPPoE <para>The profile name (service tag) will be used in the PPPoE
configuration entry in <filename>ppp.conf</filename> as the configuration entry in <filename>ppp.conf</filename> as the
provider part of the <command>set device</command> command provider part for <command>set device</command>. Refer to
(see the &man.ppp.8; manual page for full details). It should &man.ppp.8; for full details. It should look like
look like this:</para> this:</para>
<programlisting>set device PPPoE:<replaceable>xl1</replaceable>:<replaceable>ISP</replaceable></programlisting> <programlisting>set device PPPoE:<replaceable>xl1</replaceable>:<replaceable>ISP</replaceable></programlisting>
@ -1516,8 +1515,8 @@ ppp_profile="adsl"</programlisting>
<filename>mpd.conf</filename>:</para> <filename>mpd.conf</filename>:</para>
<note> <note>
<para>This example of the <filename>mpd.conf</filename> file <para>This example <filename>mpd.conf</filename> only works
only works with <application>mpd</application> 4.x.</para> with <application>mpd</application> 4.x.</para>
</note> </note>
<programlisting>default: <programlisting>default:
@ -1555,8 +1554,8 @@ adsl:
</callout> </callout>
</calloutlist> </calloutlist>
<para>The <filename>mpd.links</filename> file contains information <para>Information about the link, or links, to establish is found
about the link, or links, to establish. An example in <filename>mpd.links</filename>. An example
<filename>mpd.links</filename> to accompany the above example <filename>mpd.links</filename> to accompany the above example
is given beneath:</para> is given beneath:</para>