On Thu, 2006-05-11 at 23:07 +1200, Christopher Sawtell wrote:
> On Thursday 11 May 2006 22:58, Andrew Packer wrote:
> >         /etc/hosts looks like this:
> >        
> >         ABC.DEF.1.3     marian  
> >         ABC.DEF.1.2     andrew  
> >         127.0.0.1       logcabin        localhost
> >        
> >         (Sorry to be coy with the ABC.DEF, but I don't know whether it
> >         is
> >         considered bad form to post one's internal network addresses on
> >         a public forum.)  Logcabin's non-loopback address is
> >         ABC.DEF.1.4.  
> 
> Could you tell us what happens if you change /etc/hosts to:-
> 
> 127.0.0.1       localhost
> ABC.DEF.1.2     andrew  
> ABC.DEF.1.3     marian  
> ABC.DEF.1.4   logcabin        
> 
> I think that that will fix your problem.
> 

Sorry, I left something out that I had put into my original message
(that the list server bounced because I sent it from the wrong account).
I had actually done almost what you've suggested: given the name
logcabin and the alias localhost to both 127.0.0.1 and ABC.DEF.1.4.  Or
I had tried.  Each time I added the 127.0.0.1 line, the ABC.DEF.1.4 line
disappeared, and vice-versa.  

I just gave it another stab, calling 127.0.0.1 localhost and ABC.DEF.1.4
logcabin, but the Gnome Network Administration Tool
(system-config-network) wouldn't retain more than three lines.  I
hand-edited the /etc/hosts file with 127.0.0.1 as localhost and
ABC.DEF.1.4 as logcabin, rebooted: same hangup.  I changed the 127.0.0.1
line to read 127.0.0.1  localhost.localdomain  localhost, rebooted: same
hangup.  I've made sure the 127.0.0.1 line is the first line
in /etc/hosts.

I note that what the Gnome Network Admin. Tool reports in its Hosts tab
doesn't agree with /etc/hosts (and /etc/hosts is not being changed by
the system), so from where is the GNAT getting its information?  And why
should a dodgy GUI tool matter anyway?  

(At this point my brain is threatening industrial action, so I'll look
at the machine again in the morning.)  Thank you for the assistance. 

=====Andrew

Reply via email to