Network Time protocol |
Firmware dated August 23 2016 and after have the capability of getting
the time and date from a network time server. We call this NTP for
short.
This page will show you how you can select the proper IP address so that
the NTP function can get the time from the NTP server of your choice.
There are mainly two options. From your local computer, or from a
Time server on the internet. For the links on this page to
function, your Gemini-2 must be turned on, and it must be able to access
the internet. It also must accept "NetBios" commands for
http//gemini/ to work instead of http://IP address. In other words you
must be able to see the Gemini 2's Web page with a web browser by typing
http://gemini/ |
From a Internet time server: |
|
Click on image to see larger View |
From a computer on your local network: |
The Below is only for a Window 7, 8.1 or 10 based
computer. Please be very careful using any of the below files.
I recommend that you make a complete backup of your operating system
before going any further or at least create a "restore point". Modifying your registry can make your
computer non-operational. I have tested these registry patches
only on a Windows 10 Pro X64 bit system. If you do not want to do this,
then use an internet time server as explained above. ALSO NOTE: You must have the TIME ZONE set correctly for this to work. Please note that most Windows PC's can act as a network time server. They will need a registry patch to do this. I am providing a zip file that includes these patches and also a Bat file that can find you computer's IP address (Windows only) and put it in the clipboard. |
Please download NTP_Time.zip and put this file into a clean/empty directory. Then please
unzip it. You will find the following files in the zip.
Please only run the above listed registry patches once. |
To set the Time and
date from your local Windows PC, please follow the below steps.
|
Associated web pages: Please note that if your system does not
respond to Netbios commands like http://gemini
then you will have to replace the gemini with your gemini-2 ip address. http://gemini/sitetime.cgi or http://your gemini-2 IP address/sitetime.cgi http://gemini/network.cgi or http://your gemini-2 IP address/network.cgi Example pages: /web/web-NTP.html and /web/web-site-time.html |
This section is only for ones who want to see the code in ComputerIP.bat and
setLocalNTP.reg This code has to be generated in Notepad.exe any other text editor might leave hidden characters. Code for ComputerIP.bat is between white lines. @ECHO OFF FOR /F "tokens=*" %%i in ('ipconfig ^| find "IPv4"') do SET result=%%i echo %result:IPv4 Address. . . . . . . . . . . : =% | clip Code for setLocalNTP.reg is between the below white lines. Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters] "LocalNPT"=dword:00000001 In the above file if dword:00000001 = dword:00000000 then this patch will not let Windows act as a NTP server. If the "LocalNPT" = dword:00000001 is changed to "LocalNPT"= - Then the patch will be removed from the registry. Please be very careful making changes to these files, as a wrong change can make your computer not run at all. Make sure you have a full backup before using them. |