diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2004-07-14 20:52:08 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2004-07-14 20:52:08 +0000 |
commit | 287a4e78c059516c141c79596c3213132fa6fa13 (patch) | |
tree | 8c7b099fc350c05691c77e86af74823ab00f593a /chapter07/network.xml | |
parent | 15afe874cd36d09d922c8b0074e477e16949a4ee (diff) |
* Fixed a couple of issues with the network configuration
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/testing/BOOK@3940 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07/network.xml')
-rw-r--r-- | chapter07/network.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chapter07/network.xml b/chapter07/network.xml index 68359f269..3113aec58 100644 --- a/chapter07/network.xml +++ b/chapter07/network.xml @@ -38,12 +38,14 @@ update the <quote>network_devices</quote> by providing it with the new path.</pa creates a sample <filename>ipv4</filename> file for the <filename>eth0</filename> device:</para> -<screen><userinput>cat > /etc/sysconfig/network-devices/ifconfig.eth0/ipv4 << "EOF" +<screen><userinput>cd /etc/sysconfig/network-devices && +mkdir ifconfig.eth0 && +cat > ifconfig.eth0/ipv4 << "EOF" ONBOOT=yes SERVICE=ipv4-static IP=192.168.1.1 GATEWAY=192.168.1.2 -NETMASK=255.255.255.0 +NETMASK=24 BROADCAST=192.168.1.255 EOF</userinput></screen> |