mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-01 13:02:35 +08:00
1af021dc84
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2248 af4574ff-66df-0310-9fd7-8a98e5e911e0
53 lines
2.1 KiB
XML
53 lines
2.1 KiB
XML
<sect2>
|
|
<title>Configuring <application><acronym>RP</acronym>-<acronym>PPPoE</acronym></application></title>
|
|
|
|
<sect3><title>Config files</title>
|
|
<para><filename>/etc/ppp/pppoe.conf</filename>,
|
|
<filename>/etc/ppp/firewall-standalone</filename>,
|
|
<filename>/etc/ppp/firewall-masq</filename>,
|
|
<filename>/etc/ppp/pppoe-server-options</filename>,
|
|
<filename>/etc/resolv.conf</filename>,
|
|
<filename>/etc/ppp/pap-seecrets</filename>,
|
|
<filename>/etc/ppp/chap-secrets</filename></para></sect3>
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
<para>To configure <application><acronym>RP</acronym>-<acronym>PPPoE</acronym>
|
|
</application> after installation, you should run the <command>adsl-setup
|
|
</command> script.</para>
|
|
|
|
<para>When configuring your connection, you will need to have your
|
|
<acronym>ISP</acronym>'s nameserver information available, as well as your
|
|
username and password. You will also be asked whether to configure a
|
|
dial-on-demand or a constant connection. If your service provider does not
|
|
charge by the minute, it is usually good to have a bootscript handle the
|
|
connection for you. You can, of course, choose not to install the
|
|
following script, and start your connection manually with the
|
|
<command>adsl-start</command> script.</para>
|
|
|
|
<para><emphasis>Optionally</emphasis> install the
|
|
<filename>/etc/sysconfig/network-devices/services/pppoe</filename> service
|
|
script included with the <xref linkend="intro-important-bootscripts"/>
|
|
package.</para>
|
|
|
|
<screen><userinput><command>make install-service-pppoe</command></userinput></screen>
|
|
|
|
<para>Now create the config file for use with the <filename>pppoe</filename>
|
|
service script:</para>
|
|
|
|
<screen><userinput><command>cat > /etc/sysconfig/network-devices/ifconfig.pppoe << "EOF"</command>
|
|
ONBOOT=yes
|
|
SERVICE=pppoe
|
|
<command>EOF</command></userinput></screen>
|
|
|
|
<para>Also, if you had previously configured the network interface that will now
|
|
use <acronym>PPPoE</acronym>, you should remove the interface configuration
|
|
files for that interface:
|
|
<filename>/etc/sysconfig/network-devices/ifconfig.eth<X>
|
|
</filename>.</para>
|
|
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|