Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Sep 2004 23:31:47 +0200
From:      Geert Hendrickx <geert.hendrickx@ua.ac.be>
To:        "Matthias F. Brandstetter" <haimat@lame.at>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to update system time?
Message-ID:  <20040910213147.GB28469@lori.mine.nu>
In-Reply-To: <200409102000.52343.haimat@lame.at>
References:  <200409101942.51769.haimat@lame.at> <2301747004091010514a3271d@mail.gmail.com> <200409102000.52343.haimat@lame.at>

next in thread | previous in thread | raw e-mail | index | archive | help
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@ebox ~ ] date
> Fri Sep 10 17:35:00 CEST 2004
> [ 17:35 mx2@ebox ~ ] rdate time.fu-berlin.de
> Fri Sep 10 19:57:55 2004
> [ 17:35 mx2@ebox ~ ] rdate -s time.fu-berlin.de
> [ 17:35 mx2@ebox ~ ] date
> Fri Sep 10 17:35:27 CEST 2004
> [ 17:35 mx2@ebox ~ ] ntpdate time.fu-berlin.de
> 10 Sep 17:35:42 ntpdate[8708]: no server suitable for synchronization found
> [ 17:35 mx2@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040910213147.GB28469>