Re: changing 'hosts' to get my machine name ?

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

 



William Case wrote:
Hi;

This is an old stupid question but I am stuck nonetheless.  I have
googled for several different ways but none work.

I have changed my /etc/hosts file to:
 127.0.0.1 	CASE localhost.localdomain localhost

This is the same as from my F9 /etc backup.

CASE is the name of my machine.  None of my programs seems to recognize
it except 'hostname' -s or -f.  The same problem with
localhost.localdomain.  I have changed it manually before in earlier
Fedora versions but now nothing seems to work.  If I remember correctly
there where two files that needed changing.

I just installed F10 and must have missed Anaconda asking for my machine
name.

Your hostname is set in /etc/sysconfig/network. /etc/hosts is only for name resolution, although you should prbably set your hostname there as well. You should use lower case for the hostname, some apps don't grok mixed or upper case.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux