Changeset 676d923 in clfs-sysroot for BOOK/network


Ignore:
Timestamp:
Mar 15, 2009, 2:42:22 PM (16 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
10658db
Parents:
1970967
Message:

Update bootscript configuration from trunk. Update bootscripts to 1.2-pre6.

Location:
BOOK/network
Files:
4 added
3 moved

Legend:

Unmodified
Added
Removed
  • BOOK/network/common/hostname.xml

    r1970967 r676d923  
    66]>
    77
    8 <sect1 id="ch-scripts-hostname">
     8<sect1 id="ch-network-hostname">
    99  <?dbhtml filename="hostname.html"?>
    1010
    1111  <title>Configuring the localnet Script</title>
    1212
    13   <indexterm zone="ch-scripts-hostname">
     13  <indexterm zone="ch-network-hostname">
    1414    <primary sortas="d-localnet">localnet</primary>
    1515  <secondary>configuring</secondary></indexterm>
     
    2222  and enter a hostname by running:</para>
    2323
    24   <screen><userinput>echo "HOSTNAME=<replaceable>[lfs]</replaceable>" &gt; ${CLFS}/etc/sysconfig/network</userinput></screen>
     24  <screen><userinput>echo "HOSTNAME=<replaceable>[clfs]</replaceable>" &gt; ${CLFS}/etc/sysconfig/network</userinput></screen>
    2525
    26   <para><replaceable>[lfs]</replaceable> needs to be replaced with the
     26  <para><replaceable>[clfs]</replaceable> needs to be replaced with the
    2727  name given to the computer. Do not enter the Fully Qualified
    2828  Domain Name (FQDN) here. That information will be put in the
  • BOOK/network/common/hosts.xml

    r1970967 r676d923  
    66]>
    77
    8 <sect1 id="ch-scripts-hosts">
     8<sect1 id="ch-network-hosts">
    99  <?dbhtml filename="hosts.html"?>
    1010
    1111  <title>Customizing the /etc/hosts File</title>
    1212
    13   <indexterm zone="ch-scripts-hosts">
     13  <indexterm zone="ch-network-hosts">
    1414    <primary sortas="e-/etc/hosts">/etc/hosts</primary>
    1515  </indexterm>
    1616
    17   <indexterm zone="ch-scripts-hosts">
     17  <indexterm zone="ch-network-hosts">
    1818    <primary sortas="d-localnet">localnet</primary>
    1919  <secondary>/etc/hosts</secondary></indexterm>
    2020
    21   <indexterm zone="ch-scripts-hosts">
     21  <indexterm zone="ch-network-hosts">
    2222    <primary sortas="d-network">network</primary>
    2323  <secondary>/etc/hosts</secondary></indexterm>
  • BOOK/network/common/static.xml

    r1970967 r676d923  
    66]>
    77
    8 <sect1 id="ch-scripts-network">
    9   <?dbhtml filename="network.html"?>
     8<sect1 id="ch-network-static">
     9  <?dbhtml filename="network-static.html"?>
    1010
    11   <title>Configuring the network Script</title>
    12 
    13   <indexterm zone="ch-scripts-network">
    14     <primary sortas="d-network">network</primary>
    15   <secondary>configuring</secondary></indexterm>
    16 
    17   <para>This section only applies if a network card is to be
    18   configured.</para>
    19 
    20   <para>If a network card will not be used, there is likely no need to
    21   create any configuration files relating to network cards. If that is
    22   the case, remove the <filename class="symlink">network</filename>
    23   symlinks from all run-level directories (<filename
    24   class="directory">/etc/rc.d/rc*.d</filename>).</para>
     11  <title>Static Networking Configuration</title>
    2512
    2613  <sect2>
    27     <title>Creating Network Interface Configuration Files</title>
     14    <title>Creating the Static Network Interface Configuration Files</title>
    2815
    2916    <para>Which interfaces are brought up and down by the network script
     
    5037EOF</userinput></screen>
    5138
    52     <para>The values of these variables must be changed in every file to match
     39    <para os="var-ob">The values of these variables must be changed in every file to match
    5340    the proper setup. If the <envar>ONBOOT</envar> variable is set to
    5441    <quote>yes</quote> the network script will bring up the Network Interface
     
    5744    be brought up.</para>
    5845
    59     <para>The <envar>SERVICE</envar> variable defines the method used for
     46    <para os="var-s">The <envar>SERVICE</envar> variable defines the method used for
    6047    obtaining the IP address. The CLFS-Bootscripts package has a modular IP
    6148    assignment format, and creating additional files in the <filename
    6249    class="directory">/etc/sysconfig/network-devices/services</filename>
    63     directory allows other IP assignment methods. This is commonly used for
    64     Dynamic Host Configuration Protocol (DHCP), which is addressed in the
    65     BLFS book.</para>
     50    directory allows other IP assignment methods.</para>
    6651
    6752    <para>The <envar>GATEWAY</envar> variable should contain the default
     
    7863    <envar>PREFIX</envar> variable according to your specific subnet.</para>
    7964
    80   </sect2>
    81 
    82   <sect2 id="resolv.conf">
    83     <title>Creating the ${CLFS}/etc/resolv.conf File</title>
    84 
    85     <indexterm zone="resolv.conf">
    86       <primary sortas="e-/etc/resolv.conf">/etc/resolv.conf</primary>
    87     </indexterm>
    88 
    89     <para>If the system is going to be connected to the Internet, it will
    90     need some means of Domain Name Service (DNS) name resolution to
    91     resolve Internet domain names to IP addresses, and vice versa. This is
    92     best achieved by placing the IP address of the DNS server, available
    93     from the ISP or network administrator, into
    94     <filename>/etc/resolv.conf</filename>. Create the file by running the
    95     following:</para>
    96 
    97 <screen><userinput>cat &gt; ${CLFS}/etc/resolv.conf &lt;&lt; "EOF"
    98 <literal># Begin /etc/resolv.conf
    99 
    100 domain <replaceable>[Your Domain Name]</replaceable>
    101 nameserver <replaceable>[IP address of your primary nameserver]</replaceable>
    102 nameserver <replaceable>[IP address of your secondary nameserver]</replaceable>
    103 
    104 # End /etc/resolv.conf</literal>
    105 EOF</userinput></screen>
    106 
    107     <para>Replace <replaceable>[IP address of the nameserver]</replaceable>
    108     with the IP address of the DNS most appropriate for the setup. There will
    109     often be more than one entry (requirements demand secondary servers for
    110     fallback capability). If you only need or want one DNS server, remove the
    111     second <emphasis>nameserver</emphasis> line from the file. The IP address
    112     may also be a router on the local network.</para>
     65    <para>To configure another DHCP Interface, Follow <xref linkend="ch-network-dhcp"/>.</para>
    11366
    11467  </sect2>
Note: See TracChangeset for help on using the changeset viewer.