source: connect/other/pppoe.xml@ 9f12e36

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 9f12e36 was 9f12e36, checked in by Randy McMurchy <randy@…>, 18 years ago

Removed 'keywordset' blocks and extra spaces from the XML files (note this was by accident as I meant to do just in the gnome directory but I was in the root of BOOK when I ran the script, but this was going to happen anyway so I don't think it is a big deal)

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

  • Property mode set to 100644
File size: 12.1 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 </sect1info>
22
23 <title>RP-PPPoE-&pppoe-version;</title>
24
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>
31
32 <para>The Roaring Penguin <application>PPPoE</application>
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
37 out a configuration request.</para>
38
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>
60
61 <bridgehead renderas="sect3">RP-PPPoE Dependencies</bridgehead>
62
63 <bridgehead renderas="sect4">Required</bridgehead>
64 <para role="required"><xref linkend="ppp"/> and
65 <xref linkend="net-tools"/> (you may omit
66 <application>Net-tools</application> by using the following patch to
67 utilize <application>IPRoute2</application> instead: <ulink
68 url="&patch-root;/rp-pppoe-&pppoe-version;-iproute2-1.patch"/>)</para>
69
70 <para condition="html" role="usernotes">User Notes:
71 <ulink url="&blfs-wiki;/RP-PPPoE"/></para>
72
73 </sect2>
74
75 <sect2 role="installation">
76 <title>Installation of RP-PPPoE</title>
77
78 <note id="pppoe-kernel">
79 <para>If you plan on using kernel-mode PPPoE, this package is no longer explicitly
80 needed, however, it is recommended for ease of configuration. Additional information
81 about kernel mode PPPoE can be found in
82 <filename>rp-pppoe-&pppoe-version;/doc/KERNEL-MODE-PPPOE</filename>.</para>
83 </note>
84
85 <indexterm zone="pppoe pppoe-kernel">
86 <primary sortas="d-Kernel-mode-PPPoE">Kernel-mode PPPoE</primary>
87 </indexterm>
88
89 <para>Fix the location of the logger executable in several PPPoE scripts:</para>
90
91<screen><userinput>sed -i s%/usr/bin/logger%/bin/logger% \
92 scripts/pppoe-{connect,setup,stop}.in</userinput></screen>
93
94 <para>Install <application>RP-PPPoE</application> by running the following
95 commands:</para>
96
97<screen><userinput>cd src &amp;&amp;
98./configure &amp;&amp;
99make</userinput></screen>
100
101 <para>This package does not come with a test suite.</para>
102
103 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
104
105<screen role="root"><userinput>make install</userinput></screen>
106
107 </sect2>
108
109 <sect2 role="commands">
110 <title>Command Explanations</title>
111
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
116 by the <command>pppoe-setup</command> script.</para>
117
118 </sect2>
119
120 <sect2 role="configuration">
121 <title>Configuring RP-PPPoE</title>
122
123 <sect3 id="pppoe-config">
124 <title>Config Files</title>
125
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>,
132 <filename>/etc/ppp/chap-secrets</filename></para>
133
134 <indexterm zone="pppoe pppoe-config">
135 <primary sortas="e-etc-ppp-pppoe.conf">/etc/ppp/pppoe.conf</primary>
136 </indexterm>
137
138 <indexterm zone="pppoe pppoe-config">
139 <primary sortas="e-etc-ppp-firewall-standalone">/etc/ppp/firewall-standalone</primary>
140 </indexterm>
141
142 <indexterm zone="pppoe pppoe-config">
143 <primary sortas="e-etc-ppp-firewall-masq">/etc/ppp/firewall-masq</primary>
144 </indexterm>
145
146 <indexterm zone="pppoe pppoe-config">
147 <primary sortas="e-etc-ppp-pppoe-server-options">/etc/ppp/pppoe-server-options</primary>
148 </indexterm>
149
150 <indexterm zone="pppoe pppoe-config">
151 <primary sortas="e-etc-resolv.conf">/etc/resolv.conf</primary>
152 </indexterm>
153
154 <indexterm zone="pppoe pppoe-config">
155 <primary sortas="e-etc-ppp-pap-secrets">/etc/ppp/pap-secrets</primary>
156 </indexterm>
157
158 <indexterm zone="pppoe pppoe-config">
159 <primary sortas="e-etc-ppp-chap-secrets">/etc/ppp/chap-secrets</primary>
160 </indexterm>
161
162 </sect3>
163
164 <sect3>
165 <title>Configuration Information</title>
166
167 <para>To configure <application>RP-PPPoE</application> after installation,
168 you should run the <command>pppoe-setup</command> script.</para>
169
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
177 <command>pppoe-start</command> script.</para>
178
179 <para id="pppoe-init"><emphasis>Optionally</emphasis> install the
180 <filename>/etc/sysconfig/network-devices/services/pppoe</filename> service
181 script included with the <xref linkend="bootscripts"/>
182 package (as user <systemitem class="username">root</systemitem>).</para>
183
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
190 <para id="pppoe-config2">Now create the config file for use with the
191 <filename>pppoe</filename> service script (as user <systemitem
192 class="username">root</systemitem>):</para>
193
194 <indexterm zone="pppoe pppoe-config2">
195 <primary sortas="e-etc-sysconfig-pppoe">/etc/sysconfig/.../pppoe</primary>
196 </indexterm>
197
198 <note>
199 <para>If you have previously configured the network interface that
200 will now use PPPoE, you should remove the interface
201 configuration files for that interface (as user <systemitem
202 class="username">root</systemitem>):</para>
203
204<screen role='root'><userinput>rm -v /etc/sysconfig/network-devices/ifconfig.eth0/*</userinput></screen>
205 </note>
206
207<screen role='root'><userinput>install -v -d /etc/sysconfig/network-devices/ifconfig.eth0 &amp;&amp;
208cat &gt; /etc/sysconfig/network-devices/ifconfig.eth0/pppoe &lt;&lt; "EOF"
209<literal>ONBOOT="yes"
210SERVICE="pppoe"</literal>
211EOF</userinput></screen>
212
213 <!-- A TYPE="[user/kernel]" will be added at a later date when kernel
214 mode pppoe is described here. -->
215
216 </sect3>
217
218 </sect2>
219
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>
227
228 <seglistitem>
229 <seg>pppoe-connect, pppoe-setup, pppoe-start, pppoe-status, pppoe-stop, pppoe,
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>
235
236 <variablelist>
237 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
238 <?dbfo list-presentation="list"?>
239 <?dbhtml list-presentation="table"?>
240
241 <varlistentry id="pppoe-connect">
242 <term><command>pppoe-connect</command></term>
243 <listitem>
244 <para>is a shell script which manages an PPPoE
245 connection using the user-space PPPoE client.</para>
246 <indexterm zone="pppoe pppoe-connect">
247 <primary sortas="b-pppoe-connect">pppoe-connect</primary>
248 </indexterm>
249 </listitem>
250 </varlistentry>
251
252 <varlistentry id="pppoe-setup">
253 <term><command>pppoe-setup</command></term>
254 <listitem>
255 <para>is a script for configuring the client. Configuration is
256 then stored in <filename>/etc/ppp/pppoe.conf</filename>.</para>
257 <indexterm zone="pppoe pppoe-setup">
258 <primary sortas="b-pppoe-setup">pppoe-setup</primary>
259 </indexterm>
260 </listitem>
261 </varlistentry>
262
263 <varlistentry id="pppoe-start">
264 <term><command>pppoe-start</command></term>
265 <listitem>
266 <para>starts the client using the options specified in
267 <filename>/etc/ppp/pppoe.conf</filename>.</para>
268 <indexterm zone="pppoe pppoe-start">
269 <primary sortas="b-pppoe-start">pppoe-start</primary>
270 </indexterm>
271 </listitem>
272 </varlistentry>
273
274 <varlistentry id="pppoe-status">
275 <term><command>pppoe-status</command></term>
276 <listitem>
277 <para>displays the status of the PPPoE
278 connection.</para>
279 <indexterm zone="pppoe pppoe-status">
280 <primary sortas="b-pppoe-status">pppoe-status</primary>
281 </indexterm>
282 </listitem>
283 </varlistentry>
284
285 <varlistentry id="pppoe-stop">
286 <term><command>pppoe-stop</command></term>
287 <listitem>
288 <para>stops the client.</para>
289 <indexterm zone="pppoe pppoe-stop">
290 <primary sortas="b-pppoe-stop">pppoe-stop</primary>
291 </indexterm>
292 </listitem>
293 </varlistentry>
294
295 <varlistentry id="pppoe-prog">
296 <term><command>pppoe</command></term>
297 <listitem>
298 <para>is the client program. Generally it should not be started on
299 its own.</para>
300 <indexterm zone="pppoe pppoe-prog">
301 <primary sortas="b-pppoe">pppoe</primary>
302 </indexterm>
303 </listitem>
304 </varlistentry>
305
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>
315
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>
325
326 <varlistentry id="pppoe-sniff">
327 <term><command>pppoe-sniff</command></term>
328 <listitem>
329 <para>is a small network sniffer designed to assist in setting
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>
336
337 </variablelist>
338
339 </sect2>
340
341</sect1>
Note: See TracBrowser for help on using the repository browser.