Ignore:
Timestamp:
Mar 30, 2014, 8:39:45 PM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
6757dcab
Parents:
bf9148a
Message:

Updated network section

File:
1 edited

Legend:

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

    rbf9148a r31e77c0  
    4646  </sect2>
    4747
     48  <sect2 id="conf-dhcpcd" role="configuration">
     49    <title>Creating the DHCP Network Interface Configuration File</title>
     50
     51    <para>The following is an example for the eth0 interface. Refer to the
     52    dhcpcd.conf man page for more information. This step may be skipped if
     53    default behavior of dhcpcd is required.</para>
     54
     55    <para>Create the <filename>/etc/dhcpcd.conf</filename> configuration file
     56    using the following commands. Adjust appropriately for additional options:</para>
     57
     58<screen><userinput>cd /etc &amp;&amp;
     59cat &gt; dhcpcd.conf &lt;&lt; "EOF"
     60<literal># dhcpcd configuration eth0 interface
     61# See dhcpcd.conf(5) for details.
     62
     63interface eth0
     64# dhcpcd-run-hooks uses these options.
     65option subnet_mask, routers, domain_name_servers
     66
     67# The default timeout for waiting for a DHCP response is 30 seconds
     68# which may be too long or too short and can be changed here.
     69timeout 16</literal>
     70EOF</userinput></screen>
     71
     72    <para>To configure another Static Interface, Follow <xref linkend="ch-network-static"/>.</para>
     73
     74  </sect2>
     75
     76  <sect2>
     77    <title>Configuring the Network Interface at boot</title>
     78
     79    <para>Enabling of the Network Interface configuration is
     80    done per interface. To enable Network Interface
     81    configuration at boot, run:</para>
     82
     83<screen role="nodump"><userinput>systemctl enable dhcpcd@eth0</userinput></screen>
     84
     85    <para>To disable previously enabled Network Interface
     86    configuration at boot, run:</para>
     87
     88<screen role="nodump"><userinput>systemctl disable dhcpcd@eth0</userinput></screen>
     89
     90    <para>To manually start the Network Interface configuration,
     91    run:</para>
     92
     93<screen role="nodump"><userinput>systemctl start dhcpcd@eth0</userinput></screen>
     94
     95    <para>Replace eth0 with the correct Network Interface
     96    name as described on the beginning of this page.</para>
     97
     98  </sect2>
     99
    48100  <sect2 id="contents-dhcpcd" role="content">
    49101    <title>Contents of dhcpcd</title>
Note: See TracChangeset for help on using the changeset viewer.