Changeset 4234aea6
- Timestamp:
- 06/12/2020 09:30:19 PM (3 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, arm, bdubbs/gcc13, ml-11.0, multilib, s6-init, trunk, xry111/arm64, xry111/clfs-ng, xry111/git-transition, xry111/glibc-2.34, xry111/glibc-2.37, xry111/kcfg-revise, xry111/lfs-next, xry111/pip3, xry111/queue-11.3, xry111/rust-wip-20221008, xry111/tester-nohack, xry111/usr-move
- Children:
- 37b5ac1
- Parents:
- 9e7475a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter09/networkd.xml
r9e7475a r4234aea6 289 289 This is necessary for certain programs, such as MTAs, to operate properly.</para> 290 290 291 <!-- 291 292 <para>Create the /etc/hosts file using the following command:</para> 292 293 … … 302 303 # End /etc/hosts</literal> 303 304 EOF</userinput></screen> 304 305 <para>The ::1 entry is the IPv6 counterpart of 127.0.0.1 and represents 306 the IPv6 loopback interface. 127.0.1.1 is a loopback entry reserved 307 specifically for the FQDN.</para> 308 309 <!-- 310 <para>If using a static address, create the <filename>/etc/hosts</filename> 311 file by running this command instead:</para> 305 --> 306 307 <para>Create the <filename>/etc/hosts</filename> file using the following 308 command:</para> 312 309 313 310 <screen><userinput>cat > /etc/hosts << "EOF" … … 329 326 changed for specific uses or requirements (if assigned an IP address by a 330 327 network/system administrator and the machine will be connected to an 331 existing network). The optional alias name(s) can be omitted.</para> 332 --> 328 existing network). The optional alias name(s) can be omitted, and the 329 <replaceable><192.168.0.2</replaceable> line can be omitted if you 330 are using a connection configured with DHCP or IPv6 Autoconfiguration.</para> 331 332 <para>The ::1 entry is the IPv6 counterpart of 127.0.0.1 and represents 333 the IPv6 loopback interface. 127.0.1.1 is a loopback entry reserved 334 specifically for the FQDN.</para> 335 333 336 </sect2> 334 337
Note:
See TracChangeset
for help on using the changeset viewer.