Changeset 03e6a40 for BOOK/network/common/dhcpcd.xml
- Timestamp:
- Apr 20, 2014, 8:57:39 AM (11 years ago)
- Children:
- 0be79ea
- Parents:
- 88ef769 (diff), 578ca586 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/network/common/dhcpcd.xml
r88ef769 r03e6a40 46 46 </sect2> 47 47 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 && 59 cat > dhcpcd.conf << "EOF" 60 <literal># dhcpcd configuration eth0 interface 61 # See dhcpcd.conf(5) for details. 62 63 interface eth0 64 # dhcpcd-run-hooks uses these options. 65 option 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. 69 timeout 16</literal> 70 EOF</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 48 100 <sect2 id="contents-dhcpcd" role="content"> 49 101 <title>Contents of dhcpcd</title>
Note:
See TracChangeset
for help on using the changeset viewer.