Questions tagged [ntp]
Network Time Protocol, used to synchronize clocks on the Internet.
244
questions
0
votes
1
answer
97
views
Command 'ntpdc' not found
When I issue the command ntpdc it throw me errors, I already sudo apt-get install ntp, and still no result.
ntpdc -nc
Command 'ntpdc' not found, did you mean:
command 'ntpd' from deb ntpsec
...
0
votes
1
answer
127
views
Windows w32tm not answering NTP requests
I'm trying to setup an NTP server on my Windows machine. I'll give you a quick overview of the architecture I'm aiming for:
The setup is as follows: on the Windows computer there are two network ...
1
vote
0
answers
130
views
Windows 11 loses IPv4 address one hour after boot
Problem Description
The problem I am observing is that I will lose connectivity with all non-local IPv4 hosts one hour after Windows 11 boots up. This would normally manifest as getting disconnected ...
1
vote
1
answer
80
views
How can I add a local (non-internet) time server?
I'm trying to set up a doorphone system (SIP-based doorbell).
In most cases, this would use a SIP server and be connected to the internet however at this time I need to install one at a location that ...
1
vote
1
answer
356
views
NTP Time Wrong on ntp.org?
My Windows Server 2012r2 server (vm inside of esxi) is going crazy and thinking that it is Dec. 2, 2033. The oddest part about this is that it is saying that is what NTP is telling it.
20:25:23, -...
0
votes
0
answers
95
views
NTP service not taking into account its config file
On Raspbian Linux 10, configuring NTP drives me crazy.
In /etc/ntp.conf there is this line:
logfile /tmp/ntp.log
However, the systemctl start ntp service doesn't print anything into this file.
When I ...
0
votes
1
answer
323
views
Windows incorrect internet time after Iran rejects to use DST
Recently Iranian Parliament rejected to move forward an hour for DST and the current and correct time is at: https://time.ir
My Windows uses internet time but it is an hour ahead (for example now the ...
1
vote
1
answer
1k
views
w32tm do not sync with configured Ntp server (source is clock)
On an Windows 10 workstation configured to connect to a local time server(the peerlist contains only one NTP server present in the local network). But when inspecting the configuration with "...
0
votes
3
answers
187
views
DHCPv6 Options for Network Time Server
While for DHCPv4 there appears to be exactly one option to specify (S)NTP servers, namely 42, DHCPv6 seems to offer two separate ones:
OPTION_SNTP_SERVERS (31) uses the same configuration format as ...
0
votes
1
answer
275
views
Gradual time synchronization in Windows
I have a 3rd party application that doesn't work properly if it detects a timeout condition. For some reason, my computer clock seems to lose about 90 seconds each day, so that when Windows does its ...
0
votes
1
answer
109
views
Wrong Epoch time while sync with NTP server
I have two clients which are synchronized with the NTP server. I am trying to measure the latency of packet from client1 to client2. But the Epoch time still does not make sense because the packet ...
1
vote
1
answer
115
views
Phone and computer clock out of sync
My girlfriend experiences a behavior I cannot explain.
She has a phone (Google Pixel 5) and a laptop (Apple MacBook Pro M1) which both get their system clock out-of-sync by anywhere from 5 minutes up ...
0
votes
0
answers
233
views
Win10 NTP server sync time with Raspberry Pi
I need a local NTP service, which has to be on the win10 client. I already followed this Guide to enable the NTP service on win10 client side. On the otherhand I do have a Raspberry Pi which does have ...
0
votes
0
answers
281
views
How to sync clock with chrony after every 1 minute
I want to sync my system clock with chrony after every 1 minute. The chrony.conf file says it sync after 11 minutes
0
votes
1
answer
91
views
Add a server to a running NTP daemon
I’m willing to add my home NTP server to my running NTP daemon whenever I connect to my home VPN.
I’m pretty sure I managed to have this working, several years ago, with a command like
ntpdc -c 'keyid ...
1
vote
1
answer
2k
views
Why open 123/udp in both directions?
When using an NTP server in an environment with a firewall, it is common to open 123/udp in both directions. So my question is, why is it necessary to open it in both directions?
For example, when ...
4
votes
1
answer
14k
views
how to test ntp servers as real servers that responding without using ping test
we have bash script that configured the chrony.conf
script check if ping is ok on ntp1 and ntp2 ( ntp servers )
and then script insert the ntp servers to /etc/chrony.conf ( only if ping success )
...
0
votes
1
answer
104
views
Shorten the NTP service startup time under no network
I need to create an NTPServer for the MCU without battery to calibrate the time information, I want to calibrate as soon as possible after power on.
When I am in a local area network without a network,...
1
vote
1
answer
4k
views
Raspberry pi can't ping laptop but laptop can ping Raspberry pi
Here's the context to my situation. I'm attempting to setup my rpi zero to use my windows laptop as an NTP server. I have all of the configurations done on both my pi and my windows machine to ...
0
votes
1
answer
442
views
How can a Linux server update it's time using Windows Server NTP service?
I have a development server set up without connection to the Internet. (I update it using a makeshift http proxy only when required.) This afternoon, I realized that it's time was off of about 2 ...
0
votes
1
answer
1k
views
How to test DST when using NTP
We have long-running processes on a server. The server clock is synced with NTP. And RTC is set to UTC. Localtime is set to current DST timezone:
$ timedatectl
Local time: Thu ...
0
votes
0
answers
36
views
How can I see which "Date & time" settings are "hidden or managed by your organization" (and where) [duplicate]
I am on a domain-joined Laptop which cannot connect to the domain controller except once a month or less, so the system time is off by 10 seconds. I can set it manually, but I'd like it to sync to ...
1
vote
1
answer
305
views
NTP configuration on HP switch mal-function. NTP requests fail
System:
HPE OfficeConnect Switch 1820 24G J9980A, Firmware: PT.02.12 (May 2021), OS: Linux 3.6.5, U-Boot 2012.10-00116 (Jul 30 2014 - 10:52:01)
The switch connects to ASUS router AC87U.
Setup Network \...
1
vote
2
answers
714
views
How do I update the Windows 10 NTP time when my machine is in a workgroup and not a domain?
My Windows machine is not on a domain and I need it to update the time from an NTP server.
Is there a command to do this when you are not on the domain?
At work I use net time /domain:DC1 to set the ...
1
vote
3
answers
727
views
How to allow only NTP using iptables?
I'm looking for a way to restrict internet traffic to one of the device on my network so that it can only access NTP an nothing else.
Now the easy solution would be to just allow destination port 123 ...
1
vote
1
answer
648
views
How can I confirm if the NTP server is working correctly?
In a bid to get my ip camera timing to sync up, I setup an Ubuntu server as a NTP server (https://www.howtoforge.com/tutorial/ubuntu-ntp-server/). I used another pc and tested it as a client and the ...
1
vote
1
answer
558
views
Windows time always a few seconds off (w32time), compared to Linux ntp
Usually I don't modify the configuration of my Windows 10 machines regarding time synchronisation. Recently I'm working more with Linux SBCs (Raspberry Pi etc.) on IoT solutions. I noticed how several ...
0
votes
0
answers
990
views
Automatic time sync is not working in Windows 10
I have enabled automatic time sync. But time sync is failing in Windows. Fillowing is the screenshot of the error.
0
votes
1
answer
3k
views
NTP server, port not open
So, I'm trying to install an NTP server on this Windows 10 Home computer. I've tried various tutorials to enable w32time's server mode, and then when that failed I eventually installed Meinberg NTP, ...
0
votes
1
answer
150
views
NTP time synchronizes, still shows local time..?
I have set NTP time of Canada (0.ca.pool.ntp.org, 1.ca.pool.ntp.org, 2.ca.pool.ntp.org, as obtained from https://www.pool.ntp.org/zone/ca). The sync server IP is 192.210.199.110 (stratum 2). When I ...
1
vote
0
answers
98
views
Debian: Set persistent custom time
I try to set a custom time on my (fresh installed) Debian system. For example, I want to set my time to 2013-05-05. So I disabled NTP on my system with timedatectl set-ntp false, verify that ...
0
votes
2
answers
798
views
Enabling dynamic DNS updates in iptables
I have a Debian machine behind a wifi router. The machine is running a cron script to restore connectivity whenever a ping to a pre-defined host fails. I have set up iptables so that only the required ...
0
votes
0
answers
1k
views
Windows 10 as NTP Server not sending responses
I'm trying to configure my Windows 10 PC to act as an NTP server. I followed the steps here. However, when I look in wireshark, I can clearly see the NTP poll commands coming from the client, but I ...
0
votes
1
answer
585
views
Hosting an NTP server on both NICs
I’ve enabled the win32time service to host an NTP server on a machine with two NICs. Each NIC is on a different network. I can query the time server from one of the networks, but not the other. Can I ...
0
votes
0
answers
133
views
Why does Windows 10 time service not sync immediately?
After rebooting my PC (Win 10 Pro, 64-bit), I found that my time was off by slightly more than 1s. I have an application that requires the time to be set more accurately than that, so I went into ...
1
vote
2
answers
391
views
Changed UTC time dumps after reboot in Arch Linux
I use Arch Linux OS with Linux 5.4.61-1-lts kernel, x86-64.
I noticed, that my UTC time is wrong:
[tao@dc ~]$ timedatectl
Local time: Sun 2020-08-30 12:15:41 EEST
Universal ...
0
votes
1
answer
533
views
NTPv4 Pool: Origin Timestamp is randomly filled in servers response - why?
The NTPv4 server responses I get from pool.ntp.org servers (requested with chrony 3.5) have random filled values in the 64 origin timestamp field. I can't figure out why.
I can't find any information ...
2
votes
1
answer
17k
views
NTP Time - Get time of remote NTP server in command line
Essentially, I want to get an accurate time from a public NTP server, in DOS or powershell.
I know there's the w32tm which can query a remote ntp server, but the result it gives is how much out my ...
1
vote
2
answers
96
views
How to find a process that runs hourly
CentOS 7, set it up about 3 years ago, so I might not remember every decision I made...
Once an hour, something does a time update. I don't have ntp installed, only ntpdate. Don't have chrony ...
1
vote
2
answers
115
views
How do the major OS like Windows, Mac and Ubuntu/Redhat handle DST and time that goes back 1+ hour?
When time is out of sync, I understand most of the modern operating systems have NTP software that do it in smart increments spreading it through a large interval such that it doesn't affect most ...
0
votes
1
answer
3k
views
Cannot sync with any NTP server on windows 10
I'm trying to sync my windows10 with ANY NTP server but whatever server I use, I'm always receiving timeout.
I have tryed setting few different server in "Internet time settings" but in every try i ...
2
votes
2
answers
3k
views
is there any option ntpq for the ntp server connectivity test like ntpdate -d command?
Is there any option ntpq for the ntp server connectivity test like the ntpdate -d command?
ntpdate -d ntpserverip
This command shows the suitable ntp server for synchronization. What the ...
2
votes
1
answer
908
views
Windows 10 (in a VM) forces time sync/update with setting disabled
I have Windows 10 in a VM to run some tests, some of which require me simulating a different or "wrong" time. However Windows 10 seems to force the clock to the current time despite the Set time ...
1
vote
0
answers
183
views
Can I use the IP of an internal private NTP service instead pool.ntp.org spublic service with ntpdate?
I am not so into Linux and I have the following problem syncronzing two Linux machine using ntpdate.
I know that I can do it running this command:
ntpdate pool.ntp.org
that creats the timesync.sh ...
6
votes
2
answers
16k
views
Unable to sync Windows 10 time with time servers
I have a new, OEM installation of Windows 10 that is unable to contact any time servers to sync the system time. Each attempt gives me a timeout error, and pinging the time server times out as well. ...
0
votes
1
answer
1k
views
NTPD Service Won't Start on System Boot
Even though ntpd has been enabled, it won't start on system boot. I can issue a "systemctl start ntpd" command that will successfully bring up ntpd, but after reboot ntpd.service goes to inactive (...
0
votes
1
answer
509
views
ArchlinuxArm on Raspberry: Can't sync datetime at boot
I have a raspberry pi I use for an irrigation system. The problem is it doesn't have hardware clock so, every time it reboots, the system time is wrong, and I cannot set it to sync it automatically.
...
0
votes
0
answers
299
views
Time running out of sync on a CentOS 7 server
i have a problem with one of our webservers running on a CentOS 7. The local and UTC time on the system has been changing for about the last 1 to 2 weeks regularly by several minutes and hours. The ...
1
vote
1
answer
592
views
Ways to accurate synchronize clock with linux
I have a computer that doesn't has internet, I put NTP to sync with a USB GPS and serve NTP to other computers. That's working, but sometimes the server is not suitable for synchronization and I need ...
1
vote
0
answers
34
views
ntp + ntp loose synchronize each time in 5:00 morning
we have a very strange behavior
we have 12 Linux redhat machines - redhat 7.x
two of these VM servers are loosing the time synchronize each day at 5:00 in the morning
after we restart the chronyd , ...