Changeset 716db1f for chapter09/network.xml
- Timestamp:
- 09/20/2021 07:37:34 AM (3 years ago)
- Branches:
- multilib
- Children:
- 60870bc
- Parents:
- e680022 (diff), 7e62bbc (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter09/network.xml
re680022 r716db1f 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.