source: connect/other/pppoe/pppoe-config.xml@ f77c1eb0

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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 v5_0 v5_0-pre1 v5_1 v5_1-pre1 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since f77c1eb0 was f07203c5, checked in by Larry Lawrence <larry@…>, 21 years ago

update ppp intro

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

  • Property mode set to 100644
File size: 2.9 KB
Line 
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
21username and password. You will also be asked whether to configure a
22dial-on-demand or a constant connection. If your service provider does not
23charge by the minute, it is usually good to have a bootscript handle the
24connection for you. You can, of course, choose not to install the
25following script, and start your connection manually with the
26<command>adsl-start</command> script.</para>
27
28<para>Use the following commands to create the
29<emphasis>optional</emphasis> <filename>adsl</filename> bootscript:</para>
30
31<screen><userinput><command>cat &gt; /etc/rc.d/init.d/adsl &lt;&lt; "EOF"</command>
32#!/bin/bash
33# Begin $rc_base/init.d/adsl
34
35# Based on sysklogd script from LFS-3.1 and earlier.
36# Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org
37# adsl script written by DJ Lucas - dj@lucasit.com
38
39source /etc/sysconfig/rc
40source $rc_functions
41
42case "$1" in
43 start)
44 echo "Bringing up the ADSL interface..."
45 /usr/sbin/adsl-start
46 evaluate_retval
47 ;;
48
49 stop)
50 echo "Bringing down the ADSL interface..."
51 /usr/sbin/adsl-stop
52 evaluate_retval
53 ;;
54
55 restart)
56 $0 stop
57 sleep 1
58 $0 start
59 ;;
60
61 status)
62 /usr/sbin/adsl-status
63 ;;
64
65 *)
66 echo "Usage: $0 {start|stop|restart|status}"
67 exit 1
68 ;;
69esac
70
71# End $rc_base/init.d/adsl
72<command>EOF
73chmod 755 /etc/rc.d/init.d/adsl</command></userinput></screen>
74
75<para>Now create the necessary symlinks:
76<screen><userinput><command>ln -sf ../init.d/adsl /etc/rc.d/rc0.d/K49adsl &amp;&amp;
77ln -sf ../init.d/adsl /etc/rc.d/rc1.d/K49adsl &amp;&amp;
78ln -sf ../init.d/adsl /etc/rc.d/rc2.d/K49adsl &amp;&amp;
79ln -sf ../init.d/adsl /etc/rc.d/rc3.d/S24adsl &amp;&amp;
80ln -sf ../init.d/adsl /etc/rc.d/rc4.d/S24adsl &amp;&amp;
81ln -sf ../init.d/adsl /etc/rc.d/rc5.d/S24adsl &amp;&amp;
82ln -sf ../init.d/adsl /etc/rc.d/rc6.d/K49adsl</command></userinput></screen></para>
83
84</sect3>
85
86</sect2>
87
Note: See TracBrowser for help on using the repository browser.