source: connect/other/pppoe.xml@ fe5f3849

10.0 10.1 11.0 6.0 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 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since fe5f3849 was fe5f3849, checked in by DJ Lucas <dj@…>, 17 years ago

Added iproute2 patch for rp-pppoe and text cleanups.

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

  • Property mode set to 100644
File size: 7.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY pppoe-download-http "http://www.roaringpenguin.com/products/rp-pppoe/rp-pppoe-&pppoe-version;.tar.gz">
8 <!ENTITY pppoe-download-ftp "ftp://ftp.rutgers.edu/pub/slackware/slackware_source/n/rp-pppoe/rp-pppoe-&pppoe-version;.tar.gz">
9 <!ENTITY pppoe-size "185 KB">
10 <!ENTITY pppoe-buildsize "2.2 MB">
11 <!ENTITY pppoe-time "0.05 SBU">
12]>
13
14<sect1 id="pppoe" xreflabel="RP-PPPoE-&pppoe-version;">
15<sect1info>
16<othername>$LastChangedBy$</othername>
17<date>$Date$</date>
18</sect1info>
19<?dbhtml filename="pppoe.html"?>
20<title>RP-PPPoE-&pppoe-version;</title>
21
22<sect2>
23<title>Introduction to
24<application><acronym>RP</acronym>-<acronym>PPPoE</acronym></application></title>
25
26<para>The Roaring Penguin <application><acronym>PPPoE</acronym></application>
27package contains both a client and a server component that works with the
28client. The client allows you to connect to large networks that use the
29<acronym>PPPoE</acronym> protocol, common among <acronym>ADSL</acronym>
30providers. The server component runs alongside the client,
31allowing you to configure other clients that send out a configuration
32request.</para>
33
34<sect3><title>Package information</title>
35<itemizedlist spacing='compact'>
36<listitem><para>Download (HTTP): <ulink
37url="&pppoe-download-http;"/></para></listitem>
38<listitem><para>Download (FTP): <ulink
39url="&pppoe-download-ftp;"/></para></listitem>
40<listitem><para>Download size: &pppoe-size;</para></listitem>
41<listitem><para>Estimated disk space required:
42&pppoe-buildsize;</para></listitem>
43<listitem><para>Estimated build time:
44&pppoe-time;</para></listitem></itemizedlist>
45</sect3>
46
47<sect3><title><application><acronym>RP</acronym>-<acronym>PPPoE</acronym></application>
48dependencies</title>
49<sect4><title>Required</title>
50<para><xref linkend="ppp"/> and <xref linkend="net-tools"/>. You may omit net-tools by using the following patch to utilize iproute2: <ulink
51url="&patch-root;/rp-pppoe-&pppoe-version;_iproute2-1.patch"/>.</para>
52</sect4>
53</sect3>
54
55</sect2>
56
57<sect2>
58<title>Installation of
59<application><acronym>RP</acronym>-<acronym>PPPoE</acronym></application></title>
60
61<note><para>If you plan on using kernel-mode <acronym>PPPoE</acronym>,
62this package is no longer explicitly needed, however, it is recomended
63for ease of configuration. Additional information about kernel mode
64<acronym>PPPoE</acronym> can be found in
65<filename>rp-pppoe-&pppoe-version;/doc/KERNEL-MODE-PPPOE</filename>.</para></note>
66
67<para>Install
68<application><acronym>RP</acronym>-<acronym>PPPoE</acronym></application> by
69running the following commands:</para>
70
71<screen><userinput><command>cd src &amp;&amp;
72./configure &amp;&amp;
73make &amp;&amp;
74make install</command></userinput></screen>
75
76</sect2>
77
78<sect2>
79<title>Command explanations</title>
80
81<para>These are the standard installation commands that will install into
82the <filename>/usr</filename> prefix. You can optionally use the
83<command>go</command> script in the root of the source tree, to
84run the same commands, which are then immediately followed by the
85<command>adsl-setup</command> script.</para>
86
87</sect2>
88
89<sect2>
90<title>Configuring
91<application><acronym>RP</acronym>-<acronym>PPPoE</acronym></application></title>
92
93<sect3><title>Config files</title>
94<para><filename>/etc/ppp/pppoe.conf</filename>,
95<filename>/etc/ppp/firewall-standalone</filename>,
96<filename>/etc/ppp/firewall-masq</filename>,
97<filename>/etc/ppp/pppoe-server-options</filename>,
98<filename>/etc/resolv.conf</filename>,
99<filename>/etc/ppp/pap-seecrets</filename>,
100<filename>/etc/ppp/chap-secrets</filename></para></sect3>
101
102<sect3><title>Configuration Information</title>
103
104<para>To configure
105<application><acronym>RP</acronym>-<acronym>PPPoE</acronym></application>
106after installation, you should run the <command>adsl-setup</command>
107script.</para>
108
109<para>When configuring your connection, you will need to have your
110<acronym>ISP</acronym>'s nameserver information available, as well as your
111username and password. You will also be asked whether to configure a
112dial-on-demand or a constant connection. If your service provider does not
113charge by the minute, it is usually good to have a bootscript handle the
114connection for you. You can, of course, choose not to install the
115following script, and start your connection manually with the
116<command>adsl-start</command> script.</para>
117
118<para><emphasis>Optionally</emphasis> install the
119<filename>/etc/sysconfig/network-devices/services/pppoe</filename> service
120script included with the <xref linkend="intro-important-bootscripts"/>
121package.</para>
122
123<screen><userinput><command>make install-service-pppoe</command></userinput></screen>
124
125<para>Now create the config file for use with the <filename>pppoe</filename>
126service script:</para>
127
128<note><para>If you have previously configured the network interface that
129will now use <acronym>PPPoE</acronym>, you should remove the interface
130configuration files for that interface:</para>
131
132<para><command><userinput>rm
133/etc/sysconfig/network-devices/ifconfig.eth0/*</userinput></command></para>
134</note>
135
136<screen><userinput><command>install -d /etc/sysconfig/network-devices/ifconfig.eth0 &amp;&amp;
137cat &gt; /etc/sysconfig/network-devices/ifconfig.eth0/pppoe &lt;&lt; "EOF"</command>
138ONBOOT="yes"
139SERVICE="pppoe"
140<command>EOF</command></userinput></screen>
141
142<!-- A TYPE="[user/kernel]" will be added at a later date when kernel
143mode pppoe is described here. -->
144</sect3>
145
146</sect2>
147
148<sect2>
149<title>Contents</title>
150
151<para>The
152<application><acronym>RP</acronym>-<acronym>PPPoE</acronym></application>
153package contains <command>adsl-setup</command>, <command>adsl-start</command>,
154<command>adsl-status</command>, <command>adsl-stop</command>, <command>
155pppoe</command>, <command>pppoe-relay</command>, <command>pppoe-server
156</command> and <command>pppoe-sniff</command>.</para>
157
158</sect2>
159
160<sect2><title>Description</title>
161
162<sect3><title>adsl-setup</title>
163<para>A script for configuring the client. Configuration is then stored
164in <filename>/etc/ppp/pppoe.conf</filename>.</para></sect3>
165
166<sect3><title>adsl-start</title>
167<para><command>adsl-start</command> starts the client using the options
168specified in <filename>/etc/ppp/pppoe.conf</filename>.</para></sect3>
169
170<sect3><title>adsl-status</title>
171<para><command>adsl-status</command> displays the status of the
172<acronym>ADSL</acronym> connection.</para></sect3>
173
174<sect3><title>adsl-stop</title>
175<para><command>adsl-stop</command> stops the client.</para></sect3>
176
177<sect3><title>pppoe</title>
178<para>This is the client itself. Generally it should not be started on its
179own.</para></sect3>
180
181<sect3><title>pppoe-relay</title>
182<para><command>pppoe-relay</command> starts the server relay
183agent.</para></sect3>
184
185<sect3><title>pppoe-server</title>
186<para><command>pppoe-server</command> starts the server
187component.</para></sect3>
188
189<sect3><title>pppoe-sniff</title>
190<para>A small network sniffer designed to assist in setting
191<envar>PPPOE_EXTRA</envar> settings.</para></sect3>
192
193</sect2>
194
195</sect1>
196
Note: See TracBrowser for help on using the repository browser.