[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 |
|
---|
[246c904] | 7 | <!ENTITY ppp-download-http "http://ccache.samba.org/ftp/ppp/ppp-&ppp-version;.tar.gz">
|
---|
| 8 | <!ENTITY ppp-download-ftp "ftp://ftp.samba.org/pub/ppp/ppp-&ppp-version;.tar.gz">
|
---|
[e72dc56] | 9 | <!ENTITY ppp-md5sum "848f6c3cafeb6074ffeb293c3af79b7c">
|
---|
[637955b] | 10 | <!ENTITY ppp-size "672 KB">
|
---|
| 11 | <!ENTITY ppp-buildsize "6.2 MB">
|
---|
[246c904] | 12 | <!ENTITY ppp-time "0.13 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
[f07203c5] | 15 | <sect1 id="ppp" xreflabel="PPP-&ppp-version;">
|
---|
[c99aa38] | 16 | <?dbhtml filename="ppp.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>PPP-&ppp-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="ppp">
|
---|
| 26 | <primary sortas="a-PPP">PPP</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to PPP</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>PPP</application> package contains the
|
---|
| 33 | <command>pppd</command> daemon and the <command>chat</command>
|
---|
| 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>
|
---|
| 36 |
|
---|
| 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>
|
---|
| 58 |
|
---|
| 59 | <bridgehead renderas="sect3">PPP Dependencies</bridgehead>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 62 | <para><xref linkend="libpcap"/></para>
|
---|
| 63 |
|
---|
| 64 | </sect2>
|
---|
| 65 |
|
---|
| 66 | <sect2 role="installation">
|
---|
| 67 | <title>Installation of PPP</title>
|
---|
| 68 |
|
---|
| 69 | <note id="ppp-kernel">
|
---|
| 70 | <para><application>PPP</application> support must be
|
---|
| 71 | compiled into the kernel or available as a kernel module.</para>
|
---|
| 72 | </note>
|
---|
| 73 |
|
---|
| 74 | <indexterm zone="ppp ppp-kernel">
|
---|
| 75 | <primary sortas="d-PPP-support">PPP support</primary>
|
---|
| 76 | </indexterm>
|
---|
| 77 |
|
---|
| 78 | <para>Install <application>PPP</application> by running the
|
---|
| 79 | following commands:</para>
|
---|
| 80 |
|
---|
| 81 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 82 | make</userinput></screen>
|
---|
| 83 |
|
---|
| 84 | <para>This package does not come with a test suite.</para>
|
---|
| 85 |
|
---|
| 86 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 87 |
|
---|
| 88 | <screen role='root'><userinput>make install &&
|
---|
| 89 | make install-etcppp</userinput></screen>
|
---|
| 90 |
|
---|
| 91 | </sect2>
|
---|
| 92 |
|
---|
| 93 | <sect2 role="commands">
|
---|
| 94 | <title>Command Explanations</title>
|
---|
| 95 |
|
---|
| 96 | <para><command>make install-etcppp</command>: This command puts example
|
---|
| 97 | configuration files in <filename class="directory">/etc/ppp</filename>.</para>
|
---|
| 98 |
|
---|
| 99 | </sect2>
|
---|
| 100 |
|
---|
| 101 | <sect2 role="configuration">
|
---|
| 102 | <title>Configuring PPP</title>
|
---|
| 103 |
|
---|
| 104 | <sect3 id="ppp-config">
|
---|
| 105 | <title>Config Files</title>
|
---|
| 106 |
|
---|
| 107 | <para><filename>/etc/ppp/*</filename></para>
|
---|
| 108 |
|
---|
| 109 | <indexterm zone="ppp ppp-config">
|
---|
| 110 | <primary sortas="e-etc-ppp-star">/etc/ppp/*</primary>
|
---|
| 111 | </indexterm>
|
---|
| 112 |
|
---|
| 113 | </sect3>
|
---|
| 114 |
|
---|
| 115 | <sect3>
|
---|
| 116 | <title>Configuration Information</title>
|
---|
| 117 |
|
---|
| 118 | <para>The <application>PPP</application> daemon requires very little
|
---|
| 119 | configuration. The main trick is scripting the connection. This can be done
|
---|
| 120 | either using the <command>chat</command> program which comes with
|
---|
| 121 | this package or by using <xref linkend="wvdial"/>.</para>
|
---|
| 122 |
|
---|
| 123 | </sect3>
|
---|
| 124 |
|
---|
| 125 | </sect2>
|
---|
| 126 |
|
---|
| 127 | <sect2 role="content">
|
---|
| 128 | <title>Contents</title>
|
---|
| 129 |
|
---|
| 130 | <segmentedlist>
|
---|
| 131 | <segtitle>Installed Programs</segtitle>
|
---|
| 132 | <segtitle>Installed Libraries</segtitle>
|
---|
| 133 | <segtitle>Installed Directories</segtitle>
|
---|
| 134 |
|
---|
| 135 | <seglistitem>
|
---|
| 136 | <seg>chat, pppd, pppdump, pppoe-discovery and pppstats</seg>
|
---|
| 137 | <seg>Several plugin modules installed in
|
---|
| 138 | <filename class='directory'>/usr/lib/pppd/2.4.3</filename></seg>
|
---|
| 139 | <seg>/etc/ppp, /usr/include/pppd and /usr/lib/pppd</seg>
|
---|
| 140 | </seglistitem>
|
---|
| 141 | </segmentedlist>
|
---|
| 142 |
|
---|
| 143 | <variablelist>
|
---|
| 144 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 145 | <?dbfo list-presentation="list"?>
|
---|
| 146 | <?dbhtml list-presentation="table"?>
|
---|
| 147 |
|
---|
| 148 | <varlistentry id="chat">
|
---|
| 149 | <term><command>chat</command></term>
|
---|
| 150 | <listitem>
|
---|
| 151 | <para>defines a conversational exchange between the computer and the
|
---|
| 152 | modem. Its primary purpose is to establish the connection between the
|
---|
| 153 | Point-to-Point Protocol Daemon (PPPD) and the remote's
|
---|
| 154 | <command>pppd</command> process.</para>
|
---|
| 155 | <indexterm zone="ppp chat">
|
---|
| 156 | <primary sortas="b-chat">chat</primary>
|
---|
| 157 | </indexterm>
|
---|
| 158 | </listitem>
|
---|
| 159 | </varlistentry>
|
---|
| 160 |
|
---|
| 161 | <varlistentry id="pppd">
|
---|
| 162 | <term><command>pppd</command></term>
|
---|
| 163 | <listitem>
|
---|
| 164 | <para>is the Point to Point Protocol daemon.</para>
|
---|
| 165 | <indexterm zone="ppp pppd">
|
---|
| 166 | <primary sortas="b-pppd">pppd</primary>
|
---|
| 167 | </indexterm>
|
---|
| 168 | </listitem>
|
---|
| 169 | </varlistentry>
|
---|
| 170 |
|
---|
| 171 | <varlistentry id="pppdump">
|
---|
| 172 | <term><command>pppdump</command></term>
|
---|
| 173 | <listitem>
|
---|
| 174 | <para>is used to convert
|
---|
| 175 | <application>PPP</application> record files to a readable
|
---|
| 176 | format.</para>
|
---|
| 177 | <indexterm zone="ppp pppdump">
|
---|
| 178 | <primary sortas="b-pppdump">pppdump</primary>
|
---|
| 179 | </indexterm>
|
---|
| 180 | </listitem>
|
---|
| 181 | </varlistentry>
|
---|
| 182 |
|
---|
| 183 | <varlistentry id="pppstats">
|
---|
| 184 | <term><command>pppstats</command></term>
|
---|
| 185 | <listitem>
|
---|
| 186 | <para>is used to print
|
---|
| 187 | <application>PPP</application> statistics.</para>
|
---|
| 188 | <indexterm zone="ppp pppstats">
|
---|
| 189 | <primary sortas="b-pppstats">pppstats</primary>
|
---|
| 190 | </indexterm>
|
---|
| 191 | </listitem>
|
---|
| 192 | </varlistentry>
|
---|
| 193 |
|
---|
| 194 | </variablelist>
|
---|
| 195 |
|
---|
| 196 | </sect2>
|
---|
[f45b1953] | 197 |
|
---|
| 198 | </sect1>
|
---|