Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2012 08:41:45 -0500
From:      Dan Daley <dddaley@yahoo.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: ntpd couldn't resolve host name on system boot
Message-ID:  <4FB7A319.8030202@yahoo.com>
In-Reply-To: <CA%2BnXktUqKRhqjTftTJ%2Bn0Qa_XM78tVZXEBQmtdmQM8Q9HMR=Rw@mail.gmail.com>
References:  <CA%2BnXktXsXshKgk15SVmWWvjd2HCnBnu1NEnmLsxDssaexFb0Jg@mail.gmail.com> <FDE31696-D612-4E41-8B91-A4D339009648@lists.zabbadoz.net> <CA%2BnXktUqKRhqjTftTJ%2Bn0Qa_XM78tVZXEBQmtdmQM8Q9HMR=Rw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

I haven't had a chance to read through this entire thread yet, but 
wanted to post this in case it helps someone.

ntpd was working fine for me for a while, and then I started getting 
this exact same error.  After a few weeks, I finally started 
troubleshooting and it turned out that I had, at some point, commented 
this out in my rc.conf

defaultrouter="192.168.1.1"

Everything else seemed to work fine (I use DHCP, so assume that it 
figured out the router from that).  Once I uncommented that line, ntpd 
started working again.  Maybe the netwait and/or dhcp sync would allow 
ntpd to work without having to specify a default router in rc.conf, but 
I haven't played with that yet.



On 05/18/2012 08:28, Matthew Doughty wrote:
> Hello Bjoern,
>
> It's still a problem for me.  Here is a list of my system information:
>
> Hostname freenas.local  FreeNAS Build FreeNAS-8.0.4-RELEASE-p1-x64 (11059)
> Platform AMD Athlon(tm) II X2 250 Processor  Memory 8144MB  System Time Fri
> May 18 09:07:22 2012  Uptime 9:07AM up 6 mins, 0 users  Load Average 0.00,
> 0.21, 0.16  OS Version FreeBSD 8.2-RELEASE-p6
> Are you refering to the OS version? 9.0 or 8.3?  Looks like I'm using 8.2.
>
> Best regards,
> Matthew
>
>
> On 17 May 2012 16:48, Bjoern A. Zeeb<bzeeb-lists@lists.zabbadoz.net>  wrote:
>
>> On 17. May 2012, at 15:03 , Matthew Doughty wrote:
>>
>>> Dear Jerermy,
>>>
>>> Whilst searching for a solution to a problem, I found your post:
>>>
>> http://lists.freebsd.org/pipermail/freebsd-stable/2011-October/064350.html
>>> Please could you explain how I can implement the netwait script to solve
>>> the problem?  I'm new to freenas/BSD but am willing to try working from
>> the
>>> Cmd line.
>> ntpd in head 9.0 and later and 8.3 and later should not exhibit that
>> problem
>> anymore as it was fixed.   Could you please tell me if that is not the
>> case?
>>
>> /bz
>>
>> --
>> Bjoern A. Zeeb                                 You have to have visions!
>>    It does not matter how good you are. It matters what good you do!
>>
>>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FB7A319.8030202>