Changeset b5ea3492
- Timestamp:
- 03/21/2004 07:27:22 PM (20 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 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/inkscape-core-mods, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/python-mods, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, v5_1, v5_1-pre1, xry111/intltool, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- cc265e51
- Parents:
- f53f1b3c
- Files:
-
- 11 deleted
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
appendices/appendices.ent
rf53f1b3c rb5ea3492 1 1 <!ENTITY appendices SYSTEM "appendices.xml"> 2 3 <!-- Symlink appendix -->4 5 <!ENTITY appendices-symlinks SYSTEM "symlinks/symlinks.xml">6 <!ENTITY appendices-symlinks-rc0 SYSTEM "symlinks/rc0.xml">7 <!ENTITY appendices-symlinks-rc1 SYSTEM "symlinks/rc1.xml">8 <!ENTITY appendices-symlinks-rc2 SYSTEM "symlinks/rc2.xml">9 <!ENTITY appendices-symlinks-rc3 SYSTEM "symlinks/rc3.xml">10 <!ENTITY appendices-symlinks-rc4 SYSTEM "symlinks/rc4.xml">11 <!ENTITY appendices-symlinks-rc5 SYSTEM "symlinks/rc5.xml">12 <!ENTITY appendices-symlinks-rc6 SYSTEM "symlinks/rc6.xml">13 2 14 3 <!-- Deprecated package appendix --> … … 16 5 <!ENTITY appendices-old SYSTEM "old/old.xml"> 17 6 18 <!-- Generic instructions -->19 20 <!ENTITY appendices-generic SYSTEM "generic/generic.xml">21 22 7 <!-- Glossary --> 23 8 -
basicnet/netprogs/ncpfs/ncpfs-config.xml
rf53f1b3c rb5ea3492 42 42 43 43 <para>If you need to set up the <acronym>IPX</acronym> protocol at boot, 44 you can create the following scripts. These scripts assume <acronym>IPX</acronym>45 will be set up on <emphasis role="strong">eth0</emphasis>46 and the network frame type is 802.2. You should confirm that these47 are the correct settings and adjust as necessary.</para>44 you can install the 45 <filename>/etc/sysconfig/network-devices/services/ipx</filename> 46 network service script included with the 47 <xref linkend="intro-important-bootscripts"/> package.</para> 48 48 49 <screen><userinput><command>cat > /etc/sysconfig/network-devices/ifup-ipx0 << "EOF"</command> 50 #!/bin/sh 51 # Begin /etc/sysconfig/network-devices/ifup-ipx0 49 <screen><userinput><command>make install-service-ipx</command></userinput></screen> 52 50 53 . /etc/sysconfig/rc || exit 54 . $rc_functions || exit 51 <para>Next install the configurations script, 52 <filename>ifconfig.ipx0</filename>. The configuration assumes 53 <acronym>IPX</acronym> will be set up on 54 <emphasis role="strong">eth0</emphasis> 55 and the network frame type is 802.2. You should confirm that these are 56 the correct settings and adjust as necessary.</para> 55 57 56 echo "Setting up the IPX protocol on eth0..." 57 /bin/ipx_interface add eth0 802.2 && 58 /bin/ipx_configure --auto_interface=on --auto_primary=on 59 evaluate_retval 58 <para><emphasis>Note</emphasis>: This will overwrite any existing file.</para> 60 59 61 # End /etc/sysconfig/network-devices/ifup-ipx0 62 <command>EOF 63 cat > /etc/sysconfig/network-devices/ifdown-ipx0 << "EOF"</command> 64 #!/bin/sh 65 # Begin /etc/sysconfig/network-devices/ifdown-ipx0 66 67 . /etc/sysconfig/rc || exit 68 . $rc_functions || exit 69 70 echo "Stopping IPX on the eth0 interface..." 71 /bin/ipx_configure --auto_interface=off --auto_primary=off && 72 /bin/ipx_interface del eth0 802.2 73 evaluate_retval 74 75 # End /etc/sysconfig/network-devices/ifdown-ipx0 76 <command>EOF 77 echo "ONBOOT=yes" > /etc/sysconfig/network-devices/ifconfig.ipx0 78 chmod 755 /etc/sysconfig/network-devices/ifup-ipx0 79 chmod 755 /etc/sysconfig/network-devices/ifdown-ipx0</command></userinput></screen> 60 <screen><userinput><command>cat > /etc/sysconfig/network-devices/ifconfig.ipx0 << "EOF"</command> 61 ONBOOT=yes 62 SERVICE=ipx 63 IPXDEV=eth0 64 FRAME=802.2 65 <command>EOF</command></userinput></screen> 80 66 81 67 </sect3> -
book/book.ent
rf53f1b3c rb5ea3492 23 23 <!ENTITY hints-root "http://www.linuxfromscratch.org/hints"> 24 24 <!ENTITY patch-root "http://www.linuxfromscratch.org/patches/blfs/&blfs-version;"> 25 <!ENTITY lfs-root "http://www.linuxfromscratch.org/lfs/view/&blfs-version;"> 25 26 <!ENTITY nbsp " "> 26 27 <!ENTITY publisher "Unknown"> -
book/book.xml
rf53f1b3c rb5ea3492 22 22 23 23 <!-- Appendices --> 24 &appendices;25 24 &glossary; -
connect/dhcp/dhcp-client.xml
rf53f1b3c rb5ea3492 16 16 (<command>dhclient</command>).</para> 17 17 18 <para>To configure <command>dhclient</command>, you need to create two files, 19 <filename>/etc/sysconfig/network-devices/ifconfig.eth0</filename> and 20 <filename>/etc/dhclient.conf</filename>.</para> 18 <para>To configure <command>dhclient</command>, we need to first install 19 the network service script, 20 <filename>/etc/sysconfig/network-devices/services/dhclient</filename> 21 included in the <xref linkend="intro-important-bootscripts"/> package.</para> 21 22 22 <para>First, create the <filename>ifconfig.eth0</filename> 23 file with the following commands (note that this will overwrite any 24 existing file):</para> 23 <screen><userinput><command>make install-service-dhclient</command></userinput></screen> 25 24 26 <screen><userinput><command>cd /etc/sysconfig/network-devices && 27 cat > /etc/sysconfig/network-devices/ifconfig.eth0 << "EOF"</command> 25 <para>Next, create the <filename>ifconfig.eth0</filename> 26 file with the following commands. Adjust as necessary for additional 27 interfaces.</para> 28 29 <para><emphasis>Note</emphasis>: this will overwrite any existing file.</para> 30 31 <screen><userinput><command>cat > /etc/sysconfig/network-devices/ifconfig.eth0 << "EOF"</command> 28 32 ONBOOT=yes 29 DHCP_ PROG=/sbin/dhclient30 DHCP_ST ART=<appropriate start parameters>31 DHCP_STOP=-r 33 DHCP_START="<place appropriate start parameters here>" 34 DHCP_STOP="-r <add additional stop parameters here>" 35 SERVICE=dhclient 32 36 <command>EOF</command></userinput></screen> 33 37 … … 36 40 values, examine the man page for <command>dhclient</command>.</para> 37 41 38 <para>Next, you should then create 39 the <filename>/etc/dhclient.conf</filename> using the following command:</para> 42 <para>Finally, you should then create 43 the <filename>/etc/dhclient.conf</filename> using the following 44 commands. Append to the file if you have more than one interface:</para> 40 45 41 46 <screen><userinput><command>cat > /etc/dhclient.conf << "EOF"</command> -
connect/dhcp/dhcp.xml
rf53f1b3c rb5ea3492 12 12 <para>We currently provide installation instructions for two 13 13 <acronym>DHCP</acronym> clients, <command>dhclient</command> (from the 14 <application>dhcp</application> package) and <command>dhcpcd</command>. We 15 begin with a page which shows how to alter the <acronym>LFS</acronym> 16 boot scripts for generic <acronym>DHCP</acronym> support. We then present the 17 two sets of installation instructions which also discuss 18 how to create an appropriate configuration file to work with the 19 <acronym>DHCP</acronym> client of your choice.</para> 14 <application>dhcp</application> package) and <command>dhcpcd</command>. 15 We present both sets of installation instructions which also discuss how 16 to create an appropriate service script to work with the 17 <command>network</command> bootscript and the <acronym>DHCP</acronym> 18 client of your choice.</para> 20 19 21 &connect-dhcp-bootscripts;22 20 &connect-dhcp-client; 23 21 &dhcpcd; -
connect/dhcp/dhcpcd/dhcpcd-config.xml
rf53f1b3c rb5ea3492 7 7 <sect3><title>Configuration Information</title> 8 8 9 <para>To configure <command>dhcpcd</command>, create the <filename> 10 ifconfig.eth0</filename> file with the following commands (note that this 11 will overwrite any existing file):</para> 9 <para>To configure <command>dhcpcd</command>, we need to first install 10 the network service script, 11 <filename>/etc/sysconfig/network-devices/services/dhcpcd</filename> 12 included in the <xref linkend="intro-important-bootscripts"/> package.</para> 12 13 13 <screen><userinput><command>cd /etc/sysconfig/network-devices && 14 cat > ifconfig.eth0 << "EOF"</command> 14 <screen><userinput><command>make install-service-dhcpcd</command></userinput></screen> 15 16 <para>Now create the <filename>ifconfig.eth0</filename> configuration 17 file using the following commands. Adjust appropriatly for additional 18 interfaces.</para> 19 20 <para><emphasis>Note:</emphasis> This will overwrite any existing file.</para> 21 22 <screen><userinput><command>cat > /etc/sysconfig/network-devices/ifconfig.eth0 << "EOF"</command> 15 23 ONBOOT=yes 16 DHCP_ PROG=/sbin/dhcpcd17 DHCP_ST ART=<appropriate start parameters>18 DHCP_STOP=-k 24 DHCP_START="<insert appropriate start options here>" 25 DHCP_STOP="-k <insert other stop options here>" 26 SERVICE=dhcpcd 19 27 <command>EOF</command></userinput></screen> 20 28 -
connect/other/pppoe/pppoe-config.xml
rf53f1b3c rb5ea3492 26 26 <command>adsl-start</command> script.</para> 27 27 28 <para>Use the following commands to create the 29 <emphasis>optional</emphasis> <filename>adsl</filename> bootscript:</para> 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> 30 32 31 <screen><userinput><command>cat > /etc/rc.d/init.d/adsl << "EOF"</command> 32 #!/bin/sh 33 # Begin $rc_base/init.d/adsl 33 <screen><userinput><command>make install-service-pppoe</command></userinput></screen> 34 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 35 <para>Now create the config file for use with the <filename>pppoe</filename> 36 service script:</para> 38 37 39 . /etc/sysconfig/rc 40 . $rc_functions 41 42 case "$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 ;; 69 esac 70 71 # End $rc_base/init.d/adsl 72 <command>EOF 73 chmod 755 /etc/rc.d/init.d/adsl</command></userinput></screen> 74 75 <para>Now create the necessary symlinks:</para> 76 <screen><userinput><command>ln -sf ../init.d/adsl /etc/rc.d/rc0.d/K49adsl && 77 ln -sf ../init.d/adsl /etc/rc.d/rc1.d/K49adsl && 78 ln -sf ../init.d/adsl /etc/rc.d/rc2.d/K49adsl && 79 ln -sf ../init.d/adsl /etc/rc.d/rc3.d/S24adsl && 80 ln -sf ../init.d/adsl /etc/rc.d/rc4.d/S24adsl && 81 ln -sf ../init.d/adsl /etc/rc.d/rc5.d/S24adsl && 82 ln -sf ../init.d/adsl /etc/rc.d/rc6.d/K49adsl</command></userinput></screen> 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> 83 42 84 43 <para>Also, If you had previously configured the network interface that will now 85 44 use <acronym>PPPoE</acronym>, you should remove the interface configuration 86 45 files for that interface: 87 <filename>/etc/sysconfig/network-devices/if {up,down,config}-ehtx46 <filename>/etc/sysconfig/network-devices/ifconfig.eth<X> 88 47 </filename>.</para> 89 48 -
introduction/important/beyond.xml
rf53f1b3c rb5ea3492 9 9 </para> 10 10 11 <para>If you are installing a package in a non-standard prefix, <xref 12 linkend="appendices-generic"/> checklist will be helpful if the 13 package does not work as expected.</para> 11 <para>When you want to install a package to a location other than 12 <filename class='directory'>/</filename>, or <filename class='directory'>/usr</filename>, you are installing 13 outside the default environment settings on most machines. The following 14 examples should assist you in determining how to correct this situation. 15 The examples cover the complete range of settings that may need 16 updating, but they are not all needed in every situation.</para> 17 18 <itemizedlist> 19 <listitem><para>Expand the <envar>PATH</envar> to include 20 <filename class='directory'>$PREFIX/bin</filename>.</para></listitem> 21 <listitem><para>Expand the <envar>PATH</envar> for root to include 22 <filename class='directory'>$PREFIX/sbin</filename>.</para></listitem> 23 <listitem><para>Add <filename class='directory'>$PREFIX/lib</filename> 24 to <filename>/etc/ld.so.conf</filename> or expand 25 <envar>LD_LIBRARY_PATH</envar> to include it. Before using the latter option, 26 check out <ulink url="http://www.visi.com/~barr/ldpath.html"/>. If you 27 modify <filename>/etc/ld.so.conf</filename> remember to update 28 <filename>/etc/ld.so.cache</filename> by executing <command>ldconfig</command>.</para></listitem> 29 <listitem><para>Add <filename class='directory'>$PREFIX/man</filename> 30 to <filename>/etc/man.conf</filename> or expand <envar>MANPATH</envar>.</para></listitem> 31 <listitem><para>Add <filename class='directory'>$PREFIX/info</filename> 32 to <envar>INFOPATH</envar>.</para></listitem> 33 <listitem><para>Add <filename 34 class='directory'>$PREFIX/lib/pkgconfig</filename> to 35 <envar>PKG_CONFIG_PATH</envar>.</para></listitem> 36 <listitem><para>Add <filename 37 class='directory'>$PREFIX/include</filename> to <envar>CPPFLAGS</envar> when compiling packages 38 that depend on the package you installed.</para></listitem> 39 </itemizedlist> 14 40 15 41 <para>If you are in search of a package that is not in the book, the following -
introduction/important/bootscripts.xml
rf53f1b3c rb5ea3492 1 <sect1 id="intro-important-bootscripts" >1 <sect1 id="intro-important-bootscripts" xreflabel="lfs-bootscripts"> 2 2 <?dbhtml filename="bootscripts.html" dir="introduction"?> 3 <title> Using <acronym>BLFS</acronym> Boot Scripts</title>3 <title><acronym>LFS</acronym> Boot Scripts</title> 4 4 5 <para>The scripts included for packages such as <xref linkend="gpm"/> 6 and <xref linkend="alsa"/> are based around the template supplied with 7 the lfs-bootscripts package from version 3.2 and later of the <acronym> 8 LFS</acronym> book. Note that this is lfs-bootscripts-1.6 and later (the old 9 numbering changed as of <acronym>LFS</acronym>-3.2). The scripts won't work 10 with versions of <acronym>LFS</acronym> before 3.2 because of a change in their 11 organization with the new scripts. However, it should be trivial to adapt the 12 scripts if needed for older <acronym>LFS</acronym> versions.</para> 5 <para>The lfs-bootscripts package that was used in <acronym>LFS</acronym> also 6 contains bootscripts for <acronym>BLFS</acronym>. 7 The lfs-bootscripts package will be used throughout the rest of 8 the book for startup scripts. It is recomended you keep the package 9 source directory around until completion of your 10 <acronym>BLFS</acronym> system. When a script is requested from 11 lfs-bootscritps, simply change to the directory and execute the given 12 'make install-<init-script>' command.</para> 13 14 <para>If you are installing <acronym>BLFS</acronym> 15 from an older version of LFS, see the INSTALL included in the package for 16 upgrade instructions.</para> 17 18 <para>Refer to <ulink url="&lfs-root;/chapter07/bootscripts.html"/> for more 19 information on the lfs-bootscripts package.</para> 13 20 14 21 </sect1> -
introduction/important/pkgmgt.xml
rf53f1b3c rb5ea3492 97 97 98 98 <para>The environment variables such as those 99 mentioned in <xref linkend=" appendices-generic"/> need to be expanded to99 mentioned in <xref linkend="intro-important-beyond"/> need to be expanded to 100 100 include <filename>/usr/pkg/foo</filename>. For more than a few packages, 101 101 this scheme becomes unmanagable.</para> -
introduction/welcome/askhelp.xml
rf53f1b3c rb5ea3492 40 40 need to expand your environment variables for each package placed there (e.g. 41 41 PATH=$PATH:/opt/kde/bin). In some cases, the package will walk you 42 through the changes, but some will not. <xref linkend=" appendices-generic"/>42 through the changes, but some will not. <xref linkend="intro-important-beyond"/> 43 43 is available to help you check.</para></listitem> 44 44 </itemizedlist></sect2> -
introduction/welcome/credits.xml
rf53f1b3c rb5ea3492 256 256 <listitem><para><emphasis>Ian Chilton</emphasis> for writing the nfs hint.</para></listitem> 257 257 258 <listitem><para><emphasis>Nathan Coulson</emphasis>, <emphasis>DJ Lucas</emphasis> 259 and <emphasis>Zack Winkles</emphasis> for reworking the bootscripts used throughout 260 the book.</para></listitem> 261 258 262 </itemizedlist> 259 263 </sect2> -
introduction/welcome/which.xml
rf53f1b3c rb5ea3492 69 69 even those who are creating mainly server systems will find it useful.</para> 70 70 71 <para>Finally, the <xref linkend="appendices"/> contain various pieces of72 useful information which you may need to use as a reference.</para>73 74 71 <para>We hope you enjoy using <acronym>BLFS</acronym> and find it useful.</para> 75 72 -
preface/whoread.xml
rf53f1b3c rb5ea3492 11 11 found <acronym>LFS</acronym> useful, you should also like this!</para> 12 12 13 <para>Since Release 5.0, the <acronym>BLFS</acronym> book version matches 14 the <acronym>LFS</acronym> book version. This book may be incompatible with 15 a previous or latter release of the <acronym>LFS</acronym> book.</para> 16 13 17 </sect1> 14 18
Note:
See TracChangeset
for help on using the changeset viewer.