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

From: Alexander Dalloz (alexander.dalloz_at_uni-bielefeld.de)
Date: 01/30/04

  • Next message: Ralph Angenendt: "Re: hundreds of attachments"
    To: fedora-list@redhat.com
    Date: Fri, 30 Jan 2004 17:16:03 +0100
    
    

    Am Fr, den 30.01.2004 schrieb Robert P. J. Day um 17:03:
    > 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

    I may misunderstand this discussion, but ntpd is a 'daemon' while
    ntpdate is a one time call and run tool.

    ntpd is called to run using /etc/init.d/ntpd and it's configuration file
    is /etc/ntp.conf. ntpd takes some time to get in sync with other time
    servers you configured to use.

    Alexander

    -- 
    Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
    Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2149.nptl
    Sirendipity 17:13:27 up 2:28, 3 users, 0.22, 0.11, 0.13 
                       [ Γνωθι σ'αυτον - gnothi seauton ]
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Ralph Angenendt: "Re: hundreds of attachments"

    Relevant Pages

    • Re: Finding out where ntpd gets its ntp.conf file
      ... For all you know they rewrote ntp to only use their server. ... The only sure way is to recompile ntpd from the original source yourself ... For example, if ntpd runs in a chroot jail, even if it uses the default ... one config file at the default location and another config file below the ...
      (comp.protocols.time.ntp)
    • Re: NTP wont update
      ... > I am trying to get ntp running on a couple of Fedora Core 3 machines. ... > It seems that ntpd is running, however when I stop the ntpd service and ... What does your /etc/ntp.conf config file look like? ...
      (Fedora)
    • Re: ntpd problems
      ... Shelby Westman writes: ... > Then ntpd does not synchronize the time. ... > than host names in the config file. ... You're probably running into problems with your restrict clause, ...
      (freebsd-questions)
    • Re: 5.3-R: /etc/ntp.conf doesnt exist
      ... I use a lot ntpd on a Macintosh SE/30 running ... > NetBSD and I've made confusion with it. ... NetBSD's config file appears to be well thought out and committing it or ...
      (freebsd-current)