In PPPoA section:

- fix a wrong option in pptpclient command line
- some punctuation and typo fixes
- some tags fixes.
This commit is contained in:
Marc Fonvieille 2003-11-16 11:30:22 +00:00
parent cb109c7ea3
commit 601d95fd75
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=18877

View file

@ -2250,16 +2250,16 @@ ppp_profile="adsl"</programlisting>
requirements and provider settings. The port places a set of
sample configuration files which are well documented in
<filename><replaceable>PREFIX</replaceable>/etc/mpd/</filename>.
Note here that <emphasis>PREFIX</emphasis> means the directory
Note here that <replaceable>PREFIX</replaceable> means the directory
into which your ports are installed, this defaults to
<filename>/usr/local/</filename>. A complete guide to
configuring <application>mpd</application> is available in
configure <application>mpd</application> is available in
HTML format once the port has been installed. It is placed in
<filename><replaceable>PREFIX</replaceable>/share/mpd/</filename>.
Here is a sample configuration for connecting to an ADSL
service with <application>mpd</application>. The configuration
is spread over two files, first the
<filename>mpd.conf</filename>.</para>
<filename>mpd.conf</filename>:</para>
<programlisting>default:
load adsl
@ -2299,7 +2299,7 @@ adsl:
<para>The <filename>mpd.links</filename> file contains information about
the link, or links, you wish to establish. An example
<filename>mpd.links</filename> to accompany the above example is given
beneath.</para>
beneath:</para>
<programlisting>adsl:
set link type pptp
@ -2323,7 +2323,7 @@ adsl:
</calloutlist>
<para>It is possible to initialize the connection easily by issuing the
following command as <username>root</username>.</para>
following command as <username>root</username>:</para>
<screen>&prompt.root; <userinput>mpd -b <replaceable>adsl</replaceable></userinput></screen>
@ -2388,12 +2388,12 @@ ng0: flags=88d1&lt;UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST&gt; mtu 1500
<para>This will open a tunnel for a PPP session to your DSL router.
Ethernet DSL modems have a preconfigured LAN IP address which you
connect to. In the case of the Alcatel &speedtouch; Home this address is
<hostid role="ipaddr">10.0.0.138</hostid>. Your routers documentation
<hostid role="ipaddr">10.0.0.138</hostid>. Your router documentation
should tell you which address your device uses. To open the tunnel and
start a <application>ppp</application> session execute the following
command.</para>
start a PPP session execute the following
command:</para>
<screen>&prompt.root; <userinput>pptp <replaceable>address</replaceable> <replaceable>isp</replaceable></userinput></screen>
<screen>&prompt.root; <userinput>pptp <replaceable>address</replaceable> <replaceable>adsl</replaceable></userinput></screen>
<tip>
<para>You may wish to add an ampersand (<quote>&amp;</quote>) to the
@ -2406,7 +2406,7 @@ ng0: flags=88d1&lt;UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST&gt; mtu 1500
and <application>ppp</application> processes. Once you have been
returned to your prompt, or the <application>pptp</application>
process has confirmed a connection you can examine the tunnel like
so.</para>
so:</para>
<screen>&prompt.user; <userinput>ifconfig <replaceable>tun0</replaceable></userinput>
tun0: flags=8051&lt;UP,POINTOPOINT,RUNNING,MULTICAST&gt; mtu 1500
@ -2417,7 +2417,7 @@ tun0: flags=8051&lt;UP,POINTOPOINT,RUNNING,MULTICAST&gt; mtu 1500
your router, which is usually accessible via
<application>telnet</application> or with a web browser. If you still
cannot connect you should examine the output of the
<application>pptp</application> command and the contents of the
<command>pptp</command> command and the contents of the
<application>ppp</application> log file,
<filename>/var/log/ppp.log</filename> for clues.</para>
</sect2>