On Fri, 2006-05-26 at 11:44 +0200, Mauro Arnoldi wrote:
> Hi to everyone!
> My problem is simple but I think quite strange:
> 
> I have a home lan network, both wired and wireless, and with my laptop I use 
> one of those alternatively...
> When I use the wired connection I have a static IP address, and my /etc/hosts 
> looks like:
> 
> 127.0.0.1 localhost
> 192.168.1.11 myhostname myhostname.mydomainname.it

Simple solution:

127.0.0.1 myhostname.mydomainname.it myhostname localhost

The problem is that some programs try to look up their own name.  Since
it isn't going to be in DNS, and it isn't in /etc/hosts, it causes the
program to kinda sit and spin waiting for a response before it
continues.  If you ever use your machine on DHCP, this is the best
solution.

After all, if you're ever connecting to your own hostname, you'll be
using loopback anyway, right?

-- 
Chris Gianelloni
Release Engineering - Strategic Lead
x86 Architecture Team
Games - Developer
Gentoo Linux

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to