Changing host name
Aaron Konstam
akonstam at sbcglobal.net
Tue Apr 6 19:45:56 UTC 2010
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 at sbcglobal.net
More information about the users
mailing list