[ntp:questions] Linux client ntp
Steve Kostecke
kostecke at ntp.isc.org
Fri Apr 13 13:21:58 UTC 2007
On 2007-04-13, RICCARDO <castellani.riccardo at tiscali.it> wrote:
> I want to use ntpd -qg, it could be right this ntp.conf for my Linux
> client ?
> restrict default ignore
> restrict 127.0.0.1
> restrict server A
> restrict server B
You could simplify this greatly by replacing all of those restrict lines
with this:
restrict default nomodify nopeer notrap noquery
Please see http://ntp.isc.org/Support/AccessRestrictions
> server A
> server B
When you only have two clocks there is no way of knowing which is
correct. Either use 1 or 3 or more.
> driftfile /var/lib/ntp/drift
> broadcastdelay 0.008
>
> Can i delete "broadcastdelay"
You don't need the broadcast delay unless your ntpd is a broadcast
client AND it is unable to calculate the broadcast delay during the
unicast initialization phase of the broadcast association.
> and restrict 127.0.0.1 ?
No.
--
Steve Kostecke <kostecke at ntp.isc.org>
NTP Public Services Project - http://ntp.isc.org/
More information about the questions
mailing list