Fix redundancy.
Sponsored by: Essen DevSummit Hackathon
This commit is contained in:
parent
e0c676545a
commit
2ce20718c4
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=47095
1 changed files with 17 additions and 18 deletions
|
@ -466,16 +466,16 @@
|
|||
above two lines. More examples for this file can be found
|
||||
in <filename>/usr/share/examples/ppp/</filename>.</para>
|
||||
|
||||
<para>By default, the <command>ppp</command> command must be
|
||||
run as the <systemitem class="username">root</systemitem>
|
||||
user. To change this default, add the account of the user
|
||||
<para>By default, <command>ppp</command> must be
|
||||
run as <systemitem class="username">root</systemitem>.
|
||||
To change this default, add the account of the user
|
||||
who should run <command>ppp</command> to the <systemitem
|
||||
class="groupname">network</systemitem> group in
|
||||
<filename>/etc/group</filename>.</para>
|
||||
|
||||
<para>Then, give the user access to one or more entries in
|
||||
<filename>/etc/ppp/ppp.conf</filename> using the
|
||||
<command>allow</command> command. For example, to give
|
||||
<filename>/etc/ppp/ppp.conf</filename> with
|
||||
<command>allow</command>. For example, to give
|
||||
<systemitem class="username">fred</systemitem> and
|
||||
<systemitem class="username">mary</systemitem>
|
||||
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>
|
||||
</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
|
||||
<acronym>IP</acronym>s create a symbolic link to
|
||||
<filename>ppp-shell</filename>.</para>
|
||||
|
@ -623,8 +623,8 @@ exec /usr/sbin/ppp -direct $IDENT</programlisting>
|
|||
<title>Setting Up <filename>ppp.conf</filename> for
|
||||
Dynamic <acronym>IP</acronym> Users</title>
|
||||
|
||||
<para>The <filename>/etc/ppp/ppp.conf</filename> file
|
||||
should contain something along the lines of:</para>
|
||||
<para>Ensure that <filename>/etc/ppp/ppp.conf</filename>
|
||||
contains something along the lines of:</para>
|
||||
|
||||
<programlisting>default:
|
||||
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
|
||||
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
|
||||
users via PAP from the <filename>/etc/passwd</filename>
|
||||
file.</para>
|
||||
users via PAP from <filename>/etc/passwd</filename>.</para>
|
||||
|
||||
<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
|
||||
configuration entry in <filename>ppp.conf</filename> as the
|
||||
provider part of the <command>set device</command> command
|
||||
(see the &man.ppp.8; manual page for full details). It should
|
||||
look like this:</para>
|
||||
provider part for <command>set device</command>. Refer to
|
||||
&man.ppp.8; for full details. It should look like
|
||||
this:</para>
|
||||
|
||||
<programlisting>set device PPPoE:<replaceable>xl1</replaceable>:<replaceable>ISP</replaceable></programlisting>
|
||||
|
||||
|
@ -1516,8 +1515,8 @@ ppp_profile="adsl"</programlisting>
|
|||
<filename>mpd.conf</filename>:</para>
|
||||
|
||||
<note>
|
||||
<para>This example of the <filename>mpd.conf</filename> file
|
||||
only works with <application>mpd</application> 4.x.</para>
|
||||
<para>This example <filename>mpd.conf</filename> only works
|
||||
with <application>mpd</application> 4.x.</para>
|
||||
</note>
|
||||
|
||||
<programlisting>default:
|
||||
|
@ -1555,8 +1554,8 @@ adsl:
|
|||
</callout>
|
||||
</calloutlist>
|
||||
|
||||
<para>The <filename>mpd.links</filename> file contains information
|
||||
about the link, or links, to establish. An example
|
||||
<para>Information about the link, or links, to establish is found
|
||||
in <filename>mpd.links</filename>. An example
|
||||
<filename>mpd.links</filename> to accompany the above example
|
||||
is given beneath:</para>
|
||||
|
||||
|
|
Loading…
Reference in a new issue