Add a note making it clear that commands in ppp.conf must be indented
to be recognized. PR: 26293 Reviewed by: brian
This commit is contained in:
parent
379eca0027
commit
fcf8a81df9
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=9120
2 changed files with 32 additions and 4 deletions
|
@ -1,4 +1,8 @@
|
||||||
<!DOCTYPE BOOK PUBLIC "-//FreeBSD//DTD DocBook V3.1-Based Extension//EN">
|
<!DOCTYPE BOOK PUBLIC "-//FreeBSD//DTD DocBook V3.1-Based Extension//EN" [
|
||||||
|
<!ENTITY % man PUBLIC "-//FreeBSD//ENTITIES DocBook Manual Page Entities//EN">
|
||||||
|
%man;
|
||||||
|
]>
|
||||||
|
|
||||||
<book>
|
<book>
|
||||||
|
|
||||||
<bookinfo>
|
<bookinfo>
|
||||||
|
@ -14,7 +18,7 @@
|
||||||
</author>
|
</author>
|
||||||
</authorgroup>
|
</authorgroup>
|
||||||
|
|
||||||
<pubdate>$FreeBSD: doc/en_US.ISO_8859-1/books/ppp-primer/book.sgml,v 1.5 2000/11/16 14:21:50 ben Exp $</pubdate>
|
<pubdate>$FreeBSD: doc/en_US.ISO_8859-1/books/ppp-primer/book.sgml,v 1.6 2001/01/17 07:22:10 brian Exp $</pubdate>
|
||||||
|
|
||||||
<abstract><para>This is a step-by-step guide for configuring FreeBSD systems to act as
|
<abstract><para>This is a step-by-step guide for configuring FreeBSD systems to act as
|
||||||
a dial-up router/gateway in a Local Area Environment. All entries may
|
a dial-up router/gateway in a Local Area Environment. All entries may
|
||||||
|
@ -772,6 +776,16 @@ dial-out connection working.</para>
|
||||||
|
|
||||||
<para>Below is the /etc/ppp/ppp.conf file that we'll be using to provide a
|
<para>Below is the /etc/ppp/ppp.conf file that we'll be using to provide a
|
||||||
dial-out Internet gateway for our example LAN:
|
dial-out Internet gateway for our example LAN:
|
||||||
|
|
||||||
|
<note>
|
||||||
|
<para>The full syntax for <filename>ppp.conf</filename> is described in
|
||||||
|
&man.ppp.8;. Particuarly, note that any line that isn't a label that
|
||||||
|
ends with a colon (e.g., <literal>default:</literal>,
|
||||||
|
<literal>interactive:</literal>), a command that begins with
|
||||||
|
<quote>!</quote> (e.g., <literal>!include</literal>), or a comment
|
||||||
|
<emphasis>must</emphasis> be indented!</para>
|
||||||
|
</note>
|
||||||
|
|
||||||
<programlisting>
|
<programlisting>
|
||||||
################################################################
|
################################################################
|
||||||
# PPP Configuration File ('/etc/ppp/ppp.conf')
|
# PPP Configuration File ('/etc/ppp/ppp.conf')
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
<!DOCTYPE BOOK PUBLIC "-//FreeBSD//DTD DocBook V3.1-Based Extension//EN">
|
<!DOCTYPE BOOK PUBLIC "-//FreeBSD//DTD DocBook V3.1-Based Extension//EN" [
|
||||||
|
<!ENTITY % man PUBLIC "-//FreeBSD//ENTITIES DocBook Manual Page Entities//EN">
|
||||||
|
%man;
|
||||||
|
]>
|
||||||
|
|
||||||
<book>
|
<book>
|
||||||
|
|
||||||
<bookinfo>
|
<bookinfo>
|
||||||
|
@ -14,7 +18,7 @@
|
||||||
</author>
|
</author>
|
||||||
</authorgroup>
|
</authorgroup>
|
||||||
|
|
||||||
<pubdate>$FreeBSD: doc/en_US.ISO_8859-1/books/ppp-primer/book.sgml,v 1.5 2000/11/16 14:21:50 ben Exp $</pubdate>
|
<pubdate>$FreeBSD: doc/en_US.ISO_8859-1/books/ppp-primer/book.sgml,v 1.6 2001/01/17 07:22:10 brian Exp $</pubdate>
|
||||||
|
|
||||||
<abstract><para>This is a step-by-step guide for configuring FreeBSD systems to act as
|
<abstract><para>This is a step-by-step guide for configuring FreeBSD systems to act as
|
||||||
a dial-up router/gateway in a Local Area Environment. All entries may
|
a dial-up router/gateway in a Local Area Environment. All entries may
|
||||||
|
@ -772,6 +776,16 @@ dial-out connection working.</para>
|
||||||
|
|
||||||
<para>Below is the /etc/ppp/ppp.conf file that we'll be using to provide a
|
<para>Below is the /etc/ppp/ppp.conf file that we'll be using to provide a
|
||||||
dial-out Internet gateway for our example LAN:
|
dial-out Internet gateway for our example LAN:
|
||||||
|
|
||||||
|
<note>
|
||||||
|
<para>The full syntax for <filename>ppp.conf</filename> is described in
|
||||||
|
&man.ppp.8;. Particuarly, note that any line that isn't a label that
|
||||||
|
ends with a colon (e.g., <literal>default:</literal>,
|
||||||
|
<literal>interactive:</literal>), a command that begins with
|
||||||
|
<quote>!</quote> (e.g., <literal>!include</literal>), or a comment
|
||||||
|
<emphasis>must</emphasis> be indented!</para>
|
||||||
|
</note>
|
||||||
|
|
||||||
<programlisting>
|
<programlisting>
|
||||||
################################################################
|
################################################################
|
||||||
# PPP Configuration File ('/etc/ppp/ppp.conf')
|
# PPP Configuration File ('/etc/ppp/ppp.conf')
|
||||||
|
|
Loading…
Reference in a new issue