source: connect/other/pppoe.xml@ b1d305ed

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.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 b1d305ed was b1d305ed, checked in by Randy McMurchy <randy@…>, 19 years ago

Typo fixes and minor rewording to package and introductory text in Section IV

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

  • Property mode set to 100644
File size: 12.1 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">
8 <!ENTITY pppoe-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/rp-pppoe-&pppoe-version;.tar.gz">
9 <!ENTITY pppoe-md5sum "97972f8f8f6a3ab9b7070333a6a29c4b">
[246c904]10 <!ENTITY pppoe-size "185 KB">
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
77 needed, however, it is recomended for ease of configuration. Additional information
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
[68dcb2dd]86 <para>Fix the location of the logger executable in several ADSL scripts:</para>
87
[b1d305ed]88<screen><userinput>sed -i s%/usr/bin/logger%/bin/logger% \
89 scripts/adsl-{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 &amp;&amp;
[246c904]95./configure &amp;&amp;
[68dcb2dd]96make</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
113 by the <command>adsl-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,
[68dcb2dd]165 you should run the <command>adsl-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
[68dcb2dd]174 <command>adsl-start</command> script.</para>
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 &amp;&amp;
[68dcb2dd]205cat &gt; /etc/sysconfig/network-devices/ifconfig.eth0/pppoe &lt;&lt; "EOF"
206<literal>ONBOOT="yes"
207SERVICE="pppoe"</literal>
208EOF</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>
[893d9711]226 <seg>adsl-connect, adsl-setup, adsl-start, adsl-status, adsl-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
[68dcb2dd]238 <varlistentry id="adsl-connect">
239 <term><command>adsl-connect</command></term>
240 <listitem>
[893d9711]241 <para>is a shell script which manages an ADSL
[68dcb2dd]242 connection using the user-space PPPoE client.</para>
243 <indexterm zone="pppoe adsl-connect">
244 <primary sortas="b-adsl-connect">adsl-connect</primary>
245 </indexterm>
246 </listitem>
247 </varlistentry>
[4839c17]248
[68dcb2dd]249 <varlistentry id="adsl-setup">
250 <term><command>adsl-setup</command></term>
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>
254 <indexterm zone="pppoe adsl-setup">
255 <primary sortas="b-adsl-setup">adsl-setup</primary>
256 </indexterm>
257 </listitem>
258 </varlistentry>
[4839c17]259
[68dcb2dd]260 <varlistentry id="adsl-start">
261 <term><command>adsl-start</command></term>
262 <listitem>
[893d9711]263 <para>starts the client using the options specified in
[68dcb2dd]264 <filename>/etc/ppp/pppoe.conf</filename>.</para>
265 <indexterm zone="pppoe adsl-start">
266 <primary sortas="b-adsl-start">adsl-start</primary>
267 </indexterm>
268 </listitem>
269 </varlistentry>
[4839c17]270
[68dcb2dd]271 <varlistentry id="adsl-status">
272 <term><command>adsl-status</command></term>
273 <listitem>
[893d9711]274 <para>displays the status of the ADSL
[68dcb2dd]275 connection.</para>
276 <indexterm zone="pppoe adsl-status">
277 <primary sortas="b-adsl-status">adsl-status</primary>
278 </indexterm>
279 </listitem>
280 </varlistentry>
[4839c17]281
[68dcb2dd]282 <varlistentry id="adsl-stop">
283 <term><command>adsl-stop</command></term>
284 <listitem>
285 <para>stops the client.</para>
286 <indexterm zone="pppoe adsl-stop">
287 <primary sortas="b-adsl-stop">adsl-stop</primary>
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>
Note: See TracBrowser for help on using the repository browser.