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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since c822ddc was cc73be6, checked in by Jim Gifford <clfs@…>, 16 years ago

Fixed File Sizes. Order of Packages.ent. Fixed naming of Bootscripts

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[0f6ac75]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" [
[0b9e109]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
[0f6ac75]5 %general-entities;
6]>
7
[0b9e109]8<sect1 id="ch-network-dhcp">
[0f6ac75]9 <?dbhtml filename="dhcp.html"?>
10
11 <title>DHCP Networking</title>
12
[f22b19b]13 <para os="a">You will need to install the service from the CLFS Bootscripts package.</para>
14
[cc73be6]15<screen os="b"><userinput>tar -jxvf ../bootscripts-cross-lfs-&bootscripts-clfs-version;.tar.bz2
16cd -v bootscripts-cross-lfs-&bootscripts-clfs-version;
[f22b19b]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>
[0f6ac75]36
37</sect1>
Note: See TracBrowser for help on using the repository browser.