source: connect/other/pppoe.xml@ 2583c25

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 2583c25 was 2583c25, checked in by Bruce Dubbs <bdubbs@…>, 18 years ago

Updated to rp-pppoe-3.8

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

  • Property mode set to 100644
File size: 12.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY pppoe-download-http "http://www.roaringpenguin.com/penguin/pppoe/rp-pppoe-&pppoe-version;.tar.gz">
8 <!ENTITY pppoe-download-ftp " ">
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">
13]>
14
15<sect1 id="pppoe" xreflabel="RP-PPPoE-&pppoe-version;">
16 <?dbhtml filename="pppoe.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 <keywordset>
22 <keyword role="package">rp-pppoe-&pppoe-version;.tar</keyword>
23 <keyword role="ftpdir">rp-pppoe</keyword>
24 </keywordset>
25 </sect1info>
26
27 <title>RP-PPPoE-&pppoe-version;</title>
28
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>
35
36 <para>The Roaring Penguin <application>PPPoE</application>
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
41 out a configuration request.</para>
42
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>
64
65 <bridgehead renderas="sect3">RP-PPPoE Dependencies</bridgehead>
66
67 <bridgehead renderas="sect4">Required</bridgehead>
68 <para role="required"><xref linkend="ppp"/> and
69 <xref linkend="net-tools"/> (you may omit
70 <application>Net-tools</application> by using the following patch to
71 utilize <application>IPRoute2</application> instead: <ulink
72 url="&patch-root;/rp-pppoe-&pppoe-version;-iproute2-1.patch"/>)</para>
73
74 <para condition="html" role="usernotes">User Notes:
75 <ulink url="&blfs-wiki;/RP-PPPoE"/></para>
76
77 </sect2>
78
79 <sect2 role="installation">
80 <title>Installation of RP-PPPoE</title>
81
82 <note id="pppoe-kernel">
83 <para>If you plan on using kernel-mode PPPoE, this package is no longer explicitly
84 needed, however, it is recommended for ease of configuration. Additional information
85 about kernel mode PPPoE can be found in
86 <filename>rp-pppoe-&pppoe-version;/doc/KERNEL-MODE-PPPOE</filename>.</para>
87 </note>
88
89 <indexterm zone="pppoe pppoe-kernel">
90 <primary sortas="d-Kernel-mode-PPPoE">Kernel-mode PPPoE</primary>
91 </indexterm>
92
93 <para>Fix the location of the logger executable in several PPPoE scripts:</para>
94
95<screen><userinput>sed -i s%/usr/bin/logger%/bin/logger% \
96 scripts/pppoe-{connect,setup,stop}.in</userinput></screen>
97
98 <para>Install <application>RP-PPPoE</application> by running the following
99 commands:</para>
100
101<screen><userinput>cd src &amp;&amp;
102./configure &amp;&amp;
103make</userinput></screen>
104
105 <para>This package does not come with a test suite.</para>
106
107 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
108
109<screen role="root"><userinput>make install</userinput></screen>
110
111 </sect2>
112
113 <sect2 role="commands">
114 <title>Command Explanations</title>
115
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
120 by the <command>pppoe-setup</command> script.</para>
121
122 </sect2>
123
124 <sect2 role="configuration">
125 <title>Configuring RP-PPPoE</title>
126
127 <sect3 id="pppoe-config">
128 <title>Config Files</title>
129
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>,
136 <filename>/etc/ppp/chap-secrets</filename></para>
137
138 <indexterm zone="pppoe pppoe-config">
139 <primary sortas="e-etc-ppp-pppoe.conf">/etc/ppp/pppoe.conf</primary>
140 </indexterm>
141
142 <indexterm zone="pppoe pppoe-config">
143 <primary sortas="e-etc-ppp-firewall-standalone">/etc/ppp/firewall-standalone</primary>
144 </indexterm>
145
146 <indexterm zone="pppoe pppoe-config">
147 <primary sortas="e-etc-ppp-firewall-masq">/etc/ppp/firewall-masq</primary>
148 </indexterm>
149
150 <indexterm zone="pppoe pppoe-config">
151 <primary sortas="e-etc-ppp-pppoe-server-options">/etc/ppp/pppoe-server-options</primary>
152 </indexterm>
153
154 <indexterm zone="pppoe pppoe-config">
155 <primary sortas="e-etc-resolv.conf">/etc/resolv.conf</primary>
156 </indexterm>
157
158 <indexterm zone="pppoe pppoe-config">
159 <primary sortas="e-etc-ppp-pap-secrets">/etc/ppp/pap-secrets</primary>
160 </indexterm>
161
162 <indexterm zone="pppoe pppoe-config">
163 <primary sortas="e-etc-ppp-chap-secrets">/etc/ppp/chap-secrets</primary>
164 </indexterm>
165
166 </sect3>
167
168 <sect3>
169 <title>Configuration Information</title>
170
171 <para>To configure <application>RP-PPPoE</application> after installation,
172 you should run the <command>pppoe-setup</command> script.</para>
173
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
181 <command>pppoe-start</command> script.</para>
182
183 <para id="pppoe-init"><emphasis>Optionally</emphasis> install the
184 <filename>/etc/sysconfig/network-devices/services/pppoe</filename> service
185 script included with the <xref linkend="bootscripts"/>
186 package (as user <systemitem class="username">root</systemitem>).</para>
187
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
194 <para id="pppoe-config2">Now create the config file for use with the
195 <filename>pppoe</filename> service script (as user <systemitem
196 class="username">root</systemitem>):</para>
197
198 <indexterm zone="pppoe pppoe-config2">
199 <primary sortas="e-etc-sysconfig-pppoe">/etc/sysconfig/.../pppoe</primary>
200 </indexterm>
201
202 <note>
203 <para>If you have previously configured the network interface that
204 will now use PPPoE, you should remove the interface
205 configuration files for that interface (as user <systemitem
206 class="username">root</systemitem>):</para>
207
208<screen role='root'><userinput>rm -v /etc/sysconfig/network-devices/ifconfig.eth0/*</userinput></screen>
209 </note>
210
211<screen role='root'><userinput>install -v -d /etc/sysconfig/network-devices/ifconfig.eth0 &amp;&amp;
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. -->
219
220 </sect3>
221
222 </sect2>
223
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>
231
232 <seglistitem>
233 <seg>pppoe-connect, pppoe-setup, pppoe-start, pppoe-status, pppoe-stop, pppoe,
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>
239
240 <variablelist>
241 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
242 <?dbfo list-presentation="list"?>
243 <?dbhtml list-presentation="table"?>
244
245 <varlistentry id="pppoe-connect">
246 <term><command>pppoe-connect</command></term>
247 <listitem>
248 <para>is a shell script which manages an PPPoE
249 connection using the user-space PPPoE client.</para>
250 <indexterm zone="pppoe pppoe-connect">
251 <primary sortas="b-pppoe-connect">pppoe-connect</primary>
252 </indexterm>
253 </listitem>
254 </varlistentry>
255
256 <varlistentry id="pppoe-setup">
257 <term><command>pppoe-setup</command></term>
258 <listitem>
259 <para>is a script for configuring the client. Configuration is
260 then stored in <filename>/etc/ppp/pppoe.conf</filename>.</para>
261 <indexterm zone="pppoe pppoe-setup">
262 <primary sortas="b-pppoe-setup">pppoe-setup</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266
267 <varlistentry id="pppoe-start">
268 <term><command>pppoe-start</command></term>
269 <listitem>
270 <para>starts the client using the options specified in
271 <filename>/etc/ppp/pppoe.conf</filename>.</para>
272 <indexterm zone="pppoe pppoe-start">
273 <primary sortas="b-pppoe-start">pppoe-start</primary>
274 </indexterm>
275 </listitem>
276 </varlistentry>
277
278 <varlistentry id="pppoe-status">
279 <term><command>pppoe-status</command></term>
280 <listitem>
281 <para>displays the status of the PPPoE
282 connection.</para>
283 <indexterm zone="pppoe pppoe-status">
284 <primary sortas="b-pppoe-status">pppoe-status</primary>
285 </indexterm>
286 </listitem>
287 </varlistentry>
288
289 <varlistentry id="pppoe-stop">
290 <term><command>pppoe-stop</command></term>
291 <listitem>
292 <para>stops the client.</para>
293 <indexterm zone="pppoe pppoe-stop">
294 <primary sortas="b-pppoe-stop">pppoe-stop</primary>
295 </indexterm>
296 </listitem>
297 </varlistentry>
298
299 <varlistentry id="pppoe-prog">
300 <term><command>pppoe</command></term>
301 <listitem>
302 <para>is the client program. Generally it should not be started on
303 its own.</para>
304 <indexterm zone="pppoe pppoe-prog">
305 <primary sortas="b-pppoe">pppoe</primary>
306 </indexterm>
307 </listitem>
308 </varlistentry>
309
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>
319
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>
329
330 <varlistentry id="pppoe-sniff">
331 <term><command>pppoe-sniff</command></term>
332 <listitem>
333 <para>is a small network sniffer designed to assist in setting
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>
340
341 </variablelist>
342
343 </sect2>
344
345</sect1>
Note: See TracBrowser for help on using the repository browser.