Re: Time sync

From: Olaf Hoyer (ohoyer_at_gaff.hhhr.ision.net)
Date: 02/26/04

  • Next message: John Murphy: "Re: Time sync"
    Date: Thu, 26 Feb 2004 13:29:54 +0100 (CET)
    To: DerAlSem <DerAlSem@inbox.ru>
    
    

    On Thu, 26 Feb 2004, DerAlSem wrote:

    > Hello freebsd-newbies,
    >
    > I've read man timed and timedc, but still can't get, how it works...
    > Just want to sync current server time with some internet atomic
    > clock server. Where can i read 'bout such a program?

    Hi!

    man ntpd and ntp.conf

    there also is a section in the freebsd handbook, describing how to setup
    a ntp server.

    This is what you basically want, and what is in widespread use.

    Its simple, even I managed it within a few minutes.
    The only thing is to respect some niceness to the operators of public
    ntp servers, and only sync from stratum 2 or higher numbers...

    Or, if you only have a local client, that does not want to distribute
    his time to other servers, you simply need to type as root:

    ntpdate ntp.domain.tld

    thats all, and can be run via cron

    HTH
    Olaf

    -- 
    Olaf Hoyer        ohoyer@gaff.hhhr.ision.net
    Fuerchterliche Erlebniss geben zu raten,
    ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
    (Nietzsche, Jenseits von Gut und Boese)
    _______________________________________________
    freebsd-newbies@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"
    

  • Next message: John Murphy: "Re: Time sync"

    Relevant Pages

    • Re: Server Sync and OMA Wont work.
      ... I currently have 5 phones that sync with exchange. ... A stand alone PC is set next to the server, joined to ... Microsoft CSS Online Newsgroup Support ... I need log files for further analyze. ...
      (microsoft.public.windows.server.sbs)
    • Re: .1 Microsecond Synchronization
      ... In the latter example, which actually make some sense, you can indeed do this at the us level using a good OS and a GPS-based stratum 0 reference clock directly connected to each server. ... You _might_ be able to do it with windows by using a dedicated FreeBSD machine as your GPS-hosting NTP server, and then use the network to query the server on every timestamp, i.e. use the ntp server time instead of the application server time for all log file time stamps. ... This would allow you to write the T2 ntp timestamp to the log file, which means that the actual ordering of events would be based on when the ntp server received the time query, not on whatever the local server time happened to be when the application asked for that timestamp. ...
      (comp.protocols.time.ntp)
    • Re: NTP over several firewalls
      ... server --> internal ntp server. ... So DMZ hosts to DMZ ntp and so on. ... : exception: Routers on the internet will sync to the DMZ NTP server too. ...
      (comp.security.firewalls)
    • RE: ActiveSync, Smartphone, and Small Business Server
      ... Then I attached the smartphone and set up a new ... I got a sync error (for the server part of the ... But in the example log files, the sync command from the ...
      (microsoft.public.windows.server.sbs)
    • Re: Peer to Peer
      ... My authoritative server would be my ciso router that does sync with stratum ... "problems with w32time" followed the instructions and it seemed to work. ... Configure the machine to sync with an outside time source: ... w32tm -s to run periodically if the time service does not function on peer ...
      (comp.protocols.time.ntp)