how to use "ntpd" to emulate "ntpdate"?

Robert P. J. Day rpjday at mindspring.com
Fri Jan 30 16:03:35 UTC 2004


On Fri, 30 Jan 2004, Leonard den Ottolander wrote:

> Hi Robert,
> 
> > is there a way to have that sync take place immediately
> > using "ntpd", rather than waiting for the next sync operation, to 
> > more closely emulate the behaviour of ntpdate?
> > 
> >   or am i misreading the man page?
> 
> The man page also mentions the option iburst that needs to be specified
> for this to work. Never tested this, as my firewall is not that mobile
> :) . If that doesn't work you could try setting minpoll to a very low
> number.

but the "iburst" option, as useful as it might be, is meant to be
placed in the config file /etc/ntp.conf.  i was looking for an explicit
command-line option so that i could sync the system time *without*
having to mess with the config file first.

as deprecated as "ntpdate" might be, it at least had the virtue of
being self-contained.

rday





More information about the fedora-list mailing list