source: connect/other/pppoe.xml@ 2b470cf

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 2b470cf was 6c42d4e, checked in by Randy McMurchy <randy@…>, 18 years ago

Updated all the wiki links to point to the existing package wiki page if one existed

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5861 af4574ff-66df-0310-9fd7-8a98e5e911e0

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