I'm trying to get SNTP on my Win CE 6.0 device to work as a client-
only update, as the device will be deployed in a remote situation and
must be able to keep its time correct.
I can see that the SNTP service is running when I do a SERVICES LIST
command. However, the device's clock is never updated.
The following are the registry entries that I have, I wonder if anyone
on here can tell me what I may be doing wrong?
AutoUpdate REG_DWORD 1
Dll REG_SZ timesvc.dll
Index REG_DWORD 0
Keep REG_DWORD 1
multicast REG_MULTI_SZ 224.0.1.1 ff05::101
multicastperiod REG_DWORD 3600000
Order REG_DWORD 153
Prefix REG_SZ NTP
recoveryrefresh REG_DWORD 100000
refresh REG_DWORD 180000
ServerRole REG_DWORD 0
threshold REG_DWORD 864000
trustlocalclock REG_DWORD 0
server REG_SZ time.chu.nrc.ca
ClientOnly REG_DWORD 1
Refresh -- Minimum value is 300000 (5 minutes). 180000 won't do it.
RecoveryRefresh -- Same minimum as Refresh.
Servers -- I think that this value should be a REG_MULTISZ, not a simple
string. It might work as-is, but, if not, you don't get much feedback.
At a guess, I'd say that the minimum value error is what's causing your
problem.
Paul T.
<ajen...@gmail.com> wrote in message
news:79846c91-1c82-410f...@l43g2000hsh.googlegroups.com...
I will rebuild with the minimum settings that you have provided, thank
you. Hopefully that will resolve the issue.
BTW, I am using the documentation at http://msdn.microsoft.com/en-us/library/aa924011.aspx
which states, re: the server entry;
Server
Specifies the domain name of the SNTP server. If the name of one
server is specified, this value is type REG_SZ. If a list of servers
is specified, this value is type REG_MULTI_SZ. If no name is provided,
server-only operation will be assumed.
Andrew
On Sep 15, 1:27 pm, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
no instrument no spam DOT com> wrote:
> The default SNTP registry doesn't turn on actually updating the clock, at
> least in CE5. In any case, here's what I see wrong with what you have
> there, notifying you up-front that I only do this in CE5, not CE6, at this
> point:
>
> Refresh -- Minimum value is 300000 (5 minutes). 180000 won't do it.
> RecoveryRefresh -- Same minimum as Refresh.
> Servers -- I think that this value should be a REG_MULTISZ, not a simple
> string. It might work as-is, but, if not, you don't get much feedback.
>
> At a guess, I'd say that the minimum value error is what's causing your
> problem.
>
> Paul T.
>
> <ajenni...@gmail.com> wrote in message
Good luck!
Paul T.
<ajen...@gmail.com> wrote in message
news:37e7e0ca-47a0-40a2...@d45g2000hsc.googlegroups.com...
I built the image with your suggested settings - still no joy...
What would be a possible path for further research into making this
work? Do I need to try to understand the original source code for the
O/S and SNTP server?
Andrew
On Sep 16, 12:20 pm, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
no instrument no spam DOT com> wrote:
> As long as the coder read that before writing the code!
>
> Good luck!
> Paul T.
>
> <ajenni...@gmail.com> wrote in message
>
> news:37e7e0ca-47a0-40a2...@d45g2000hsc.googlegroups.com...
> Thanks for your attention to my question, Paul!
>
> I will rebuild with the minimum settings that you have provided, thank
> you. Hopefully that will resolve the issue.
>
> BTW, I am using the documentation athttp://msdn.microsoft.com/en-us/library/aa924011.aspx
> > > ClientOnly REG_DWORD 1- Hide quoted text -
>
> - Show quoted text -
Paul T.
<ajen...@gmail.com> wrote in message
news:8e5a5830-54d3-485f...@25g2000hsx.googlegroups.com...