source: connect/other/pppoe.xml@ a88b03e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 a88b03e 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
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY pppoe-download-http "http://www.roaringpenguin.com/files/download/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 <!-- Commenting out for now as LFS no longer moves this file to /bin,
90 therefore we don't need this hack
91 <para>Fix the location of the logger executable in several PPPoE scripts:</para>
92
93<screen><userinput>sed -i s%/usr/bin/logger%/bin/logger% \
94 scripts/pppoe-{connect,setup,stop}.in</userinput></screen>
95 -->
96
97 <para>Install <application>RP-PPPoE</application> by running the following
98 commands:</para>
99
100<screen><userinput>cd src &amp;&amp;
101./configure &amp;&amp;
102make</userinput></screen>
103
104 <para>This package does not come with a test suite.</para>
105
106 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
107
108<screen role="root"><userinput>make install</userinput></screen>
109
110 </sect2>
111
112 <sect2 role="commands">
113 <title>Command Explanations</title>
114
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
119 by the <command>pppoe-setup</command> script.</para>
120
121 </sect2>
122
123 <sect2 role="configuration">
124 <title>Configuring RP-PPPoE</title>
125
126 <sect3 id="pppoe-config">
127 <title>Config Files</title>
128
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>,
135 <filename>/etc/ppp/chap-secrets</filename></para>
136
137 <indexterm zone="pppoe pppoe-config">
138 <primary sortas="e-etc-ppp-pppoe.conf">/etc/ppp/pppoe.conf</primary>
139 </indexterm>
140
141 <indexterm zone="pppoe pppoe-config">
142 <primary sortas="e-etc-ppp-firewall-standalone">/etc/ppp/firewall-standalone</primary>
143 </indexterm>
144
145 <indexterm zone="pppoe pppoe-config">
146 <primary sortas="e-etc-ppp-firewall-masq">/etc/ppp/firewall-masq</primary>
147 </indexterm>
148
149 <indexterm zone="pppoe pppoe-config">
150 <primary sortas="e-etc-ppp-pppoe-server-options">/etc/ppp/pppoe-server-options</primary>
151 </indexterm>
152
153 <indexterm zone="pppoe pppoe-config">
154 <primary sortas="e-etc-resolv.conf">/etc/resolv.conf</primary>
155 </indexterm>
156
157 <indexterm zone="pppoe pppoe-config">
158 <primary sortas="e-etc-ppp-pap-secrets">/etc/ppp/pap-secrets</primary>
159 </indexterm>
160
161 <indexterm zone="pppoe pppoe-config">
162 <primary sortas="e-etc-ppp-chap-secrets">/etc/ppp/chap-secrets</primary>
163 </indexterm>
164
165 </sect3>
166
167 <sect3>
168 <title>Configuration Information</title>
169
170 <para>To configure <application>RP-PPPoE</application> after installation,
171 you should run the <command>pppoe-setup</command> script.</para>
172
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
180 <command>pppoe-start</command> script.</para>
181
182 <para id="pppoe-init"><emphasis>Optionally</emphasis> install the
183 <filename>/etc/sysconfig/network-devices/services/pppoe</filename> service
184 script included with the <xref linkend="bootscripts"/>
185 package (as user <systemitem class="username">root</systemitem>).</para>
186
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
193 <para id="pppoe-config2">Now create the config file for use with the
194 <filename>pppoe</filename> service script (as user <systemitem
195 class="username">root</systemitem>):</para>
196
197 <indexterm zone="pppoe pppoe-config2">
198 <primary sortas="e-etc-sysconfig-pppoe">/etc/sysconfig/.../pppoe</primary>
199 </indexterm>
200
201 <note>
202 <para>If you have previously configured the network interface that
203 will now use PPPoE, you should remove the interface
204 configuration files for that interface (as user <systemitem
205 class="username">root</systemitem>):</para>
206
207<screen role='root'><userinput>rm -v /etc/sysconfig/network-devices/ifconfig.eth0/*</userinput></screen>
208 </note>
209
210<screen role='root'><userinput>install -v -d /etc/sysconfig/network-devices/ifconfig.eth0 &amp;&amp;
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. -->
218
219 </sect3>
220
221 </sect2>
222
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>
230
231 <seglistitem>
232 <seg>pppoe-connect, pppoe-setup, pppoe-start, pppoe-status, pppoe-stop, pppoe,
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>
238
239 <variablelist>
240 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
241 <?dbfo list-presentation="list"?>
242 <?dbhtml list-presentation="table"?>
243
244 <varlistentry id="pppoe-connect">
245 <term><command>pppoe-connect</command></term>
246 <listitem>
247 <para>is a shell script which manages an PPPoE
248 connection using the user-space PPPoE client.</para>
249 <indexterm zone="pppoe pppoe-connect">
250 <primary sortas="b-pppoe-connect">pppoe-connect</primary>
251 </indexterm>
252 </listitem>
253 </varlistentry>
254
255 <varlistentry id="pppoe-setup">
256 <term><command>pppoe-setup</command></term>
257 <listitem>
258 <para>is a script for configuring the client. Configuration is
259 then stored in <filename>/etc/ppp/pppoe.conf</filename>.</para>
260 <indexterm zone="pppoe pppoe-setup">
261 <primary sortas="b-pppoe-setup">pppoe-setup</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 <varlistentry id="pppoe-start">
267 <term><command>pppoe-start</command></term>
268 <listitem>
269 <para>starts the client using the options specified in
270 <filename>/etc/ppp/pppoe.conf</filename>.</para>
271 <indexterm zone="pppoe pppoe-start">
272 <primary sortas="b-pppoe-start">pppoe-start</primary>
273 </indexterm>
274 </listitem>
275 </varlistentry>
276
277 <varlistentry id="pppoe-status">
278 <term><command>pppoe-status</command></term>
279 <listitem>
280 <para>displays the status of the PPPoE
281 connection.</para>
282 <indexterm zone="pppoe pppoe-status">
283 <primary sortas="b-pppoe-status">pppoe-status</primary>
284 </indexterm>
285 </listitem>
286 </varlistentry>
287
288 <varlistentry id="pppoe-stop">
289 <term><command>pppoe-stop</command></term>
290 <listitem>
291 <para>stops the client.</para>
292 <indexterm zone="pppoe pppoe-stop">
293 <primary sortas="b-pppoe-stop">pppoe-stop</primary>
294 </indexterm>
295 </listitem>
296 </varlistentry>
297
298 <varlistentry id="pppoe-prog">
299 <term><command>pppoe</command></term>
300 <listitem>
301 <para>is the client program. Generally it should not be started on
302 its own.</para>
303 <indexterm zone="pppoe pppoe-prog">
304 <primary sortas="b-pppoe">pppoe</primary>
305 </indexterm>
306 </listitem>
307 </varlistentry>
308
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>
318
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>
328
329 <varlistentry id="pppoe-sniff">
330 <term><command>pppoe-sniff</command></term>
331 <listitem>
332 <para>is a small network sniffer designed to assist in setting
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>
339
340 </variablelist>
341
342 </sect2>
343
344</sect1>
Note: See TracBrowser for help on using the repository browser.