how to update system time?

Dan Nelson dnelson at allantgroup.com
Fri Sep 10 12:15:39 PDT 2004


In the last episode (Sep 10), Lowell Gilbert said:
> "Matthias F. Brandstetter" <haimat at lame.at> writes:
> > 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 ~ ]
> 
> time.fu-berlin.de is not an ntp server, so that's a different problem
> than rdate.

Actually it is:

$ ntptrace time.fu-berlin.de
130.133.1.10: stratum 1, offset 0.011233, synch distance 0.00153, refid 'GPS'

Matthias, try running "ntpdate -d time.fu-berlin.de", which won't try
to set the local clock but will print out some debugging info that
might tell you why it coudln't fetch anything from the server.  Maybe
you have a firewall blocking incoming port 123 UDP traffic?

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list