On Thu, Nov 03, 2005 at 07:10:48PM +0000, Neil Bothwick wrote:
> On Thu, 3 Nov 2005 13:43:44 -0500, Willie Wong wrote:
> 
> > Maybe something is misconfigured on my box, but I get 
> > 
> > [01:41 PM]wwong ~ $ hostname -i
> > 127.0.0.1 
> > 
> > which is probably not very helpful =p
> > 
> > (of course, this is on a static IP on a LAN, so it might be slightly
> > different from what the OP's situation. I am just posting to prove a
> > point)
> 
> I also have a static IP on a LAN. What do you have in /etc/hosts
> and /etc/conf.d/hostname?
> 

Ah! that would explain it. So hostname -i does a name lookup? In
/etc/hosts I define all references to the local machine to 127.0.0.1

In hindsight, this behaviour does make sense. 

W
-- 
Tubby or not tubby, fat is the question!
Sortir en Pantoufles: up 22:35
-- 
gentoo-user@gentoo.org mailing list

Reply via email to