[3cfb81c] | 1 | <sect2>
|
---|
[f07203c5] | 2 | <title>Configuring <application><acronym>RP</acronym>-<acronym>PPPoE</acronym></application></title>
|
---|
[3cfb81c] | 3 |
|
---|
| 4 | <sect3><title>Config files</title>
|
---|
[9d3e4bf] | 5 | <para><filename>/etc/ppp/pppoe.conf</filename>,
|
---|
| 6 | <filename>/etc/ppp/firewall-standalone</filename>,
|
---|
| 7 | <filename>/etc/ppp/firewall-masq</filename>,
|
---|
| 8 | <filename>/etc/ppp/pppoe-server-options</filename>,
|
---|
| 9 | <filename>/etc/resolv.conf</filename>,
|
---|
| 10 | <filename>/etc/ppp/pap-seecrets</filename>,
|
---|
| 11 | <filename>/etc/ppp/chap-secrets</filename></para></sect3>
|
---|
[3cfb81c] | 12 |
|
---|
| 13 | <sect3><title>Configuration Information</title>
|
---|
| 14 |
|
---|
[f07203c5] | 15 | <para>To configure <application><acronym>RP</acronym>-<acronym>PPPoE</acronym>
|
---|
| 16 | </application> after installation, you should run the <command>adsl-setup
|
---|
| 17 | </command> script.</para>
|
---|
[a1a2c99] | 18 |
|
---|
| 19 | <para>When configuring your connection, you will need to have your
|
---|
[9d3e4bf] | 20 | <acronym>ISP</acronym>'s nameserver information available, as well as your
|
---|
| 21 | username and password. You will also be asked whether to configure a
|
---|
| 22 | dial-on-demand or a constant connection. If your service provider does not
|
---|
| 23 | charge by the minute, it is usually good to have a bootscript handle the
|
---|
[e76c814] | 24 | connection for you. You can, of course, choose not to install the
|
---|
[a1a2c99] | 25 | following script, and start your connection manually with the
|
---|
[9d3e4bf] | 26 | <command>adsl-start</command> script.</para>
|
---|
[a1a2c99] | 27 |
|
---|
[1af021dc] | 28 | <para><emphasis>Optionally</emphasis> install the
|
---|
[b5ea3492] | 29 | <filename>/etc/sysconfig/network-devices/services/pppoe</filename> service
|
---|
| 30 | script included with the <xref linkend="intro-important-bootscripts"/>
|
---|
| 31 | package.</para>
|
---|
[a1a2c99] | 32 |
|
---|
[b5ea3492] | 33 | <screen><userinput><command>make install-service-pppoe</command></userinput></screen>
|
---|
[a1a2c99] | 34 |
|
---|
[b5ea3492] | 35 | <para>Now create the config file for use with the <filename>pppoe</filename>
|
---|
| 36 | service script:</para>
|
---|
[a1a2c99] | 37 |
|
---|
[b5ea3492] | 38 | <screen><userinput><command>cat > /etc/sysconfig/network-devices/ifconfig.pppoe << "EOF"</command>
|
---|
| 39 | ONBOOT=yes
|
---|
| 40 | SERVICE=pppoe
|
---|
| 41 | <command>EOF</command></userinput></screen>
|
---|
[3cfb81c] | 42 |
|
---|
[1af021dc] | 43 | <para>Also, if you had previously configured the network interface that will now
|
---|
[06435ff] | 44 | use <acronym>PPPoE</acronym>, you should remove the interface configuration
|
---|
| 45 | files for that interface:
|
---|
[b5ea3492] | 46 | <filename>/etc/sysconfig/network-devices/ifconfig.eth<X>
|
---|
[06435ff] | 47 | </filename>.</para>
|
---|
| 48 |
|
---|
[3cfb81c] | 49 | </sect3>
|
---|
| 50 |
|
---|
| 51 | </sect2>
|
---|
| 52 |
|
---|