source: connect/other/pppoe.xml@ a920045f

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

Standardized the id tag name of the Bootscripts package

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

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