source: BOOK/network/common/dhcp.xml @ 593f554e

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 593f554e was 593f554e, checked in by Joe Ciccone <jciccone@…>, 15 years ago

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.

  • Property mode set to 100644
File size: 1.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4  <!ENTITY % general-entities SYSTEM "../../general.ent">
5  %general-entities;
6]>
7
8<sect1 id="ch-network-dhcp">
9  <?dbhtml filename="network-dhcp.html"?>
10
11  <title>DHCP Networking Configuration</title>
12
13  <sect2>
14    <title>Creating the DHCP Network Interface Configuration Files</title>
15
16    <para>First install the service from the CLFS Bootscripts package:</para>
17
18<screen><userinput>tar -jxvf bootscripts-cross-lfs-&bootscripts-clfs-version;.tar.bz2
19cd -v bootscripts-cross-lfs-&bootscripts-clfs-version;
20make install-service-dhcpcd</userinput></screen>
21
22    <para>Finally, create the
23    <filename>/etc/sysconfig/network-devices/ifconfig.eth0/dhcpcd</filename>
24    configuration file using the following commands. Adjust appropriately for
25    additional interfaces:</para>
26
27<screen><userinput><literal>install -v -d /etc/sysconfig/network-devices/ifconfig.eth0
28cat > /etc/sysconfig/network-devices/ifconfig.eth0/dhcpcd &lt;&lt; "EOF"
29ONBOOT="yes"
30SERVICE="dhcpcd"
31
32# Start Command for DHCPCD
33#
34DHCP_START="-q"
35
36# Stop Command for DHCPCD
37#
38DHCP_STOP="-k"
39EOF</literal>
40</userinput></screen>
41
42    <para>To configure another Static Interface, Follow <xref linkend="ch-network-static"/>.</para>
43
44  </sect2>
45
46</sect1>
Note: See TracBrowser for help on using the repository browser.