[246c904] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/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 " ">
|
---|
[2583c25] | 9 | <!ENTITY pppoe-md5sum "0e32760f498f9cde44081ee6aafc823b">
|
---|
| 10 | <!ENTITY pppoe-size "212 KB">
|
---|
| 11 | <!ENTITY pppoe-buildsize "2.4 MB">
|
---|
| 12 | <!ENTITY pppoe-time "less than 0.1 SBU">
|
---|
[246c904] | 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>
|
---|
[6d4fc00] | 64 | <para role="required"><xref linkend="ppp"/> and
|
---|
[68dcb2dd] | 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 |
|
---|
[7e1f3aa] | 70 | <para condition="html" role="usernotes">User Notes:
|
---|
[6c42d4e] | 71 | <ulink url="&blfs-wiki;/RP-PPPoE"/></para>
|
---|
[7e1f3aa] | 72 |
|
---|
[68dcb2dd] | 73 | </sect2>
|
---|
[4839c17] | 74 |
|
---|
[68dcb2dd] | 75 | <sect2 role="installation">
|
---|
| 76 | <title>Installation of RP-PPPoE</title>
|
---|
| 77 |
|
---|
| 78 | <note id="pppoe-kernel">
|
---|
[893d9711] | 79 | <para>If you plan on using kernel-mode PPPoE, this package is no longer explicitly
|
---|
[919683dc] | 80 | needed, however, it is recommended for ease of configuration. Additional information
|
---|
[893d9711] | 81 | about kernel mode PPPoE can be found in
|
---|
[68dcb2dd] | 82 | <filename>rp-pppoe-&pppoe-version;/doc/KERNEL-MODE-PPPOE</filename>.</para>
|
---|
| 83 | </note>
|
---|
[4839c17] | 84 |
|
---|
[68dcb2dd] | 85 | <indexterm zone="pppoe pppoe-kernel">
|
---|
| 86 | <primary sortas="d-Kernel-mode-PPPoE">Kernel-mode PPPoE</primary>
|
---|
| 87 | </indexterm>
|
---|
[4839c17] | 88 |
|
---|
[98020b1] | 89 | <para>Fix the location of the logger executable in several PPPoE scripts:</para>
|
---|
[68dcb2dd] | 90 |
|
---|
[b1d305ed] | 91 | <screen><userinput>sed -i s%/usr/bin/logger%/bin/logger% \
|
---|
[98020b1] | 92 | scripts/pppoe-{connect,setup,stop}.in</userinput></screen>
|
---|
[68dcb2dd] | 93 |
|
---|
[893d9711] | 94 | <para>Install <application>RP-PPPoE</application> by running the following
|
---|
[68dcb2dd] | 95 | commands:</para>
|
---|
| 96 |
|
---|
| 97 | <screen><userinput>cd src &&
|
---|
[246c904] | 98 | ./configure &&
|
---|
[68dcb2dd] | 99 | make</userinput></screen>
|
---|
| 100 |
|
---|
| 101 | <para>This package does not come with a test suite.</para>
|
---|
[4839c17] | 102 |
|
---|
[68dcb2dd] | 103 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[4839c17] | 104 |
|
---|
[68dcb2dd] | 105 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[4839c17] | 106 |
|
---|
[68dcb2dd] | 107 | </sect2>
|
---|
[4839c17] | 108 |
|
---|
[68dcb2dd] | 109 | <sect2 role="commands">
|
---|
| 110 | <title>Command Explanations</title>
|
---|
| 111 |
|
---|
[b1d305ed] | 112 | <para>These are the standard installation commands that will install the
|
---|
| 113 | package into the <filename class="directory">/usr</filename> prefix. You
|
---|
| 114 | can optionally use the <command>go</command> script in the root of the
|
---|
| 115 | source tree to run the same commands, which are then immediately followed
|
---|
[98020b1] | 116 | by the <command>pppoe-setup</command> script.</para>
|
---|
[4839c17] | 117 |
|
---|
[68dcb2dd] | 118 | </sect2>
|
---|
[4839c17] | 119 |
|
---|
[68dcb2dd] | 120 | <sect2 role="configuration">
|
---|
| 121 | <title>Configuring RP-PPPoE</title>
|
---|
| 122 |
|
---|
| 123 | <sect3 id="pppoe-config">
|
---|
| 124 | <title>Config Files</title>
|
---|
[4839c17] | 125 |
|
---|
[893d9711] | 126 | <para><filename>/etc/ppp/pppoe.conf</filename>,
|
---|
| 127 | <filename>/etc/ppp/firewall-standalone</filename>,
|
---|
| 128 | <filename>/etc/ppp/firewall-masq</filename>,
|
---|
| 129 | <filename>/etc/ppp/pppoe-server-options</filename>,
|
---|
| 130 | <filename>/etc/resolv.conf</filename>,
|
---|
| 131 | <filename>/etc/ppp/pap-secrets</filename>,
|
---|
[68dcb2dd] | 132 | <filename>/etc/ppp/chap-secrets</filename></para>
|
---|
[4839c17] | 133 |
|
---|
[68dcb2dd] | 134 | <indexterm zone="pppoe pppoe-config">
|
---|
| 135 | <primary sortas="e-etc-ppp-pppoe.conf">/etc/ppp/pppoe.conf</primary>
|
---|
| 136 | </indexterm>
|
---|
[4839c17] | 137 |
|
---|
[68dcb2dd] | 138 | <indexterm zone="pppoe pppoe-config">
|
---|
| 139 | <primary sortas="e-etc-ppp-firewall-standalone">/etc/ppp/firewall-standalone</primary>
|
---|
| 140 | </indexterm>
|
---|
[4839c17] | 141 |
|
---|
[68dcb2dd] | 142 | <indexterm zone="pppoe pppoe-config">
|
---|
| 143 | <primary sortas="e-etc-ppp-firewall-masq">/etc/ppp/firewall-masq</primary>
|
---|
| 144 | </indexterm>
|
---|
[4839c17] | 145 |
|
---|
[68dcb2dd] | 146 | <indexterm zone="pppoe pppoe-config">
|
---|
| 147 | <primary sortas="e-etc-ppp-pppoe-server-options">/etc/ppp/pppoe-server-options</primary>
|
---|
| 148 | </indexterm>
|
---|
[4839c17] | 149 |
|
---|
[68dcb2dd] | 150 | <indexterm zone="pppoe pppoe-config">
|
---|
| 151 | <primary sortas="e-etc-resolv.conf">/etc/resolv.conf</primary>
|
---|
| 152 | </indexterm>
|
---|
[4839c17] | 153 |
|
---|
[68dcb2dd] | 154 | <indexterm zone="pppoe pppoe-config">
|
---|
| 155 | <primary sortas="e-etc-ppp-pap-secrets">/etc/ppp/pap-secrets</primary>
|
---|
| 156 | </indexterm>
|
---|
[4839c17] | 157 |
|
---|
[68dcb2dd] | 158 | <indexterm zone="pppoe pppoe-config">
|
---|
| 159 | <primary sortas="e-etc-ppp-chap-secrets">/etc/ppp/chap-secrets</primary>
|
---|
| 160 | </indexterm>
|
---|
[4839c17] | 161 |
|
---|
[68dcb2dd] | 162 | </sect3>
|
---|
| 163 |
|
---|
| 164 | <sect3>
|
---|
| 165 | <title>Configuration Information</title>
|
---|
| 166 |
|
---|
[893d9711] | 167 | <para>To configure <application>RP-PPPoE</application> after installation,
|
---|
[98020b1] | 168 | you should run the <command>pppoe-setup</command> script.</para>
|
---|
[4839c17] | 169 |
|
---|
[893d9711] | 170 | <para>When configuring your connection, you will need to have your
|
---|
| 171 | ISP's nameserver information available, as well as your
|
---|
| 172 | username and password. You will also be asked whether to configure a
|
---|
| 173 | dial-on-demand or a constant connection. If your service provider does not
|
---|
| 174 | charge by the minute, it is usually good to have a bootscript handle the
|
---|
| 175 | connection for you. You can, of course, choose not to install the
|
---|
| 176 | following script, and start your connection manually with the
|
---|
[98020b1] | 177 | <command>pppoe-start</command> script.</para>
|
---|
[68dcb2dd] | 178 |
|
---|
[893d9711] | 179 | <para id="pppoe-init"><emphasis>Optionally</emphasis> install the
|
---|
| 180 | <filename>/etc/sysconfig/network-devices/services/pppoe</filename> service
|
---|
[5254d12] | 181 | script included with the <xref linkend="bootscripts"/>
|
---|
[68dcb2dd] | 182 | package (as user <systemitem class="username">root</systemitem>).</para>
|
---|
[4839c17] | 183 |
|
---|
[68dcb2dd] | 184 | <indexterm zone="pppoe pppoe-init">
|
---|
| 185 | <primary sortas="f-pppoe-service-script">pppoe (service script)</primary>
|
---|
| 186 | </indexterm>
|
---|
| 187 |
|
---|
| 188 | <screen role='root'><userinput>make install-service-pppoe</userinput></screen>
|
---|
| 189 |
|
---|
[893d9711] | 190 | <para id="pppoe-config2">Now create the config file for use with the
|
---|
| 191 | <filename>pppoe</filename> service script (as user <systemitem
|
---|
[68dcb2dd] | 192 | class="username">root</systemitem>):</para>
|
---|
[4839c17] | 193 |
|
---|
[68dcb2dd] | 194 | <indexterm zone="pppoe pppoe-config2">
|
---|
| 195 | <primary sortas="e-etc-sysconfig-pppoe">/etc/sysconfig/.../pppoe</primary>
|
---|
| 196 | </indexterm>
|
---|
[4839c17] | 197 |
|
---|
[68dcb2dd] | 198 | <note>
|
---|
| 199 | <para>If you have previously configured the network interface that
|
---|
[893d9711] | 200 | will now use PPPoE, you should remove the interface
|
---|
| 201 | configuration files for that interface (as user <systemitem
|
---|
[68dcb2dd] | 202 | class="username">root</systemitem>):</para>
|
---|
[4839c17] | 203 |
|
---|
[e3353b3] | 204 | <screen role='root'><userinput>rm -v /etc/sysconfig/network-devices/ifconfig.eth0/*</userinput></screen>
|
---|
[68dcb2dd] | 205 | </note>
|
---|
| 206 |
|
---|
[e3353b3] | 207 | <screen role='root'><userinput>install -v -d /etc/sysconfig/network-devices/ifconfig.eth0 &&
|
---|
[68dcb2dd] | 208 | cat > /etc/sysconfig/network-devices/ifconfig.eth0/pppoe << "EOF"
|
---|
| 209 | <literal>ONBOOT="yes"
|
---|
| 210 | SERVICE="pppoe"</literal>
|
---|
| 211 | EOF</userinput></screen>
|
---|
| 212 |
|
---|
| 213 | <!-- A TYPE="[user/kernel]" will be added at a later date when kernel
|
---|
| 214 | mode pppoe is described here. -->
|
---|
[4839c17] | 215 |
|
---|
[68dcb2dd] | 216 | </sect3>
|
---|
[4839c17] | 217 |
|
---|
[68dcb2dd] | 218 | </sect2>
|
---|
[4839c17] | 219 |
|
---|
[68dcb2dd] | 220 | <sect2 role="content">
|
---|
| 221 | <title>Contents</title>
|
---|
| 222 |
|
---|
| 223 | <segmentedlist>
|
---|
| 224 | <segtitle>Installed Programs</segtitle>
|
---|
| 225 | <segtitle>Installed Libraries</segtitle>
|
---|
| 226 | <segtitle>Installed Directories</segtitle>
|
---|
[4839c17] | 227 |
|
---|
[68dcb2dd] | 228 | <seglistitem>
|
---|
[98020b1] | 229 | <seg>pppoe-connect, pppoe-setup, pppoe-start, pppoe-status, pppoe-stop, pppoe,
|
---|
[68dcb2dd] | 230 | pppoe-relay, pppoe-server and pppoe-sniff</seg>
|
---|
| 231 | <seg>None</seg>
|
---|
| 232 | <seg>/etc/ppp/plugins and /usr/share/doc/rp-pppoe-&pppoe-version;</seg>
|
---|
| 233 | </seglistitem>
|
---|
| 234 | </segmentedlist>
|
---|
[4839c17] | 235 |
|
---|
[68dcb2dd] | 236 | <variablelist>
|
---|
| 237 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 238 | <?dbfo list-presentation="list"?>
|
---|
| 239 | <?dbhtml list-presentation="table"?>
|
---|
[4839c17] | 240 |
|
---|
[98020b1] | 241 | <varlistentry id="pppoe-connect">
|
---|
| 242 | <term><command>pppoe-connect</command></term>
|
---|
[68dcb2dd] | 243 | <listitem>
|
---|
[98020b1] | 244 | <para>is a shell script which manages an PPPoE
|
---|
[68dcb2dd] | 245 | connection using the user-space PPPoE client.</para>
|
---|
[98020b1] | 246 | <indexterm zone="pppoe pppoe-connect">
|
---|
| 247 | <primary sortas="b-pppoe-connect">pppoe-connect</primary>
|
---|
[68dcb2dd] | 248 | </indexterm>
|
---|
| 249 | </listitem>
|
---|
| 250 | </varlistentry>
|
---|
[4839c17] | 251 |
|
---|
[98020b1] | 252 | <varlistentry id="pppoe-setup">
|
---|
| 253 | <term><command>pppoe-setup</command></term>
|
---|
[68dcb2dd] | 254 | <listitem>
|
---|
[893d9711] | 255 | <para>is a script for configuring the client. Configuration is
|
---|
[68dcb2dd] | 256 | then stored in <filename>/etc/ppp/pppoe.conf</filename>.</para>
|
---|
[98020b1] | 257 | <indexterm zone="pppoe pppoe-setup">
|
---|
| 258 | <primary sortas="b-pppoe-setup">pppoe-setup</primary>
|
---|
[68dcb2dd] | 259 | </indexterm>
|
---|
| 260 | </listitem>
|
---|
| 261 | </varlistentry>
|
---|
[4839c17] | 262 |
|
---|
[98020b1] | 263 | <varlistentry id="pppoe-start">
|
---|
| 264 | <term><command>pppoe-start</command></term>
|
---|
[68dcb2dd] | 265 | <listitem>
|
---|
[893d9711] | 266 | <para>starts the client using the options specified in
|
---|
[68dcb2dd] | 267 | <filename>/etc/ppp/pppoe.conf</filename>.</para>
|
---|
[98020b1] | 268 | <indexterm zone="pppoe pppoe-start">
|
---|
| 269 | <primary sortas="b-pppoe-start">pppoe-start</primary>
|
---|
[68dcb2dd] | 270 | </indexterm>
|
---|
| 271 | </listitem>
|
---|
| 272 | </varlistentry>
|
---|
[4839c17] | 273 |
|
---|
[98020b1] | 274 | <varlistentry id="pppoe-status">
|
---|
| 275 | <term><command>pppoe-status</command></term>
|
---|
[68dcb2dd] | 276 | <listitem>
|
---|
[98020b1] | 277 | <para>displays the status of the PPPoE
|
---|
[68dcb2dd] | 278 | connection.</para>
|
---|
[98020b1] | 279 | <indexterm zone="pppoe pppoe-status">
|
---|
| 280 | <primary sortas="b-pppoe-status">pppoe-status</primary>
|
---|
[68dcb2dd] | 281 | </indexterm>
|
---|
| 282 | </listitem>
|
---|
| 283 | </varlistentry>
|
---|
[4839c17] | 284 |
|
---|
[98020b1] | 285 | <varlistentry id="pppoe-stop">
|
---|
| 286 | <term><command>pppoe-stop</command></term>
|
---|
[68dcb2dd] | 287 | <listitem>
|
---|
| 288 | <para>stops the client.</para>
|
---|
[98020b1] | 289 | <indexterm zone="pppoe pppoe-stop">
|
---|
| 290 | <primary sortas="b-pppoe-stop">pppoe-stop</primary>
|
---|
[68dcb2dd] | 291 | </indexterm>
|
---|
| 292 | </listitem>
|
---|
| 293 | </varlistentry>
|
---|
[4839c17] | 294 |
|
---|
[68dcb2dd] | 295 | <varlistentry id="pppoe-prog">
|
---|
| 296 | <term><command>pppoe</command></term>
|
---|
| 297 | <listitem>
|
---|
[893d9711] | 298 | <para>is the client program. Generally it should not be started on
|
---|
[68dcb2dd] | 299 | its own.</para>
|
---|
| 300 | <indexterm zone="pppoe pppoe-prog">
|
---|
| 301 | <primary sortas="b-pppoe">pppoe</primary>
|
---|
| 302 | </indexterm>
|
---|
| 303 | </listitem>
|
---|
| 304 | </varlistentry>
|
---|
[4839c17] | 305 |
|
---|
[68dcb2dd] | 306 | <varlistentry id="pppoe-relay">
|
---|
| 307 | <term><command>pppoe-relay</command></term>
|
---|
| 308 | <listitem>
|
---|
| 309 | <para>starts the server relay agent.</para>
|
---|
| 310 | <indexterm zone="pppoe pppoe-relay">
|
---|
| 311 | <primary sortas="b-pppoe-relay">pppoe-relay</primary>
|
---|
| 312 | </indexterm>
|
---|
| 313 | </listitem>
|
---|
| 314 | </varlistentry>
|
---|
[4839c17] | 315 |
|
---|
[68dcb2dd] | 316 | <varlistentry id="pppoe-server">
|
---|
| 317 | <term><command>pppoe-server</command></term>
|
---|
| 318 | <listitem>
|
---|
| 319 | <para>starts the server component.</para>
|
---|
| 320 | <indexterm zone="pppoe pppoe-server">
|
---|
| 321 | <primary sortas="b-pppoe-server">pppoe-server</primary>
|
---|
| 322 | </indexterm>
|
---|
| 323 | </listitem>
|
---|
| 324 | </varlistentry>
|
---|
[4839c17] | 325 |
|
---|
[68dcb2dd] | 326 | <varlistentry id="pppoe-sniff">
|
---|
| 327 | <term><command>pppoe-sniff</command></term>
|
---|
| 328 | <listitem>
|
---|
[893d9711] | 329 | <para>is a small network sniffer designed to assist in setting
|
---|
[68dcb2dd] | 330 | <envar>PPPOE_EXTRA</envar> settings.</para>
|
---|
| 331 | <indexterm zone="pppoe pppoe-sniff">
|
---|
| 332 | <primary sortas="b-pppoe-sniff">pppoe-sniff</primary>
|
---|
| 333 | </indexterm>
|
---|
| 334 | </listitem>
|
---|
| 335 | </varlistentry>
|
---|
[4839c17] | 336 |
|
---|
[68dcb2dd] | 337 | </variablelist>
|
---|
| 338 |
|
---|
| 339 | </sect2>
|
---|
[f45b1953] | 340 |
|
---|
| 341 | </sect1>
|
---|