Changeset c34b4fb for chapter09/network.xml
- Timestamp:
- 09/07/2021 08:01:10 PM (3 years ago)
- Branches:
- 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, arm, bdubbs/gcc13, 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:
- 9cea9a2
- Parents:
- df732b5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter09/network.xml
rdf732b5 rc34b4fb 32 32 characteristics such as enp2s1. If you are not sure what your interface 33 33 name is, you can always run <command>ip link</command> or <command>ls 34 /sys/class/net</command> after you have booted your system. 34 /sys/class/net</command> after you have booted your system. 35 35 </para></note> 36 36 … … 158 158 <primary sortas="e-/etc/hosts">/etc/hosts</primary> 159 159 </indexterm> 160 160 161 161 <indexterm zone="ch-config-hosts"> 162 162 <primary sortas="d-localnet">localnet</primary> 163 163 <secondary>/etc/hosts</secondary> 164 164 </indexterm> 165 165 166 166 <indexterm zone="ch-config-hosts"> 167 167 <primary sortas="d-network">network</primary> 168 168 <secondary>/etc/hosts</secondary> 169 169 </indexterm> 170 170 171 171 <para>Decide on the IP address, fully-qualified domain name (FQDN), and 172 172 possible aliases for use in the <filename>/etc/hosts</filename> file. The 173 173 syntax is:</para> 174 174 175 175 <screen><literal>IP_address myhost.example.org aliases</literal></screen> 176 176 … … 187 187 <para>x can be any number in the range 16-31. y can be any number in the 188 188 range 0-255.</para> 189 189 190 190 <para>A valid private IP address could be 192.168.1.1. A valid FQDN for 191 191 this IP could be lfs.example.org.</para> 192 192 193 193 <para>Even if not using a network card, a valid FQDN is still required. 194 194 This is necessary for certain programs to operate correctly.</para> 195 195 196 196 <para>Create the <filename>/etc/hosts</filename> file by running:</para> 197 197 … … 210 210 211 211 <para>The <replaceable><192.168.1.1></replaceable>, 212 <replaceable><FQDN></replaceable>, and 212 <replaceable><FQDN></replaceable>, and 213 213 <replaceable><HOSTNAME></replaceable> values need to be 214 214 changed for specific uses or requirements (if assigned an IP address by a
Note:
See TracChangeset
for help on using the changeset viewer.