Re: hostname doesn't stick

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Tim" <ignored_mailbox@xxxxxxxxxxxx>
Tim:
127.0.0.1  localhost.localdomain  localhost

For some reason, Fedora likes to put the machine name into the 127.0.0.1
line, sometimes, despite all the problems that it can cause.

jdow:
Did you do something silly like modify /etc/sysconfig/network? What
does it currently say? It should say:
NETWORKING=yes
HOSTNAME=localhost.localdomain

If not you did something to modify it and you have localhost being
renamed. Otherwise you may have nasty little spirits camping out
digitally on your machine.

Nup, nothing like that.  I've seen quite a few machines that have the
machine name inserted there, by the routines that configure the network
settings for you on a freshly installed machine.

Usually, the first time around, your machine is localhost.localdomain,
but sometimes if you've entered a hostname, even if you have a NIC, the
hostname is inserted into the local loopback address details.  Usually,
*before* the localhost.localdomain details (of all the worst places to
do so).

Given what the hosts file is for the ORDER does not matter. But the
127.0.0.1 line MUST be present.

The hosts file is merely used for looking up names on the local network
if you do not have the local network defined in an active DNS server.

(With 40 odd (and some even {O,o}) gadgets and computers on the network
here local DNS AND DHCP really makes it happen.)

{^_^}

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux