Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Mar 2005 22:50:28 -0600
From:      darren <freebsd@usmstudent.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: ssh password delay  -- SOLVED
Message-ID:  <423FA414.2050409@usmstudent.com>
In-Reply-To: <423EEE60.2050205@dial.pipex.com>
References:  <423E116D.50805@usmstudent.com> <b91c3de00503210635312b6a8e@mail.gmail.com> <423EEE60.2050205@dial.pipex.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks to all.

I seemed to have resolved the problem by setting my /etc/host.conf file
to look like:

order hosts,bind
multi on

And, of course, I have the correct IP's were in the /etc/hosts file.  My
laptop gets two different IPs depending on whether I go through the
wireless or not.

My host.conf already looked like the one below, but it wasn't working.

Thanks again.  I am so glad to get this problem resolved.

darren

Alex Zbyslaw wrote:
> Gary Smithe wrote:
> 
>> If that is your resolv.conf, then that explains some things.  Your box
>> is looking at the ISP for name resolution and the ISP has no idea (nor
>> could care) what your internal LAN address space is.  Change the
>> resolv.conf to look at itself (127.0.0.1) and setup BIND with some
>> simple DNS and RDNS records.  You could use pretty much any box on
>> your network for DNS, but the key is that it has to know about the
>> internal space.
>>  
>>
> Or fix your /etc/host.conf to lookup in files first and then use DNS, 
> then put your local network in /etc/hosts.  Much simpler for a small 
> network.
> 
> E.g. /etc/host.conf
> 
> # First try the /etc/hosts file
> hosts
> # Now try the nameserver next.
> bind
> 
> 
> And /etc/hosts
> 
> 192.168.0.1   myhost
> 
> Then leave resolv.conf alone.  It will be used for anything not in your 
> local hosts file.
> 
> --Alex
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"
> 
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?423FA414.2050409>