how to update system time?

Geert Hendrickx geert.hendrickx at ua.ac.be
Fri Sep 10 14:32:07 PDT 2004


On Fri, Sep 10, 2004 at 08:00:52PM +0200, Matthias F. Brandstetter wrote:
> ---------- quoting Shantanoo ----------
> > Is the computer properly networked? can it ping yahoo.com?
> 
> Yeah it is properly networked. I am connected via SSH now.
> And of course I can ping yahoo.com and other sites.
> 
> > the computer is not able to reach the ntp server. try pool.ntp.org
> 
> The computer _is_ able to reach the ntp server.
> See this example:
> 
> [ 17:34 mx2 at ebox ~ ] date
> Fri Sep 10 17:35:00 CEST 2004
> [ 17:35 mx2 at ebox ~ ] rdate time.fu-berlin.de
> Fri Sep 10 19:57:55 2004
> [ 17:35 mx2 at ebox ~ ] rdate -s time.fu-berlin.de
> [ 17:35 mx2 at ebox ~ ] date
> Fri Sep 10 17:35:27 CEST 2004
> [ 17:35 mx2 at ebox ~ ] ntpdate time.fu-berlin.de
> 10 Sep 17:35:42 ntpdate[8708]: no server suitable for synchronization found
> [ 17:35 mx2 at ebox ~ ]
> 
> I really wonder why system time isn't set, because as said I use the rdate 
> tool on another FreeBSD machine and the same time server w/o any 
> problems...
> 
> Any other ideas?
> Greetings, Matthias

Note that rdate and ntpdate don't use the same protocol.  rdate uses RFC
868, whereas ntpdate uses RFC 2030 ("NTP").  So maybe this server
doesn't offer both?  

GH


More information about the freebsd-questions mailing list