Changeset 2a2b228


Ignore:
Timestamp:
09/25/2024 05:12:54 PM (2 hours ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
trunk
Children:
d77b09e
Parents:
2fe2d58
git-author:
Xi Ruoyao <xry111@…> (09/25/2024 05:01:15 PM)
git-committer:
Xi Ruoyao <xry111@…> (09/25/2024 05:12:54 PM)
Message:

network: Fix the /etc/hosts line for local machine

Since r10520-gcba2d4e6 the IP address of the local machine is assumed
192.168.1.2 (instead of 192.168.1.1) but the hosts line isn't updated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter09/network.xml

    r2fe2d58 r2a2b228  
    199199     range 0-255.</para>
    200200
    201      <para>A valid private IP address could be 192.168.1.1.</para>
     201     <para>A valid private IP address could be 192.168.1.2.</para>
    202202
    203203     <para>If the computer is to be visible to the Internet, a valid FQDN
     
    219219127.0.0.1 localhost.localdomain localhost
    220220127.0.1.1 <replaceable>&lt;FQDN&gt;</replaceable> <replaceable>&lt;HOSTNAME&gt;</replaceable>
    221 <replaceable>&lt;192.168.1.1&gt;</replaceable> <replaceable>&lt;FQDN&gt;</replaceable> <replaceable>&lt;HOSTNAME&gt;</replaceable> <replaceable>[alias1] [alias2 ...]</replaceable>
     221<replaceable>&lt;192.168.1.2&gt;</replaceable> <replaceable>&lt;FQDN&gt;</replaceable> <replaceable>&lt;HOSTNAME&gt;</replaceable> <replaceable>[alias1] [alias2 ...]</replaceable>
    222222::1       localhost ip6-localhost ip6-loopback
    223223ff02::1   ip6-allnodes
     
    227227EOF</userinput></screen>
    228228
    229      <para>The <replaceable>&lt;192.168.1.1&gt;</replaceable>,
     229     <para>The <replaceable>&lt;192.168.1.2&gt;</replaceable>,
    230230     <replaceable>&lt;FQDN&gt;</replaceable>, and
    231231     <replaceable>&lt;HOSTNAME&gt;</replaceable> values need to be
Note: See TracChangeset for help on using the changeset viewer.