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

Re: starting X hangs on network timeout (hosts file ignored)



On Sun, Jul 11, 2004 at 08:33:15PM +0100, Steven Satelle wrote:
> On Sun, 11 Jul 2004 20:18:19 +0100, Thomas Adam wrote:
> 
> > --- Micha Feigin <michf@post.tau.ac.il> wrote: >
> > 
> >> I'm not sure yet on what package to report this bug, but was wondering
> >> if anyone else experiences it too.
> > 
> > Have a look at the bugpage for 'xserver-xfree86'. If it isn't listed
> > there, then maybe consider filing one.
> 
> no, its caused by the machine trying to resolve its name over eth0 AFAIR.
> If the network is up. If you've configured the network, you've set a
> hostname, so it is trying to resolvethat. add the hostname to /etc/hosts
> and you shouldnt have any further problems. at least AFAIR
>

Ping uses the hosts file but host seems to ignore it. So if the
nameserver is not reachable then ping <hostname> works but
host <hostname> returns
192.168.0.1 connect: Network is unreachable
Nameserver not reachable
litshi.luna.local A record not found, try again
my /etc/hosts has the following lines:
127.0.0.1       localhost
127.0.0.1       litshi.luna.local       litshi
(I know pointing <hostname> to 127.0.0.1 is not advised, but its a
laptop and has several possible IPs).

Any ideas?

> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
>  
>  +++++++++++++++++++++++++++++++++++++++++++
>  This Mail Was Scanned By Mail-seCure System
>  at the Tel-Aviv University CC.
> 



Reply to: