mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-18 04:57:38 +00:00
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.
This commit is contained in:
parent
2fe2d58620
commit
2a2b22823c
@ -198,7 +198,7 @@ EOF</userinput></screen>
|
||||
<para>x can be any number in the range 16-31. y can be any number in the
|
||||
range 0-255.</para>
|
||||
|
||||
<para>A valid private IP address could be 192.168.1.1.</para>
|
||||
<para>A valid private IP address could be 192.168.1.2.</para>
|
||||
|
||||
<para>If the computer is to be visible to the Internet, a valid FQDN
|
||||
can be the domain name itself, or a string resulted by concatenating a
|
||||
@ -218,7 +218,7 @@ EOF</userinput></screen>
|
||||
|
||||
127.0.0.1 localhost.localdomain localhost
|
||||
127.0.1.1 <replaceable><FQDN></replaceable> <replaceable><HOSTNAME></replaceable>
|
||||
<replaceable><192.168.1.1></replaceable> <replaceable><FQDN></replaceable> <replaceable><HOSTNAME></replaceable> <replaceable>[alias1] [alias2 ...]</replaceable>
|
||||
<replaceable><192.168.1.2></replaceable> <replaceable><FQDN></replaceable> <replaceable><HOSTNAME></replaceable> <replaceable>[alias1] [alias2 ...]</replaceable>
|
||||
::1 localhost ip6-localhost ip6-loopback
|
||||
ff02::1 ip6-allnodes
|
||||
ff02::2 ip6-allrouters
|
||||
@ -226,7 +226,7 @@ ff02::2 ip6-allrouters
|
||||
# End /etc/hosts</literal>
|
||||
EOF</userinput></screen>
|
||||
|
||||
<para>The <replaceable><192.168.1.1></replaceable>,
|
||||
<para>The <replaceable><192.168.1.2></replaceable>,
|
||||
<replaceable><FQDN></replaceable>, and
|
||||
<replaceable><HOSTNAME></replaceable> values need to be
|
||||
changed for specific uses or requirements (if assigned an IP address by a
|
||||
|
Loading…
Reference in New Issue
Block a user