source: BOOK/network/dhcp/dhcp.xml@ 190e0ab

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 190e0ab was f22b19b, checked in by Jim Gifford <clfs@…>, 16 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.