source: connect/other/pppoe.xml@ 92de4f24

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 92de4f24 was be90da6, checked in by Randy McMurchy <randy@…>, 17 years ago

Removed an unneeded sed command from the RP-PPPoE instructions

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