source: BOOK/network/dhcp/dhcp.xml @ f22b19b

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since f22b19b was f22b19b, checked in by Jim Gifford <clfs@…>, 15 years ago

Updated DHCPCD Config Information

  • Property mode set to 100644
File size: 1.1 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="dhcp.html"?>
10
11  <title>DHCP Networking</title>
12
13    <para os="a">You will need to install the service from the CLFS Bootscripts package.</para>
14
15<screen os="b"><userinput>tar -jxvf ../bootscripts-cross-lfs-&clfs-bootscripts-version;.tar.bz2
16cd -v bootscripts-cross-lfs-&clfs-bootscripts-version;
17make install-service-dhcpcd</userinput></screen>
18
19  <para os="c">Finally, create the /etc/sysconfig/network-devices/ifconfig.eth0/dhcpcd
20   configuration file using the following commands. Adjust appropriately for additional interfaces:</para>
21
22<screen os="d"><userinput><literal>install -v -d /etc/sysconfig/network-devices/ifconfig.eth0
23cat > /etc/sysconfig/network-devices/ifconfig.eth0/dhcpcd &lt;&lt; "EOF"
24ONBOOT="yes"
25SERVICE="dhcpcd"
26
27# Start Command for DHCPCD
28#
29DHCP_START="-q"
30
31# Stop Command for DHCPCD
32#
33DHCP_STOP="-k"
34EOF</literal>
35</userinput></screen>
36
37</sect1>
Note: See TracBrowser for help on using the repository browser.