Changeset 4112469
- Timestamp:
- Jan 23, 2014, 11:46:40 AM (11 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- c0aa909
- Parents:
- 99f8c39
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/network/common/dhcp.xml
r99f8c39 r4112469 14 14 <title>Creating the DHCP Network Interface Configuration Files</title> 15 15 16 <para>First install the service from the CLFS Bootscripts package:</para> 17 18 <screen><userinput>tar -xvf bootscripts-cross-lfs-&bootscripts-clfs-version;.tar.xz 19 cd bootscripts-cross-lfs-&bootscripts-clfs-version; 20 make install-service-dhcpcd</userinput></screen> 21 22 <para>Finally, create the 23 <filename>/etc/sysconfig/network-devices/ifconfig.eth0/dhcpcd</filename> 16 <para>The following is an example for the eth0 interface. Create the 17 <filename>/etc/sysconfig/network-devices/ifconfig.eth0</filename> 24 18 configuration file using the following commands. Adjust appropriately for 25 19 additional interfaces:</para> 26 20 27 21 <screen><userinput>cd /etc/sysconfig/network-devices && 28 mkdir -v ifconfig.eth0 && 29 cat > ifconfig.eth0/dhcpcd << "EOF" 30 <literal>ONBOOT="yes" 31 SERVICE="dhcpcd" 22 cat > ifconfig.eth0 << "EOF" 23 <literal>SERVICE="dhcpcd" 32 24 33 25 # Start Command for DHCPCD
Note:
See TracChangeset
for help on using the changeset viewer.