Changeset 593f554e for BOOK/network


Ignore:
Timestamp:
Mar 2, 2009, 11:13:12 AM (16 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
5412eda
Parents:
89bc6ed
Message:

Added DHCPCD depdency information.
Moved DHCPCD from the network section into the final system and updated the note about the optional build.
Updated the network configuration section.

Location:
BOOK/network
Files:
1 added
16 deleted
1 edited
2 moved

Legend:

Unmodified
Added
Removed
  • BOOK/network/chapter.xml

    r89bc6ed r593f554e  
    1414  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/hostname.xml"/>
    1515  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/hosts.xml"/>
     16  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/resolv.xml"/>
    1617  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/choose.xml"/>
    17   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="static/static.xml"/>
    18   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="static/network.xml"/>
    19   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="static/next.xml"/>
    20   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="dhcp/dhcp.xml"/>
    21   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/dhcpcd.xml"/>
     18  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/static.xml"/>
     19  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/dhcp.xml"/>
    2220
    2321</chapter>
  • BOOK/network/common/choose.xml

    r89bc6ed r593f554e  
    66]>
    77
    8 <sect1 id="ch-newtork-choose">
     8<sect1 id="ch-network-choose">
    99  <?dbhtml filename="choose.html"?>
    1010
    1111  <title>Use DHCP or to Static Networking?</title>
    1212
    13   <para os="a"> There are two different ways you can proceed from this point
     13  <indexterm zone="ch-network-choose">
     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 configured. If
     18  you do not need to configure a network interface you can skip on to
     19  <xref linkend="chapter-bootable"/>.</para>
     20
     21  <para> There are two different ways you can proceed from this point
    1422  to configure your network. Dynamic will allow you to take advantage of
    1523  a DHCP server to get all your configuration information. Static you become
    1624  responsible for setting up your options.</para>
    1725
    18   <para os="b">For DHCP Networking, follow <ulink url="dhcp.html"/>.</para>
     26  <para>To configure a Static Interface, Follow <xref linkend="ch-network-static"/>.</para>
    1927
    20   <para os="c">For Static Networking, follow <ulink url="static.html"/>.</para>
     28  <para>To configure a DHCP Interface, Follow <xref linkend="ch-network-dhcp"/>.</para>
    2129
    2230</sect1>
  • BOOK/network/common/static.xml

    r89bc6ed r593f554e  
    66]>
    77
    8 <sect1 id="ch-network-static-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-network-static-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
     
    7764    <envar>PREFIX</envar> variable according to your specific subnet.</para>
    7865
    79   </sect2>
    80 
    81   <sect2 id="resolv.conf">
    82     <title>Creating the /etc/resolv.conf File</title>
    83 
    84     <indexterm zone="resolv.conf">
    85       <primary sortas="e-/etc/resolv.conf">/etc/resolv.conf</primary>
    86     </indexterm>
    87 
    88     <para>If the system is going to be connected to the Internet, it will
    89     need some means of Domain Name Service (DNS) name resolution to
    90     resolve Internet domain names to IP addresses, and vice versa. This is
    91     best achieved by placing the IP address of the DNS server, available
    92     from the ISP or network administrator, into
    93     <filename>/etc/resolv.conf</filename>. Create the file by running the
    94     following:</para>
    95 
    96 <screen><userinput>cat &gt; /etc/resolv.conf &lt;&lt; "EOF"
    97 <literal># Begin /etc/resolv.conf
    98 
    99 domain <replaceable>[Your Domain Name]</replaceable>
    100 nameserver <replaceable>[IP address of your primary nameserver]</replaceable>
    101 nameserver <replaceable>[IP address of your secondary nameserver]</replaceable>
    102 
    103 # End /etc/resolv.conf</literal>
    104 EOF</userinput></screen>
    105 
    106     <para>Replace <replaceable>[IP address of the nameserver]</replaceable>
    107     with the IP address of the DNS most appropriate for the setup. There will
    108     often be more than one entry (requirements demand secondary servers for
    109     fallback capability). If you only need or want one DNS server, remove the
    110     second <emphasis>nameserver</emphasis> line from the file. The IP address
    111     may also be a router on the local network.</para>
     66    <para>To configure another DHCP Interface, Follow <xref linkend="ch-network-dhcp"/>.</para>
    11267
    11368  </sect2>
Note: See TracChangeset for help on using the changeset viewer.