Date: Tue, 28 Jul 2009 01:08:26 +0200 From: Zbigniew Szalbot <z.szalbot@lcwords.com> To: freebsd-questions@freebsd.org Subject: Re: ntpd / time synchronization Message-ID: <4A6E336A.10906@lcwords.com> In-Reply-To: <9991CE39-1B24-479E-9EDF-AFA153EE3EDE@mac.com> References: <4A6E2DE2.4080606@lcwords.com> <9991CE39-1B24-479E-9EDF-AFA153EE3EDE@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Chuck Swiger pisze: > You can't readily combine a restrict statement with using random > timeservers from the NTP pool; you would need to list specific servers > and add blank restrict statements for each server you trust. What > you've configured is likely querying the 4 servers listed for time, but > not trusting their responses so your clock never find a server which it > is willing to sync to. > > Running "ntpq -p -c rv" would be informative.... Well, it seems you are right :) $ ntpq -p -c rv ntpq: read: Connection refused ntpq: read: Connection refused I took it from http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ntp.html [quote] If you want to deny all machines from accessing your NTP server, add the following line to /etc/ntp.conf: restrict default ignore [/quote] OK. So removing the restrictions should cause the time to be synced? Thank you for your patience and help! Zbigniew Szalbot www.slowo.pl www.fairtrade.net.pl
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A6E336A.10906>