Changeset 415c62c
- Timestamp:
- Jan 23, 2014, 1:32:51 PM (11 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 88ad369
- Parents:
- 40b9a5f
- Location:
- BOOK/network/common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/network/common/dhcp.xml
r40b9a5f r415c62c 15 15 16 16 <para>The following is an example for the eth0 interface. Create the 17 <filename>/etc/sysconfig/ network-devices/ifconfig.eth0</filename>17 <filename>/etc/sysconfig/ifconfig.eth0</filename> 18 18 configuration file using the following commands. Adjust appropriately for 19 19 additional interfaces:</para> 20 20 21 <screen><userinput>mkdir -pv /etc/sysconfig /network-devices&&22 cd /etc/sysconfig /network-devices&&21 <screen><userinput>mkdir -pv /etc/sysconfig && 22 cd /etc/sysconfig && 23 23 cat > ifconfig.eth0 << "EOF" 24 24 <literal>SERVICE="dhcpcd" -
BOOK/network/common/static.xml
r40b9a5f r415c62c 16 16 <para>Which interfaces are brought up and down by the network script 17 17 depends on the files and directories in the <filename 18 class="directory">/etc/sysconfig /network-devices</filename> hierarchy.18 class="directory">/etc/sysconfig</filename> hierarchy. 19 19 This directory should contain a sub-directory for each interface to be 20 20 configured, such as <filename>ifconfig.xyz</filename>, where … … 36 36 file for the <emphasis>eth0</emphasis> device:</para> 37 37 38 <screen><userinput>mkdir -pv /etc/sysconfig /network-devices&&39 cd /etc/sysconfig /network-devices&&38 <screen><userinput>mkdir -pv /etc/sysconfig && 39 cd /etc/sysconfig && 40 40 cat > ifconfig.eth0 << "EOF" 41 41 <literal>IFACE="eth0"
Note:
See TracChangeset
for help on using the changeset viewer.