x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

Automatic Time/Date on J720 /Devuan/RasP-Hybrid

joval Page Icon Posted 2021-03-17 5:34 PM
#
Avatar image of joval
Subscribers
H/PC Sensei

Posts:
992
Location:
Northern California
Status:
IMO, it's a bit of a bear setting Time/Date on J720 in WinCe on restore,etc... but even more so if J720 is running Devuan.

That latter chore easily disappears with the J720 running Devuan with RasPi Hybrid setup (as discussed in multiple threads elsewhere)... by installing the debian ntp app (in root mode using Bash terminal):

Apt-get install ntp

then set your time zone with:

dpkg-reconfigure tzdata

(Assuming I haven't forgotten something)That's it! On reboot into Devuan with ethernet or wifi internet connection, you will appreciate/enjoy automatic Time/Date updates!






Edited by joval 2021-03-17 5:43 PM
 Top of the page
C:Amie Page Icon Posted 2021-03-17 6:01 PM
#
Avatar image of C:Amie
Administrator
H/PC Oracle

Posts:
17,951
Location:
United Kingdom
Status:
You can use vxUtil on CE to do the same; though without automation.

If you want CE to do it automatically, have timesvc.dll on the device and have a SNTP server, you can:
https://docs.microsoft.com/en-us/previous-versions/windows/embedded/...(v=msdn.10)?redirectedfrom=MSDN

e.g.
[HKEY_LOCAL_MACHINE\Services\TIMESVC] 
   "Context"=dword:0 
"Dll"="timesvc.dll"
"Order"=dword:99
"Keep"=dword:1
"Prefix"="NTP"
"Index"=dword:0

[HKEY_LOCAL_MACHINE\Services\TIMESVC]
"server"=multi_sz:"tock.usno.navy.mil","time.windows.com"
"AutoUpdate"=dword:1
"ServerRole"=dword:1
"refresh"=dword:48190800
"recoveryrefresh"=dword:5265C00
"threshold"=dword:5265C00
"trustlocalclock"=dword:0
 Top of the page
joval Page Icon Posted 2021-03-17 10:30 PM
#
Avatar image of joval
Subscribers
H/PC Sensei

Posts:
992
Location:
Northern California
Status:
Quote
C:Amie - 2021-03-17 10:01 AM

You can use vxUtil on CE to do the same; though without automation.

If you want CE to do it automatically, have timesvc.dll on the device and have a SNTP server, you can:
https://docs.microsoft.com/en-us/previous-versions/windows/embedded/...(v=msdn.10)?redirectedfrom=MSDN


Thanks! I meant to ask if there was a similar CE option. Great, so glad to know, I will give it a try!!

Also, the refresh limit on the J720 Display would be good to know, too.
 Top of the page
Jump to forum:
Seconds to generate: 0.125 - Cached queries : 60 - Executed queries : 9