1 | <sect2>
|
---|
2 | <title>Configuring <application><acronym>RP</acronym>-<acronym>PPPoE</acronym></application></title>
|
---|
3 |
|
---|
4 | <sect3><title>Config files</title>
|
---|
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>
|
---|
12 |
|
---|
13 | <sect3><title>Configuration Information</title>
|
---|
14 |
|
---|
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>
|
---|
18 |
|
---|
19 | <para>When configuring your connection, you will need to have your
|
---|
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
|
---|
24 | connection for you. You can, of course, choose not to install the
|
---|
25 | following script, and start your connection manually with the
|
---|
26 | <command>adsl-start</command> script.</para>
|
---|
27 |
|
---|
28 | <para><emphasis>Optionaly</emphasis> install the
|
---|
29 | <filename>/etc/sysconfig/network-devices/services/pppoe</filename> service
|
---|
30 | script included with the <xref linkend="intro-important-bootscripts"/>
|
---|
31 | package.</para>
|
---|
32 |
|
---|
33 | <screen><userinput><command>make install-service-pppoe</command></userinput></screen>
|
---|
34 |
|
---|
35 | <para>Now create the config file for use with the <filename>pppoe</filename>
|
---|
36 | service script:</para>
|
---|
37 |
|
---|
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>
|
---|
42 |
|
---|
43 | <para>Also, If you had previously configured the network interface that will now
|
---|
44 | use <acronym>PPPoE</acronym>, you should remove the interface configuration
|
---|
45 | files for that interface:
|
---|
46 | <filename>/etc/sysconfig/network-devices/ifconfig.eth<X>
|
---|
47 | </filename>.</para>
|
---|
48 |
|
---|
49 | </sect3>
|
---|
50 |
|
---|
51 | </sect2>
|
---|
52 |
|
---|