NTP Time Synchronization & Legal

rfj

Pulling my weight
Joined
Oct 26, 2014
Messages
391
Reaction score
115
Due to legal matters it seems I need to have the cams embed the time directly instead of BI embedding it (I am still not sure if BI embedding time would disable direct-to-disc even when I enable it). But how do I enable and NTP server on Win 10? Apparently there is a built-in tool in Win10 and also in BI. But how do I actually enable this. Note that my cams have no access to the internet so they have to get the time from my BI computer.
 

Sphinxicus

Getting comfortable
Joined
Aug 30, 2017
Messages
174
Reaction score
341
Location
Ireland
I have NTP server running on my BI machine.

The steps in this article will sort you out. Just remember, if you have your BI machine's network access restricted to make sure your BI machine can still poll NTP servers itself (allow UDP 123). I have my BI machine grab time from my router so its never going external for it and my router grabs from a public ntp pool

 

jrbeddow

Getting comfortable
Joined
Oct 26, 2021
Messages
370
Reaction score
485
Location
USA
Due to legal matters it seems I need to have the cams embed the time directly instead of BI embedding it (I am still not sure if BI embedding time would disable direct-to-disc even when I enable it). But how do I enable and NTP server on Win 10? Apparently there is a built-in tool in Win10 and also in BI. But how do I actually enable this. Note that my cams have no access to the internet so they have to get the time from my BI computer.
You might want to look into the NetTime utilty program, as discussed here (and likely other threads here):
 

Looking Out

Pulling my weight
Joined
Feb 27, 2022
Messages
67
Reaction score
145
Location
New Jersey
I am having trouble with this. I put a dual NIC card in but am currently using a WIFI adaptor on the PC to connect to the internet.

Here are my settings:
Ethernet adapter Ethernet 2: (NIC connected directly to a POE switch to cameras.)

IPv4 Address. . . . . . . . . . . : 10.15.75.10
Subnet Mask . . . . . . . . . . . : 255.255.255.0
IPv4 Address. . . . . . . . . . . : 192.168.1.50
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.0

Wireless LAN adapter Wi-Fi:
IPv4 Address. . . . . . . . . . . : 192.168.1.228
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1

I have tried putting the following addresses in to the Dahua web interface on the cameras with no success.
192.168.1.228, 10.15.75.10, 192.168.1.50

Where am I going wrong?
 
Last edited:

sebastiantombs

Known around here
Joined
Dec 28, 2019
Messages
11,511
Reaction score
27,690
Location
New Jersey
One comment, probably not related to the NTP problem, is that you don't need the 192.168.x.x on the camera NIC.

I have dual NICs and the cameras are on a 10.x.x.x network while the regular LAN is 192.168.x.x. The cameras are set to the 10.x.x.x address of the BI machine NIC and all stay synced.

Incidentally, if you switch from "Date" to "Week" in the camera NTP configuration you can set it once and forget it. The date varies from year to year but by using the week you can specify which day of which week and at what time. That doesn't change.
 

Looking Out

Pulling my weight
Joined
Feb 27, 2022
Messages
67
Reaction score
145
Location
New Jersey
I am having trouble with this. I put a dual NIC card in but am currently using a WIFI adaptor on the PC to connect to the internet.

Here are my settings:
Ethernet adapter Ethernet 2: (NIC connected directly to a POE switch to cameras.)

IPv4 Address. . . . . . . . . . . : 10.15.75.10
Subnet Mask . . . . . . . . . . . : 255.255.255.0
IPv4 Address. . . . . . . . . . . : 192.168.1.50
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.0

Wireless LAN adapter Wi-Fi:
IPv4 Address. . . . . . . . . . . : 192.168.1.228
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1

I have tried putting the following addresses in to the Dahua web interface on the cameras with no success.
192.168.1.228, 10.15.75.10, 192.168.1.50



Where am I going wrong?
What type of router do you have? I use pfsense as my edge routers, and pfsense has an NTP server built in.
I have a Verizon Optimum Gateway 1100. I'm not running any of my cameras through my router. They are all connected to a POE switch on second NIC.
 
Last edited:

sebastiantombs

Known around here
Joined
Dec 28, 2019
Messages
11,511
Reaction score
27,690
Location
New Jersey
Again, get the 192.168.x.x address off of the 2nd NIC connected to the PoE switch. It is not needed and theoretically exposes the cameras since that address is routable by you router.
 

Looking Out

Pulling my weight
Joined
Feb 27, 2022
Messages
67
Reaction score
145
Location
New Jersey
@sebastiantombs OK I am all set. Here is what I did.

Change gateway on Dual NIC to match the cameras, removing the 192.xxx address as you recommended.
Changed cameras direction for time to the address of the Dual NIC.

Bingo, all the cameras sync with time. Thank you!
 

sebastiantombs

Known around here
Joined
Dec 28, 2019
Messages
11,511
Reaction score
27,690
Location
New Jersey
You know, I never even looked at the default gateway on the camera NIC. Old age and speed reading does that to me far too often. Anyhow, that default gateway address can be bogus as in 10.15.75.1. That card needs no way to access the internet in the first place. I do the same thing on every camera with default gateway and DNS. That insures they'll never get anywhere other than on their very own LAN.
 
Top