Reolinkin kamerat ovat suljetussa verkossa, jossa on myös Windows 10 -läppäri. Kameroiden kellot käyvät omaa tahtiaan ja ne pitäisi saada kaikki samaan aikaan. En saa conffattua Windowsin NTP:tä siten, että kamerat hyväksyisivät tarjotun kellon ajan.
Olen tehnyt seuraavat kohda 1 - 3.
1)
Windowsin palveluista päälle Windows Time (W32Time).
2)
Registerista sijainnista Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer
Avaimen Enabled arvoksi 1.
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer /v Enabled /t REG_DWORD /d 1 /f
3)
w32tm /config /reliable:yes /syncfromflags:manual /LocalClockDispersion:0
w32tm /config /update
syncfromflags:<source>—Sets what sources the NTP client should synchronize from. <source> should be a comma-separated list of these keywords (not case sensitive):
MANUAL— Include peers from the manual peer list.
DOMHIER— Synchronize from a domain controller in the domain hierarchy.
NO—Do not synchronize from any server.
ALL—Synchronize from both manual and domain peers.
LocalClockDispersion:<seconds>—Configures the accuracy of the internal clock that W32time will assume when it cannot acquire time from its configured sources.
reliableYES|NO)—Set whether this computer is a reliable time source.
----------------------------------------------------------------------------
C:\Windows\system32>w32tm /query /configuration
Linuxi näyttää NTP-palvelimelle seuraavaa eikä kamerat synkkaa aikaa.
Galleonin testityökalu näyttää seuraavaa.
Olen tehnyt seuraavat kohda 1 - 3.
1)
Windowsin palveluista päälle Windows Time (W32Time).
2)
Registerista sijainnista Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer
Avaimen Enabled arvoksi 1.
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer /v Enabled /t REG_DWORD /d 1 /f
3)
w32tm /config /reliable:yes /syncfromflags:manual /LocalClockDispersion:0
w32tm /config /update
W32tm
learn.microsoft.com
syncfromflags:<source>—Sets what sources the NTP client should synchronize from. <source> should be a comma-separated list of these keywords (not case sensitive):
MANUAL— Include peers from the manual peer list.
DOMHIER— Synchronize from a domain controller in the domain hierarchy.
NO—Do not synchronize from any server.
ALL—Synchronize from both manual and domain peers.
LocalClockDispersion:<seconds>—Configures the accuracy of the internal clock that W32time will assume when it cannot acquire time from its configured sources.
reliableYES|NO)—Set whether this computer is a reliable time source.
----------------------------------------------------------------------------
C:\Windows\system32>w32tm /query /configuration
[Configuration]
EventLogFlags: 2 (Local)
AnnounceFlags: 5 (Local)
TimeJumpAuditOffset: 28800 (Local)
MinPollInterval: 10 (Local)
MaxPollInterval: 15 (Local)
MaxNegPhaseCorrection: 54000 (Local)
MaxPosPhaseCorrection: 54000 (Local)
MaxAllowedPhaseOffset: 1 (Local)
FrequencyCorrectRate: 4 (Local)
PollAdjustFactor: 5 (Local)
LargePhaseOffset: 50000000 (Local)
SpikeWatchPeriod: 900 (Local)
LocalClockDispersion: 0 (Local)
HoldPeriod: 5 (Local)
PhaseCorrectRate: 1 (Local)
UpdateInterval: 360000 (Local)
[TimeProviders]
NtpClient (Local)
DllName: C:\Windows\system32\w32time.dll (Local)
Enabled: 1 (Local)
InputProvider: 1 (Local)
AllowNonstandardModeCombinations: 1 (Local)
ResolvePeerBackoffMinutes: 15 (Local)
ResolvePeerBackoffMaxTimes: 7 (Local)
CompatibilityFlags: 2147483648 (Local)
EventLogFlags: 1 (Local)
LargeSampleSkew: 3 (Local)
SpecialPollInterval: 32768 (Local)
Type: NTP (Local)
NtpServer: time.windows.com,0x9 (Local)
VMICTimeProvider (Local)
DllName: C:\Windows\System32\vmictimeprovider.dll (Local)
Enabled: 1 (Local)
InputProvider: 1 (Local)
NtpServer (Local)
DllName: C:\Windows\system32\w32time.dll (Local)
Enabled: 1 (Local)
InputProvider: 0 (Local)
AllowNonstandardModeCombinations: 1 (Local)
EventLogFlags: 2 (Local)
AnnounceFlags: 5 (Local)
TimeJumpAuditOffset: 28800 (Local)
MinPollInterval: 10 (Local)
MaxPollInterval: 15 (Local)
MaxNegPhaseCorrection: 54000 (Local)
MaxPosPhaseCorrection: 54000 (Local)
MaxAllowedPhaseOffset: 1 (Local)
FrequencyCorrectRate: 4 (Local)
PollAdjustFactor: 5 (Local)
LargePhaseOffset: 50000000 (Local)
SpikeWatchPeriod: 900 (Local)
LocalClockDispersion: 0 (Local)
HoldPeriod: 5 (Local)
PhaseCorrectRate: 1 (Local)
UpdateInterval: 360000 (Local)
[TimeProviders]
NtpClient (Local)
DllName: C:\Windows\system32\w32time.dll (Local)
Enabled: 1 (Local)
InputProvider: 1 (Local)
AllowNonstandardModeCombinations: 1 (Local)
ResolvePeerBackoffMinutes: 15 (Local)
ResolvePeerBackoffMaxTimes: 7 (Local)
CompatibilityFlags: 2147483648 (Local)
EventLogFlags: 1 (Local)
LargeSampleSkew: 3 (Local)
SpecialPollInterval: 32768 (Local)
Type: NTP (Local)
NtpServer: time.windows.com,0x9 (Local)
VMICTimeProvider (Local)
DllName: C:\Windows\System32\vmictimeprovider.dll (Local)
Enabled: 1 (Local)
InputProvider: 1 (Local)
NtpServer (Local)
DllName: C:\Windows\system32\w32time.dll (Local)
Enabled: 1 (Local)
InputProvider: 0 (Local)
AllowNonstandardModeCombinations: 1 (Local)
Linuxi näyttää NTP-palvelimelle seuraavaa eikä kamerat synkkaa aikaa.
Koodi:
ntpdate -q -d 192.168.10.111
18 Sep 17:23:41 ntpdate[159577]: ntpdate 4.2.8p12@1.3728-o (1)
Looking for host 192.168.10.111 and service ntp
host found : 192.168.10.111
transmit(192.168.10.111)
receive(192.168.10.111)
192.168.10.111: Server dropped: strata too high
server 192.168.10.111, port 123
stratum 16, precision -23, leap 11, trust 000
refid [], root delay 0.000000, root dispersion 1.000000
transmitted 1, in filter 1
reference time: e6d19ad5.1685ac7c Sun, Sep 18 2022 16:25:41.087
originate timestamp: e6d1a86d.5685c754 Sun, Sep 18 2022 17:23:41.337
transmit timestamp: e6d1a86d.35dc980f Sun, Sep 18 2022 17:23:41.210
delay 0.02747, dispersion 0.00000
offset 0.126648
18 Sep 17:23:41 ntpdate[159577]: no server suitable for synchronization found
Galleonin testityökalu näyttää seuraavaa.
Viimeksi muokattu: