2004-06-12 09:11:39 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2005-04-04 04:52:42 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
2004-06-12 09:11:39 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
2005-02-09 13:28:10 +08:00
|
|
|
|
2006-04-02 19:36:15 +08:00
|
|
|
<!ENTITY ppp-download-http "http://samba.org/ftp/ppp/ppp-&ppp-version;.tar.gz">
|
2004-06-12 09:11:39 +08:00
|
|
|
<!ENTITY ppp-download-ftp "ftp://ftp.samba.org/pub/ppp/ppp-&ppp-version;.tar.gz">
|
2005-02-09 13:28:10 +08:00
|
|
|
<!ENTITY ppp-md5sum "848f6c3cafeb6074ffeb293c3af79b7c">
|
2004-11-15 18:35:21 +08:00
|
|
|
<!ENTITY ppp-size "672 KB">
|
|
|
|
<!ENTITY ppp-buildsize "6.2 MB">
|
2004-06-12 09:11:39 +08:00
|
|
|
<!ENTITY ppp-time "0.13 SBU">
|
|
|
|
]>
|
|
|
|
|
2003-09-23 07:46:22 +08:00
|
|
|
<sect1 id="ppp" xreflabel="PPP-&ppp-version;">
|
2005-05-01 02:36:36 +08:00
|
|
|
<?dbhtml filename="ppp.html"?>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2005-12-02 04:14:26 +08:00
|
|
|
<keywordset>
|
|
|
|
<keyword role="package">ppp-&ppp-version;.tar</keyword>
|
2005-12-09 04:29:09 +08:00
|
|
|
<keyword role="ftpdir">ppp</keyword>
|
2005-12-02 04:14:26 +08:00
|
|
|
</keywordset>
|
2005-05-01 02:36:36 +08:00
|
|
|
</sect1info>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
<title>PPP-&ppp-version;</title>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
<indexterm zone="ppp">
|
|
|
|
<primary sortas="a-PPP">PPP</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to PPP</title>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-31 05:31:54 +08:00
|
|
|
<para>The <application>PPP</application> package contains the
|
2005-05-31 00:13:27 +08:00
|
|
|
<command>pppd</command> daemon and the <command>chat</command>
|
2005-05-01 02:36:36 +08:00
|
|
|
program. This is used for connecting to other machines; often for connecting to
|
|
|
|
the Internet via a dial-up or PPPoE connection to an ISP.</para>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&ppp-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&ppp-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &ppp-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &ppp-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &ppp-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &ppp-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
<bridgehead renderas="sect3">PPP Dependencies</bridgehead>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2005-12-02 04:14:26 +08:00
|
|
|
<para role="required"><xref linkend="libpcap"/></para>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2006-04-11 02:35:35 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/ppp"/></para>
|
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
</sect2>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of PPP</title>
|
|
|
|
|
|
|
|
<note id="ppp-kernel">
|
2005-05-31 05:31:54 +08:00
|
|
|
<para><application>PPP</application> support must be
|
2005-05-01 02:36:36 +08:00
|
|
|
compiled into the kernel or available as a kernel module.</para>
|
|
|
|
</note>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
<indexterm zone="ppp ppp-kernel">
|
|
|
|
<primary sortas="d-PPP-support">PPP support</primary>
|
|
|
|
</indexterm>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-31 05:31:54 +08:00
|
|
|
<para>Install <application>PPP</application> by running the
|
2005-05-01 02:36:36 +08:00
|
|
|
following commands:</para>
|
|
|
|
|
|
|
|
<screen><userinput>./configure --prefix=/usr &&
|
|
|
|
make</userinput></screen>
|
|
|
|
|
|
|
|
<para>This package does not come with a test suite.</para>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
|
|
|
<screen role='root'><userinput>make install &&
|
|
|
|
make install-etcppp</userinput></screen>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
</sect2>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2005-05-31 05:31:54 +08:00
|
|
|
<para><command>make install-etcppp</command>: This command puts example
|
2005-05-01 02:36:36 +08:00
|
|
|
configuration files in <filename class="directory">/etc/ppp</filename>.</para>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
</sect2>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
<sect2 role="configuration">
|
|
|
|
<title>Configuring PPP</title>
|
|
|
|
|
|
|
|
<sect3 id="ppp-config">
|
|
|
|
<title>Config Files</title>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
<para><filename>/etc/ppp/*</filename></para>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
<indexterm zone="ppp ppp-config">
|
|
|
|
<primary sortas="e-etc-ppp-star">/etc/ppp/*</primary>
|
|
|
|
</indexterm>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
</sect3>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
<sect3>
|
|
|
|
<title>Configuration Information</title>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-31 05:31:54 +08:00
|
|
|
<para>The <application>PPP</application> daemon requires very little
|
|
|
|
configuration. The main trick is scripting the connection. This can be done
|
|
|
|
either using the <command>chat</command> program which comes with
|
2005-05-01 02:36:36 +08:00
|
|
|
this package or by using <xref linkend="wvdial"/>.</para>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
</sect3>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
</sect2>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
<seglistitem>
|
|
|
|
<seg>chat, pppd, pppdump, pppoe-discovery and pppstats</seg>
|
2005-05-31 05:31:54 +08:00
|
|
|
<seg>Several plugin modules installed in
|
2005-05-01 02:36:36 +08:00
|
|
|
<filename class='directory'>/usr/lib/pppd/2.4.3</filename></seg>
|
|
|
|
<seg>/etc/ppp, /usr/include/pppd and /usr/lib/pppd</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
<varlistentry id="chat">
|
|
|
|
<term><command>chat</command></term>
|
|
|
|
<listitem>
|
2005-05-31 05:31:54 +08:00
|
|
|
<para>defines a conversational exchange between the computer and the
|
|
|
|
modem. Its primary purpose is to establish the connection between the
|
2005-07-31 02:14:25 +08:00
|
|
|
Point-to-Point Protocol Daemon (PPPD) and the remote
|
2005-05-01 02:36:36 +08:00
|
|
|
<command>pppd</command> process.</para>
|
|
|
|
<indexterm zone="ppp chat">
|
|
|
|
<primary sortas="b-chat">chat</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
<varlistentry id="pppd">
|
|
|
|
<term><command>pppd</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is the Point to Point Protocol daemon.</para>
|
|
|
|
<indexterm zone="ppp pppd">
|
|
|
|
<primary sortas="b-pppd">pppd</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
<varlistentry id="pppdump">
|
|
|
|
<term><command>pppdump</command></term>
|
|
|
|
<listitem>
|
2005-05-31 05:31:54 +08:00
|
|
|
<para>is used to convert
|
|
|
|
<application>PPP</application> record files to a readable
|
2005-05-01 02:36:36 +08:00
|
|
|
format.</para>
|
|
|
|
<indexterm zone="ppp pppdump">
|
|
|
|
<primary sortas="b-pppdump">pppdump</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
<varlistentry id="pppstats">
|
|
|
|
<term><command>pppstats</command></term>
|
|
|
|
<listitem>
|
2005-05-31 05:31:54 +08:00
|
|
|
<para>is used to print
|
2005-05-01 02:36:36 +08:00
|
|
|
<application>PPP</application> statistics.</para>
|
|
|
|
<indexterm zone="ppp pppstats">
|
|
|
|
<primary sortas="b-pppstats">pppstats</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2005-05-31 00:13:27 +08:00
|
|
|
|
2005-05-01 02:36:36 +08:00
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
</sect1>
|