Changeset d72e04a for chapter07/network.xml
- Timestamp:
- 01/30/2005 12:51:22 PM (19 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 1770019
- Parents:
- bce08ef
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter07/network.xml
rbce08ef rd72e04a 18 18 mkdir ifconfig.eth0 && 19 19 cat > ifconfig.eth0/ipv4 << "EOF" 20 ONBOOT=yes20 <literal>ONBOOT=yes 21 21 SERVICE=ipv4-static 22 22 IP=192.168.1.1 23 23 GATEWAY=192.168.1.2 24 24 PREFIX=24 25 BROADCAST=192.168.1.255 25 BROADCAST=192.168.1.255</literal> 26 26 EOF</userinput></screen> 27 27 … … 29 29 30 30 <sect2 id="resolv.conf"> 31 <title>Creating the /etc/resolv.conf file</title>31 <title>Creating the /etc/resolv.conf File</title> 32 32 33 33 <para>Create the file by running the following:</para> 34 34 35 35 <screen><userinput>cat > /etc/resolv.conf << "EOF" 36 # Begin /etc/resolv.conf36 <literal># Begin /etc/resolv.conf 37 37 38 38 domain {<replaceable>[Your Domain Name]</replaceable>} 39 nameserver <replaceable>[IP address of your nameserver]</replaceable> 39 nameserver <replaceable>[IP address of your primary nameserver]</replaceable> 40 nameserver <replaceable>[IP address of your secondary nameserver]</replaceable> 40 41 41 # End /etc/resolv.conf 42 # End /etc/resolv.conf</literal> 42 43 EOF</userinput></screen> 43 44
Note:
See TracChangeset
for help on using the changeset viewer.