Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Windows CE 6.0 SNTP settings

2,948 views
Skip to first unread message

ajen...@gmail.com

unread,
Sep 15, 2008, 10:38:08 AM9/15/08
to
Hello All,

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

Paul G. Tobey [eMVP]

unread,
Sep 15, 2008, 12:27:22 PM9/15/08
to
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.

<ajen...@gmail.com> wrote in message
news:79846c91-1c82-410f...@l43g2000hsh.googlegroups.com...

ajen...@gmail.com

unread,
Sep 16, 2008, 9:57:29 AM9/16/08
to
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 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

Paul G. Tobey [eMVP]

unread,
Sep 16, 2008, 11:20:41 AM9/16/08
to
As long as the coder read that before writing the code!

Good luck!
Paul T.

<ajen...@gmail.com> wrote in message
news:37e7e0ca-47a0-40a2...@d45g2000hsc.googlegroups.com...

ajen...@gmail.com

unread,
Sep 19, 2008, 2:04:24 PM9/19/08
to
Hi Paul,

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 G. Tobey [eMVP]

unread,
Sep 22, 2008, 12:21:37 PM9/22/08
to
Build a DEBUG image and capture the serial debug messages coming from the
system when the service is trying to start. Also, read the source code
where the settings are retrieved from the registry and make sure that any
tests that the code makes on those settings for validity are passed by the
values that you set. Could be that you've set most of the settings that you
need to the right values, but a missing setting is causing the problem,
either because the default value is not compatible with the settings that
you do have or because it's required. As I said, I just have CE5 in front
of me, so there could be other settings required in CE6 or different limit
values.

Paul T.

<ajen...@gmail.com> wrote in message
news:8e5a5830-54d3-485f...@25g2000hsx.googlegroups.com...

0 new messages