[ntp:questions] Meinberg - GPS170PCI - ntpdate for step sync?

Thierry MARTIN thierry-martin at ifrance.com
Fri Jul 13 06:50:22 UTC 2007


> ntpq -gq -c /etc/ntp.boot

That's the way I did (see my previous post).

The problem is I have to support the case where I have no internet 
So GPS is the only time source and it takes more than one minute for 
'ntpq -gq -c /etc/ntp.boot' to complete.
That is too long for a service startup script.

Also Martin Burnicki (from Meinberg) recommanded to use the mbgsetsystime 
utility which is much faster.

/ Thierry

"Steve Kostecke" <kostecke at ntp.isc.org> a écrit dans le message de news: 
slrnf9cg0s.cip.kostecke at stasis.kostecke.net...
> On 2007-07-12, Thierry MARTIN <thierry-martin at ifrance.com> wrote:
>> I tried and run "ntpd -gq"; my "new" problem is that it takes more
>> than 1 mn to complete. Considering this operation takes place when ntp
>> service is started, this is too long.
> Create an /etc/ntp.boot file which contains a selection of trusted time
> servers which wil be used to initially set your clock.
> Then change your ntpd init script to use the alternate configuration
> file for the initial time setting:
> ntpq -gq -c /etc/ntp.boot
> -- 
> Steve Kostecke <kostecke at ntp.org>
> NTP Public Services Project - http://support.ntp.org/ 

More information about the questions mailing list