Ignore:
Timestamp:
08/27/2003 01:20:50 AM (21 years ago)
Author:
Larry Lawrence <larry@…>
Branches:
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
Children:
67b459c
Parents:
1d7496e5
Message:

DJ finished rpppoe

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • connect/other/pppoe/pppoe-config.xml

    r1d7496e5 ra1a2c99  
    33
    44<sect3><title>Config files</title>
    5 <para><filename>files to be determined</filename></para></sect3>
     5<para><filename>/etc/ppp/pppoe.conf,
     6/etc/ppp/firewall-standalone,
     7/etc/ppp/firewall-masq,
     8/etc/ppp/pppoe-server-options,
     9/etc/resolv.conf,
     10/etc/ppp/pap-seecrets,
     11/etc/ppp/chap-secrets</filename></para></sect3>
    612
    713<sect3><title>Configuration Information</title>
    814
    9 <para>To re-configure RP-PPPoE after installation, you should run the
    10 <filename>adsl-config</filename> script.</para>
     15<para>To configure RP-PPPoE after installation, you should run the
     16<filename>adsl-setup</filename> script.</para>
     17
     18<para>When configuring your connection, you will need to have your
     19ISPs nameserver information availible , as well as your username and
     20password.  You will also be asked wether you want to configure a
     21dial-on-demand or a constant connection.  If your service provider does
     22not charge by the minute, it is usually good to have a bootscript handle
     23the connection for you.  You can, of course, choose not to install the
     24following script, and start your connection manually with the
     25<filename>adsl-start</filename> script.</para>
     26
     27<para>Use the following commands to create the
     28<emphasis>optional</emphasis> <filename>adsl</filename> bootscript:</para>
     29
     30<para><screen><userinput>cat &gt; /etc/rc.d/init.d/adsl &lt;&lt; "EOF"
     31#!/bin/bash
     32# Begin $rc_base/init.d/adsl
     33
     34# Based on sysklogd script from LFS-3.1 and earlier.
     35# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
     36# adsl script written by DJ Lucas  - dj@lucasit.com
     37
     38source /etc/sysconfig/rc
     39source $rc_functions
     40
     41case "$1" in
     42        start)
     43                echo "Bringing up the ADSL interface..."
     44                /usr/sbin/adsl-start
     45                evaluate_retval
     46                ;;
     47
     48        stop)
     49                echo "Bringing down the ADSL interface..."
     50                /usr/sbin/adsl-stop
     51                evaluate_retval
     52                ;;
     53
     54        restart)
     55                $0 stop
     56                sleep 1
     57                $0 start
     58                ;;
     59
     60        status)
     61                /usr/sbin/adsl-status
     62                ;;
     63
     64        *)
     65                echo "Usage: $0 {start|stop|restart|status}"
     66                exit 1
     67                ;;
     68esac
     69
     70# End $rc_base/init.d/adsl
     71EOF
     72chmod 755 /etc/rc.d/init.d/adsl</userinput></screen></para>
     73
     74<para>Now create the necessary symlinks:</para>
     75
     76<para><screen><userinput>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</userinput></screen></para>
    1183
    1284</sect3>
Note: See TracChangeset for help on using the changeset viewer.