[246c904] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[246c904] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[e72dc56] | 6 |
|
---|
[dd7f181] | 7 | <!ENTITY ppp-download-http "http://samba.org/ftp/ppp/ppp-&ppp-version;.tar.gz">
|
---|
[419b61f] | 8 | <!ENTITY ppp-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/ppp-&ppp-version;.tar.gz">
|
---|
[d37e1110] | 9 | <!ENTITY ppp-md5sum "183800762e266132218b204dfb428d29">
|
---|
| 10 | <!ENTITY ppp-size "673 KB">
|
---|
| 11 | <!ENTITY ppp-buildsize "5.6 MB">
|
---|
| 12 | <!ENTITY ppp-time "0.1 SBU">
|
---|
[246c904] | 13 | ]>
|
---|
| 14 |
|
---|
[f07203c5] | 15 | <sect1 id="ppp" xreflabel="PPP-&ppp-version;">
|
---|
[c99aa38] | 16 | <?dbhtml filename="ppp.html"?>
|
---|
[4839c17] | 17 |
|
---|
[c99aa38] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[4839c17] | 22 |
|
---|
[c99aa38] | 23 | <title>PPP-&ppp-version;</title>
|
---|
[4839c17] | 24 |
|
---|
[c99aa38] | 25 | <indexterm zone="ppp">
|
---|
| 26 | <primary sortas="a-PPP">PPP</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to PPP</title>
|
---|
[4839c17] | 31 |
|
---|
[893d9711] | 32 | <para>The <application>PPP</application> package contains the
|
---|
[4839c17] | 33 | <command>pppd</command> daemon and the <command>chat</command>
|
---|
[c99aa38] | 34 | program. This is used for connecting to other machines; often for connecting to
|
---|
| 35 | the Internet via a dial-up or PPPoE connection to an ISP.</para>
|
---|
[4839c17] | 36 |
|
---|
[c99aa38] | 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&ppp-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&ppp-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &ppp-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &ppp-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &ppp-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &ppp-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
[4839c17] | 58 |
|
---|
[c99aa38] | 59 | <bridgehead renderas="sect3">PPP Dependencies</bridgehead>
|
---|
[4839c17] | 60 |
|
---|
[ba41c33] | 61 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 62 | <para role="optional"><xref linkend="libpcap"/> (needed to do PPP filtering)
|
---|
| 63 | and <ulink url="http://linux-atm.sourceforge.net/">Linux ATM</ulink> (to
|
---|
| 64 | build the pppoatm.so plugin)</para>
|
---|
[4839c17] | 65 |
|
---|
[7e1f3aa] | 66 | <para condition="html" role="usernotes">User Notes:
|
---|
[6c42d4e] | 67 | <ulink url="&blfs-wiki;/PPP"/></para>
|
---|
[7e1f3aa] | 68 |
|
---|
[c99aa38] | 69 | </sect2>
|
---|
[4839c17] | 70 |
|
---|
[c99aa38] | 71 | <sect2 role="installation">
|
---|
| 72 | <title>Installation of PPP</title>
|
---|
| 73 |
|
---|
| 74 | <note id="ppp-kernel">
|
---|
[893d9711] | 75 | <para><application>PPP</application> support must be
|
---|
[c99aa38] | 76 | compiled into the kernel or available as a kernel module.</para>
|
---|
| 77 | </note>
|
---|
[4839c17] | 78 |
|
---|
[c99aa38] | 79 | <indexterm zone="ppp ppp-kernel">
|
---|
| 80 | <primary sortas="d-PPP-support">PPP support</primary>
|
---|
| 81 | </indexterm>
|
---|
[4839c17] | 82 |
|
---|
[893d9711] | 83 | <para>Install <application>PPP</application> by running the
|
---|
[c99aa38] | 84 | following commands:</para>
|
---|
| 85 |
|
---|
| 86 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 87 | make</userinput></screen>
|
---|
| 88 |
|
---|
| 89 | <para>This package does not come with a test suite.</para>
|
---|
[4839c17] | 90 |
|
---|
[c99aa38] | 91 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 92 |
|
---|
| 93 | <screen role='root'><userinput>make install &&
|
---|
| 94 | make install-etcppp</userinput></screen>
|
---|
[4839c17] | 95 |
|
---|
[c99aa38] | 96 | </sect2>
|
---|
[4839c17] | 97 |
|
---|
[c99aa38] | 98 | <sect2 role="commands">
|
---|
| 99 | <title>Command Explanations</title>
|
---|
| 100 |
|
---|
[893d9711] | 101 | <para><command>make install-etcppp</command>: This command puts example
|
---|
[c99aa38] | 102 | configuration files in <filename class="directory">/etc/ppp</filename>.</para>
|
---|
[4839c17] | 103 |
|
---|
[c99aa38] | 104 | </sect2>
|
---|
[4839c17] | 105 |
|
---|
[c99aa38] | 106 | <sect2 role="configuration">
|
---|
| 107 | <title>Configuring PPP</title>
|
---|
| 108 |
|
---|
| 109 | <sect3 id="ppp-config">
|
---|
| 110 | <title>Config Files</title>
|
---|
[4839c17] | 111 |
|
---|
[c99aa38] | 112 | <para><filename>/etc/ppp/*</filename></para>
|
---|
[4839c17] | 113 |
|
---|
[c99aa38] | 114 | <indexterm zone="ppp ppp-config">
|
---|
| 115 | <primary sortas="e-etc-ppp-star">/etc/ppp/*</primary>
|
---|
| 116 | </indexterm>
|
---|
[4839c17] | 117 |
|
---|
[c99aa38] | 118 | </sect3>
|
---|
[4839c17] | 119 |
|
---|
[c99aa38] | 120 | <sect3>
|
---|
| 121 | <title>Configuration Information</title>
|
---|
[4839c17] | 122 |
|
---|
[893d9711] | 123 | <para>The <application>PPP</application> daemon requires very little
|
---|
| 124 | configuration. The main trick is scripting the connection. This can be done
|
---|
| 125 | either using the <command>chat</command> program which comes with
|
---|
[c99aa38] | 126 | this package or by using <xref linkend="wvdial"/>.</para>
|
---|
[4839c17] | 127 |
|
---|
[c99aa38] | 128 | </sect3>
|
---|
[4839c17] | 129 |
|
---|
[c99aa38] | 130 | </sect2>
|
---|
[4839c17] | 131 |
|
---|
[c99aa38] | 132 | <sect2 role="content">
|
---|
| 133 | <title>Contents</title>
|
---|
| 134 |
|
---|
| 135 | <segmentedlist>
|
---|
| 136 | <segtitle>Installed Programs</segtitle>
|
---|
| 137 | <segtitle>Installed Libraries</segtitle>
|
---|
| 138 | <segtitle>Installed Directories</segtitle>
|
---|
[4839c17] | 139 |
|
---|
[c99aa38] | 140 | <seglistitem>
|
---|
| 141 | <seg>chat, pppd, pppdump, pppoe-discovery and pppstats</seg>
|
---|
[893d9711] | 142 | <seg>Several plugin modules installed in
|
---|
[c99aa38] | 143 | <filename class='directory'>/usr/lib/pppd/2.4.3</filename></seg>
|
---|
| 144 | <seg>/etc/ppp, /usr/include/pppd and /usr/lib/pppd</seg>
|
---|
| 145 | </seglistitem>
|
---|
| 146 | </segmentedlist>
|
---|
[4839c17] | 147 |
|
---|
[c99aa38] | 148 | <variablelist>
|
---|
| 149 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 150 | <?dbfo list-presentation="list"?>
|
---|
| 151 | <?dbhtml list-presentation="table"?>
|
---|
[4839c17] | 152 |
|
---|
[c99aa38] | 153 | <varlistentry id="chat">
|
---|
| 154 | <term><command>chat</command></term>
|
---|
| 155 | <listitem>
|
---|
[893d9711] | 156 | <para>defines a conversational exchange between the computer and the
|
---|
| 157 | modem. Its primary purpose is to establish the connection between the
|
---|
[919683dc] | 158 | Point-to-Point Protocol Daemon (PPPD) and the remote
|
---|
[c99aa38] | 159 | <command>pppd</command> process.</para>
|
---|
| 160 | <indexterm zone="ppp chat">
|
---|
| 161 | <primary sortas="b-chat">chat</primary>
|
---|
| 162 | </indexterm>
|
---|
| 163 | </listitem>
|
---|
| 164 | </varlistentry>
|
---|
[4839c17] | 165 |
|
---|
[c99aa38] | 166 | <varlistentry id="pppd">
|
---|
| 167 | <term><command>pppd</command></term>
|
---|
| 168 | <listitem>
|
---|
| 169 | <para>is the Point to Point Protocol daemon.</para>
|
---|
| 170 | <indexterm zone="ppp pppd">
|
---|
| 171 | <primary sortas="b-pppd">pppd</primary>
|
---|
| 172 | </indexterm>
|
---|
| 173 | </listitem>
|
---|
| 174 | </varlistentry>
|
---|
[4839c17] | 175 |
|
---|
[c99aa38] | 176 | <varlistentry id="pppdump">
|
---|
| 177 | <term><command>pppdump</command></term>
|
---|
| 178 | <listitem>
|
---|
[893d9711] | 179 | <para>is used to convert
|
---|
| 180 | <application>PPP</application> record files to a readable
|
---|
[c99aa38] | 181 | format.</para>
|
---|
| 182 | <indexterm zone="ppp pppdump">
|
---|
| 183 | <primary sortas="b-pppdump">pppdump</primary>
|
---|
| 184 | </indexterm>
|
---|
| 185 | </listitem>
|
---|
| 186 | </varlistentry>
|
---|
[4839c17] | 187 |
|
---|
[c99aa38] | 188 | <varlistentry id="pppstats">
|
---|
| 189 | <term><command>pppstats</command></term>
|
---|
| 190 | <listitem>
|
---|
[893d9711] | 191 | <para>is used to print
|
---|
[c99aa38] | 192 | <application>PPP</application> statistics.</para>
|
---|
| 193 | <indexterm zone="ppp pppstats">
|
---|
| 194 | <primary sortas="b-pppstats">pppstats</primary>
|
---|
| 195 | </indexterm>
|
---|
| 196 | </listitem>
|
---|
| 197 | </varlistentry>
|
---|
[4839c17] | 198 |
|
---|
[c99aa38] | 199 | </variablelist>
|
---|
| 200 |
|
---|
| 201 | </sect2>
|
---|
[f45b1953] | 202 |
|
---|
| 203 | </sect1>
|
---|