Changes in BOOK/network/common/dhcpcd.xml [31e77c0:37389ed]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/network/common/dhcpcd.xml
r31e77c0 r37389ed 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 the52 dhcpcd.conf man page for more information. This step may be skipped if53 default behavior of dhcpcd is required.</para>54 55 <para>Create the <filename>/etc/dhcpcd.conf</filename> configuration file56 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 interface61 # See dhcpcd.conf(5) for details.62 63 interface eth064 # dhcpcd-run-hooks uses these options.65 option subnet_mask, routers, domain_name_servers66 67 # The default timeout for waiting for a DHCP response is 30 seconds68 # 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 is80 done per interface. To enable Network Interface81 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 Interface86 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 Interface96 name as described on the beginning of this page.</para>97 98 </sect2>99 100 48 <sect2 id="contents-dhcpcd" role="content"> 101 49 <title>Contents of dhcpcd</title>
Note:
See TracChangeset
for help on using the changeset viewer.