[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;
|
---|
[def11b7] | 6 |
|
---|
[e51a0eb2] | 7 | <!ENTITY pppoe-download-http "http://www.roaringpenguin.com/penguin/pppoe/rp-pppoe-&pppoe-version;.tar.gz">
|
---|
[98020b1] | 8 | <!ENTITY pppoe-download-ftp " ">
|
---|
| 9 | <!ENTITY pppoe-md5sum "944bae296796144e1728188a44d18cbd">
|
---|
| 10 | <!ENTITY pppoe-size "207 KB">
|
---|
[246c904] | 11 | <!ENTITY pppoe-buildsize "2.2 MB">
|
---|
| 12 | <!ENTITY pppoe-time "0.05 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
[3cfb81c] | 15 | <sect1 id="pppoe" xreflabel="RP-PPPoE-&pppoe-version;">
|
---|
[68dcb2dd] | 16 | <?dbhtml filename="pppoe.html"?>
|
---|
[4839c17] | 17 |
|
---|
[68dcb2dd] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[4839c17] | 22 |
|
---|
[68dcb2dd] | 23 | <title>RP-PPPoE-&pppoe-version;</title>
|
---|
[4839c17] | 24 |
|
---|
[68dcb2dd] | 25 | <indexterm zone="pppoe">
|
---|
| 26 | <primary sortas="a-RP-PPPoE">RP-PPPoE</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to RP-PPPoE</title>
|
---|
[4839c17] | 31 |
|
---|
| 32 | <para>The Roaring Penguin <application>PPPoE</application>
|
---|
[893d9711] | 33 | package contains both a client and a server component that works with the
|
---|
| 34 | client. The client allows you to connect to large networks that use the
|
---|
| 35 | PPPoE protocol, common among ADSL providers. The server component
|
---|
| 36 | runs alongside the client, allowing you to configure other clients that send
|
---|
[68dcb2dd] | 37 | out a configuration request.</para>
|
---|
[4839c17] | 38 |
|
---|
[68dcb2dd] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&pppoe-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&pppoe-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &pppoe-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &pppoe-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &pppoe-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &pppoe-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
[4839c17] | 60 |
|
---|
[68dcb2dd] | 61 | <bridgehead renderas="sect3">RP-PPPoE Dependencies</bridgehead>
|
---|
[4839c17] | 62 |
|
---|
[68dcb2dd] | 63 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 64 | <para><xref linkend="ppp"/> and
|
---|
| 65 | <xref linkend="net-tools"/> (you may omit
|
---|
| 66 | <application>Net-tools</application> by using the following patch to
|
---|
[b1d305ed] | 67 | utilize <application>IPRoute2</application> instead: <ulink
|
---|
[68dcb2dd] | 68 | url="&patch-root;/rp-pppoe-&pppoe-version;-iproute2-1.patch"/>)</para>
|
---|
[4839c17] | 69 |
|
---|
[68dcb2dd] | 70 | </sect2>
|
---|
[4839c17] | 71 |
|
---|
[68dcb2dd] | 72 | <sect2 role="installation">
|
---|
| 73 | <title>Installation of RP-PPPoE</title>
|
---|
| 74 |
|
---|
| 75 | <note id="pppoe-kernel">
|
---|
[893d9711] | 76 | <para>If you plan on using kernel-mode PPPoE, this package is no longer explicitly
|
---|
[919683dc] | 77 | needed, however, it is recommended for ease of configuration. Additional information
|
---|
[893d9711] | 78 | about kernel mode PPPoE can be found in
|
---|
[68dcb2dd] | 79 | <filename>rp-pppoe-&pppoe-version;/doc/KERNEL-MODE-PPPOE</filename>.</para>
|
---|
| 80 | </note>
|
---|
[4839c17] | 81 |
|
---|
[68dcb2dd] | 82 | <indexterm zone="pppoe pppoe-kernel">
|
---|
| 83 | <primary sortas="d-Kernel-mode-PPPoE">Kernel-mode PPPoE</primary>
|
---|
| 84 | </indexterm>
|
---|
[4839c17] | 85 |
|
---|
[98020b1] | 86 | <para>Fix the location of the logger executable in several PPPoE scripts:</para>
|
---|
[68dcb2dd] | 87 |
|
---|
[b1d305ed] | 88 | <screen><userinput>sed -i s%/usr/bin/logger%/bin/logger% \
|
---|
[98020b1] | 89 | scripts/pppoe-{connect,setup,stop}.in</userinput></screen>
|
---|
[68dcb2dd] | 90 |
|
---|
[893d9711] | 91 | <para>Install <application>RP-PPPoE</application> by running the following
|
---|
[68dcb2dd] | 92 | commands:</para>
|
---|
| 93 |
|
---|
| 94 | <screen><userinput>cd src &&
|
---|
[246c904] | 95 | ./configure &&
|
---|
[68dcb2dd] | 96 | make</userinput></screen>
|
---|
| 97 |
|
---|
| 98 | <para>This package does not come with a test suite.</para>
|
---|
[4839c17] | 99 |
|
---|
[68dcb2dd] | 100 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[4839c17] | 101 |
|
---|
[68dcb2dd] | 102 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[4839c17] | 103 |
|
---|
[68dcb2dd] | 104 | </sect2>
|
---|
[4839c17] | 105 |
|
---|
[68dcb2dd] | 106 | <sect2 role="commands">
|
---|
| 107 | <title>Command Explanations</title>
|
---|
| 108 |
|
---|
[b1d305ed] | 109 | <para>These are the standard installation commands that will install the
|
---|
| 110 | package into the <filename class="directory">/usr</filename> prefix. You
|
---|
| 111 | can optionally use the <command>go</command> script in the root of the
|
---|
| 112 | source tree to run the same commands, which are then immediately followed
|
---|
[98020b1] | 113 | by the <command>pppoe-setup</command> script.</para>
|
---|
[4839c17] | 114 |
|
---|
[68dcb2dd] | 115 | </sect2>
|
---|
[4839c17] | 116 |
|
---|
[68dcb2dd] | 117 | <sect2 role="configuration">
|
---|
| 118 | <title>Configuring RP-PPPoE</title>
|
---|
| 119 |
|
---|
| 120 | <sect3 id="pppoe-config">
|
---|
| 121 | <title>Config Files</title>
|
---|
[4839c17] | 122 |
|
---|
[893d9711] | 123 | <para><filename>/etc/ppp/pppoe.conf</filename>,
|
---|
| 124 | <filename>/etc/ppp/firewall-standalone</filename>,
|
---|
| 125 | <filename>/etc/ppp/firewall-masq</filename>,
|
---|
| 126 | <filename>/etc/ppp/pppoe-server-options</filename>,
|
---|
| 127 | <filename>/etc/resolv.conf</filename>,
|
---|
| 128 | <filename>/etc/ppp/pap-secrets</filename>,
|
---|
[68dcb2dd] | 129 | <filename>/etc/ppp/chap-secrets</filename></para>
|
---|
[4839c17] | 130 |
|
---|
[68dcb2dd] | 131 | <indexterm zone="pppoe pppoe-config">
|
---|
| 132 | <primary sortas="e-etc-ppp-pppoe.conf">/etc/ppp/pppoe.conf</primary>
|
---|
| 133 | </indexterm>
|
---|
[4839c17] | 134 |
|
---|
[68dcb2dd] | 135 | <indexterm zone="pppoe pppoe-config">
|
---|
| 136 | <primary sortas="e-etc-ppp-firewall-standalone">/etc/ppp/firewall-standalone</primary>
|
---|
| 137 | </indexterm>
|
---|
[4839c17] | 138 |
|
---|
[68dcb2dd] | 139 | <indexterm zone="pppoe pppoe-config">
|
---|
| 140 | <primary sortas="e-etc-ppp-firewall-masq">/etc/ppp/firewall-masq</primary>
|
---|
| 141 | </indexterm>
|
---|
[4839c17] | 142 |
|
---|
[68dcb2dd] | 143 | <indexterm zone="pppoe pppoe-config">
|
---|
| 144 | <primary sortas="e-etc-ppp-pppoe-server-options">/etc/ppp/pppoe-server-options</primary>
|
---|
| 145 | </indexterm>
|
---|
[4839c17] | 146 |
|
---|
[68dcb2dd] | 147 | <indexterm zone="pppoe pppoe-config">
|
---|
| 148 | <primary sortas="e-etc-resolv.conf">/etc/resolv.conf</primary>
|
---|
| 149 | </indexterm>
|
---|
[4839c17] | 150 |
|
---|
[68dcb2dd] | 151 | <indexterm zone="pppoe pppoe-config">
|
---|
| 152 | <primary sortas="e-etc-ppp-pap-secrets">/etc/ppp/pap-secrets</primary>
|
---|
| 153 | </indexterm>
|
---|
[4839c17] | 154 |
|
---|
[68dcb2dd] | 155 | <indexterm zone="pppoe pppoe-config">
|
---|
| 156 | <primary sortas="e-etc-ppp-chap-secrets">/etc/ppp/chap-secrets</primary>
|
---|
| 157 | </indexterm>
|
---|
[4839c17] | 158 |
|
---|
[68dcb2dd] | 159 | </sect3>
|
---|
| 160 |
|
---|
| 161 | <sect3>
|
---|
| 162 | <title>Configuration Information</title>
|
---|
| 163 |
|
---|
[893d9711] | 164 | <para>To configure <application>RP-PPPoE</application> after installation,
|
---|
[98020b1] | 165 | you should run the <command>pppoe-setup</command> script.</para>
|
---|
[4839c17] | 166 |
|
---|
[893d9711] | 167 | <para>When configuring your connection, you will need to have your
|
---|
| 168 | ISP's nameserver information available, as well as your
|
---|
| 169 | username and password. You will also be asked whether to configure a
|
---|
| 170 | dial-on-demand or a constant connection. If your service provider does not
|
---|
| 171 | charge by the minute, it is usually good to have a bootscript handle the
|
---|
| 172 | connection for you. You can, of course, choose not to install the
|
---|
| 173 | following script, and start your connection manually with the
|
---|
[98020b1] | 174 | <command>pppoe-start</command> script.</para>
|
---|
[68dcb2dd] | 175 |
|
---|
[893d9711] | 176 | <para id="pppoe-init"><emphasis>Optionally</emphasis> install the
|
---|
| 177 | <filename>/etc/sysconfig/network-devices/services/pppoe</filename> service
|
---|
[4839c17] | 178 | script included with the <xref linkend="intro-important-bootscripts"/>
|
---|
[68dcb2dd] | 179 | package (as user <systemitem class="username">root</systemitem>).</para>
|
---|
[4839c17] | 180 |
|
---|
[68dcb2dd] | 181 | <indexterm zone="pppoe pppoe-init">
|
---|
| 182 | <primary sortas="f-pppoe-service-script">pppoe (service script)</primary>
|
---|
| 183 | </indexterm>
|
---|
| 184 |
|
---|
| 185 | <screen role='root'><userinput>make install-service-pppoe</userinput></screen>
|
---|
| 186 |
|
---|
[893d9711] | 187 | <para id="pppoe-config2">Now create the config file for use with the
|
---|
| 188 | <filename>pppoe</filename> service script (as user <systemitem
|
---|
[68dcb2dd] | 189 | class="username">root</systemitem>):</para>
|
---|
[4839c17] | 190 |
|
---|
[68dcb2dd] | 191 | <indexterm zone="pppoe pppoe-config2">
|
---|
| 192 | <primary sortas="e-etc-sysconfig-pppoe">/etc/sysconfig/.../pppoe</primary>
|
---|
| 193 | </indexterm>
|
---|
[4839c17] | 194 |
|
---|
[68dcb2dd] | 195 | <note>
|
---|
| 196 | <para>If you have previously configured the network interface that
|
---|
[893d9711] | 197 | will now use PPPoE, you should remove the interface
|
---|
| 198 | configuration files for that interface (as user <systemitem
|
---|
[68dcb2dd] | 199 | class="username">root</systemitem>):</para>
|
---|
[4839c17] | 200 |
|
---|
[e3353b3] | 201 | <screen role='root'><userinput>rm -v /etc/sysconfig/network-devices/ifconfig.eth0/*</userinput></screen>
|
---|
[68dcb2dd] | 202 | </note>
|
---|
| 203 |
|
---|
[e3353b3] | 204 | <screen role='root'><userinput>install -v -d /etc/sysconfig/network-devices/ifconfig.eth0 &&
|
---|
[68dcb2dd] | 205 | cat > /etc/sysconfig/network-devices/ifconfig.eth0/pppoe << "EOF"
|
---|
| 206 | <literal>ONBOOT="yes"
|
---|
| 207 | SERVICE="pppoe"</literal>
|
---|
| 208 | EOF</userinput></screen>
|
---|
| 209 |
|
---|
| 210 | <!-- A TYPE="[user/kernel]" will be added at a later date when kernel
|
---|
| 211 | mode pppoe is described here. -->
|
---|
[4839c17] | 212 |
|
---|
[68dcb2dd] | 213 | </sect3>
|
---|
[4839c17] | 214 |
|
---|
[68dcb2dd] | 215 | </sect2>
|
---|
[4839c17] | 216 |
|
---|
[68dcb2dd] | 217 | <sect2 role="content">
|
---|
| 218 | <title>Contents</title>
|
---|
| 219 |
|
---|
| 220 | <segmentedlist>
|
---|
| 221 | <segtitle>Installed Programs</segtitle>
|
---|
| 222 | <segtitle>Installed Libraries</segtitle>
|
---|
| 223 | <segtitle>Installed Directories</segtitle>
|
---|
[4839c17] | 224 |
|
---|
[68dcb2dd] | 225 | <seglistitem>
|
---|
[98020b1] | 226 | <seg>pppoe-connect, pppoe-setup, pppoe-start, pppoe-status, pppoe-stop, pppoe,
|
---|
[68dcb2dd] | 227 | pppoe-relay, pppoe-server and pppoe-sniff</seg>
|
---|
| 228 | <seg>None</seg>
|
---|
| 229 | <seg>/etc/ppp/plugins and /usr/share/doc/rp-pppoe-&pppoe-version;</seg>
|
---|
| 230 | </seglistitem>
|
---|
| 231 | </segmentedlist>
|
---|
[4839c17] | 232 |
|
---|
[68dcb2dd] | 233 | <variablelist>
|
---|
| 234 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 235 | <?dbfo list-presentation="list"?>
|
---|
| 236 | <?dbhtml list-presentation="table"?>
|
---|
[4839c17] | 237 |
|
---|
[98020b1] | 238 | <varlistentry id="pppoe-connect">
|
---|
| 239 | <term><command>pppoe-connect</command></term>
|
---|
[68dcb2dd] | 240 | <listitem>
|
---|
[98020b1] | 241 | <para>is a shell script which manages an PPPoE
|
---|
[68dcb2dd] | 242 | connection using the user-space PPPoE client.</para>
|
---|
[98020b1] | 243 | <indexterm zone="pppoe pppoe-connect">
|
---|
| 244 | <primary sortas="b-pppoe-connect">pppoe-connect</primary>
|
---|
[68dcb2dd] | 245 | </indexterm>
|
---|
| 246 | </listitem>
|
---|
| 247 | </varlistentry>
|
---|
[4839c17] | 248 |
|
---|
[98020b1] | 249 | <varlistentry id="pppoe-setup">
|
---|
| 250 | <term><command>pppoe-setup</command></term>
|
---|
[68dcb2dd] | 251 | <listitem>
|
---|
[893d9711] | 252 | <para>is a script for configuring the client. Configuration is
|
---|
[68dcb2dd] | 253 | then stored in <filename>/etc/ppp/pppoe.conf</filename>.</para>
|
---|
[98020b1] | 254 | <indexterm zone="pppoe pppoe-setup">
|
---|
| 255 | <primary sortas="b-pppoe-setup">pppoe-setup</primary>
|
---|
[68dcb2dd] | 256 | </indexterm>
|
---|
| 257 | </listitem>
|
---|
| 258 | </varlistentry>
|
---|
[4839c17] | 259 |
|
---|
[98020b1] | 260 | <varlistentry id="pppoe-start">
|
---|
| 261 | <term><command>pppoe-start</command></term>
|
---|
[68dcb2dd] | 262 | <listitem>
|
---|
[893d9711] | 263 | <para>starts the client using the options specified in
|
---|
[68dcb2dd] | 264 | <filename>/etc/ppp/pppoe.conf</filename>.</para>
|
---|
[98020b1] | 265 | <indexterm zone="pppoe pppoe-start">
|
---|
| 266 | <primary sortas="b-pppoe-start">pppoe-start</primary>
|
---|
[68dcb2dd] | 267 | </indexterm>
|
---|
| 268 | </listitem>
|
---|
| 269 | </varlistentry>
|
---|
[4839c17] | 270 |
|
---|
[98020b1] | 271 | <varlistentry id="pppoe-status">
|
---|
| 272 | <term><command>pppoe-status</command></term>
|
---|
[68dcb2dd] | 273 | <listitem>
|
---|
[98020b1] | 274 | <para>displays the status of the PPPoE
|
---|
[68dcb2dd] | 275 | connection.</para>
|
---|
[98020b1] | 276 | <indexterm zone="pppoe pppoe-status">
|
---|
| 277 | <primary sortas="b-pppoe-status">pppoe-status</primary>
|
---|
[68dcb2dd] | 278 | </indexterm>
|
---|
| 279 | </listitem>
|
---|
| 280 | </varlistentry>
|
---|
[4839c17] | 281 |
|
---|
[98020b1] | 282 | <varlistentry id="pppoe-stop">
|
---|
| 283 | <term><command>pppoe-stop</command></term>
|
---|
[68dcb2dd] | 284 | <listitem>
|
---|
| 285 | <para>stops the client.</para>
|
---|
[98020b1] | 286 | <indexterm zone="pppoe pppoe-stop">
|
---|
| 287 | <primary sortas="b-pppoe-stop">pppoe-stop</primary>
|
---|
[68dcb2dd] | 288 | </indexterm>
|
---|
| 289 | </listitem>
|
---|
| 290 | </varlistentry>
|
---|
[4839c17] | 291 |
|
---|
[68dcb2dd] | 292 | <varlistentry id="pppoe-prog">
|
---|
| 293 | <term><command>pppoe</command></term>
|
---|
| 294 | <listitem>
|
---|
[893d9711] | 295 | <para>is the client program. Generally it should not be started on
|
---|
[68dcb2dd] | 296 | its own.</para>
|
---|
| 297 | <indexterm zone="pppoe pppoe-prog">
|
---|
| 298 | <primary sortas="b-pppoe">pppoe</primary>
|
---|
| 299 | </indexterm>
|
---|
| 300 | </listitem>
|
---|
| 301 | </varlistentry>
|
---|
[4839c17] | 302 |
|
---|
[68dcb2dd] | 303 | <varlistentry id="pppoe-relay">
|
---|
| 304 | <term><command>pppoe-relay</command></term>
|
---|
| 305 | <listitem>
|
---|
| 306 | <para>starts the server relay agent.</para>
|
---|
| 307 | <indexterm zone="pppoe pppoe-relay">
|
---|
| 308 | <primary sortas="b-pppoe-relay">pppoe-relay</primary>
|
---|
| 309 | </indexterm>
|
---|
| 310 | </listitem>
|
---|
| 311 | </varlistentry>
|
---|
[4839c17] | 312 |
|
---|
[68dcb2dd] | 313 | <varlistentry id="pppoe-server">
|
---|
| 314 | <term><command>pppoe-server</command></term>
|
---|
| 315 | <listitem>
|
---|
| 316 | <para>starts the server component.</para>
|
---|
| 317 | <indexterm zone="pppoe pppoe-server">
|
---|
| 318 | <primary sortas="b-pppoe-server">pppoe-server</primary>
|
---|
| 319 | </indexterm>
|
---|
| 320 | </listitem>
|
---|
| 321 | </varlistentry>
|
---|
[4839c17] | 322 |
|
---|
[68dcb2dd] | 323 | <varlistentry id="pppoe-sniff">
|
---|
| 324 | <term><command>pppoe-sniff</command></term>
|
---|
| 325 | <listitem>
|
---|
[893d9711] | 326 | <para>is a small network sniffer designed to assist in setting
|
---|
[68dcb2dd] | 327 | <envar>PPPOE_EXTRA</envar> settings.</para>
|
---|
| 328 | <indexterm zone="pppoe pppoe-sniff">
|
---|
| 329 | <primary sortas="b-pppoe-sniff">pppoe-sniff</primary>
|
---|
| 330 | </indexterm>
|
---|
| 331 | </listitem>
|
---|
| 332 | </varlistentry>
|
---|
[4839c17] | 333 |
|
---|
[68dcb2dd] | 334 | </variablelist>
|
---|
| 335 |
|
---|
| 336 | </sect2>
|
---|
[f45b1953] | 337 |
|
---|
| 338 | </sect1>
|
---|