Hardy as a NTP Server for Lan

Markus Schönhaber ubuntu-users at list-post.mks-mail.de
Thu Jul 10 20:27:17 UTC 2008


chris wrote:

> I have a pretty generic ntp.conf file (see below)   The problem is
> that Windows clients give the following error.
> 
> "An error occurred while Windows was synchronizing with 10.3.7.54.
> the time sample was rejected because: The peer's stratum is less than
> the host's stratum."

Maybe your server isn't (yet) synchronized to the upstream server(s) you
chose?
You could, on your Ubuntu machine, do something like

$ ntpdate -q localhost
server 127.0.0.1, stratum 3, offset -0.000004, delay 0.02563
10 Jul 22:18:04 ntpdate[15761]: adjust time server 127.0.0.1 offset
-0.000004 sec

If the stratum shown is 16, your server hasn't synchronized yet.
$ ntpdate -q [your upstream server]
should tell you, if your machine is able to query the server it is
supposed to synchronize with at all.

[..]

> # Allow local lans to sync
> restrict 10.0.0.0 mask 255.0.0.0 nomodify notrap

This looks like an addition to the default ntp.conf you made. Do things
work if you comment it?

Regards
  mks





More information about the ubuntu-users mailing list