Re: Changing host name

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

 



On Tue, 2010-04-06 at 16:20 +0100, Michael Thompson wrote: 
> On 06/04/2010 16:05, Patrick O'Callaghan wrote:
> > On Tue, 2010-04-06 at 15:51 +0100, Michael Thompson wrote:
> >   
> >> When I change the hostname on my fedora 12 box, from the installation
> >> default of localhost.localdomain, the network dies until it is reset
> >> back.
> >>     
> > "localhost" is assumed always to exist and to be bound to 127.0.0.1 (see
> > http://en.wikipedia.org/wiki/Localhost). You can of course give your
> > machine another name as well (just add additional names to the localhost
> > line in /etc/hosts), but you can't remove the meaning of localhost
> > without breaking things.
> >
> > poc
> >
> >   
> Yup, I knew that. I'm changing the network name, not localhost. The
> hosts file reads:
> 
> 127.0.0.1    localhost.localdomain   localhost    feddesk
> ::1     localhost.localdomain   localhost6    localhost    feddesk
> 
> Believe it or not, I'm not stupid.
> 
As far as I know ::1 is only valid as a local address for ipv6.
You need the ip_address of the machine in the hosts file.


--
=======================================================================
There Is No Cabal.
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

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

  Powered by Linux