telnet on local LAN question (progress?)
Paul Allen Newell
pnewell at cs.cmu.edu
Fri Aug 26 06:33:10 UTC 2011
On 8/22/2011 9:51 PM, Tim wrote:
>
> Have a look at a virgin hosts file, and it'll be like this:
>
> cat /etc/hosts
> # Do not remove the following line, or various programs
> # that require network functionality will fail.
> 127.0.0.1 localhost.localdomain localhost
> ::1 localhost6.localdomain6 localhost6
>
Tim:
I said I was ending the thread, but I went back through archives of my
installs and found a sufficiently different factory-install of
/etc/hosts that I wanted to post it for comment given your "bad idea to
bodge (sic?) anything else into those two lines. I checked 3 machines
and they are the same, so I submit only one:
+++
cat /etc/hosts
127.0.0.1 chalupa.localdomain chalupa localhost.localdomain
localhost localhost4
::1 chalupa.localdomain chalupa localhost6.localdomain6
localhost6
+++
This was snapped after I had installed F14 and before I edited hosts to
know about the other machines. No comment about "Do not remove" (that
vanished a couple of releases ago if my memory is correct) and it makes
sense that /etc/hosts would have both the machine name as defined during
the install and the "generic" localhost.
You might be using "virgin" to imply an earlier state than my snapshot,
but somehow that seems like you are looking at "pristine" before
knowledge of the machine is available?
There is a small chance that my notes during install might be wrong, but
once I figured out how to get network working under F9, I've been pretty
careful to capture original of all files related (hosts and ifcfg-eth0)
before modifying.
Cheers,
Paul
More information about the users
mailing list