NTP on a local network
Posted: Fri Nov 28, 2008 7:59 am
Hello,
I'd like to update my mod5282 module hour thanks to NTP but on a LAN. In this purpose I have activated the NTP server of my win XP (see http://www.pctools.com/guides/registry/detail/1117/). But it doesn't work, SetNTPTime keep returning 0.
Thanks to Mod5282FactoryDemo_APP I tried a ping between the mod5282 and my computer and my NB module can see my computer.
I've checked that the server is running and listening on UDP port 123.
I tried to use another NTPClient to retrieve the hour from the NTP server on my computer and it doesn't work because of a layer problem ("clock strata" problem) : it must access the server of a higher strata to be able to retrieve the time.
See http://en.wikipedia.org/wiki/Network_Time_Protocol for more details about clock strata.
So I would think that SetNTPTime fails because of a strata problem...?
I haven't found SetNTPTime source code, is it available in my Nburn install dir?
I'd like to update my mod5282 module hour thanks to NTP but on a LAN. In this purpose I have activated the NTP server of my win XP (see http://www.pctools.com/guides/registry/detail/1117/). But it doesn't work, SetNTPTime keep returning 0.
Thanks to Mod5282FactoryDemo_APP I tried a ping between the mod5282 and my computer and my NB module can see my computer.
I've checked that the server is running and listening on UDP port 123.
I tried to use another NTPClient to retrieve the hour from the NTP server on my computer and it doesn't work because of a layer problem ("clock strata" problem) : it must access the server of a higher strata to be able to retrieve the time.
See http://en.wikipedia.org/wiki/Network_Time_Protocol for more details about clock strata.
So I would think that SetNTPTime fails because of a strata problem...?
I haven't found SetNTPTime source code, is it available in my Nburn install dir?