Questions tagged [ntpd]

30 questions
5
votes
2 answers

Why is my machine's time drifting so quickly?

I have an Ubuntu 14.04.4 LTS VM running under Vagrant and VirtualBox. When comparing its time to the server's I see things like this: $ ntpdate -q ntp.ubuntu.com server 91.189.94.4, stratum 2, offset -0.527602, delay 0.11812 server 91.189.89.198,…
John Bachir
  • 1,389
3
votes
2 answers

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 equivalent for the ntpq command? ntpdate -d ntpserverip …
arifisik
  • 312
3
votes
1 answer

Shared memory communication between gpsd and ntpd

I'm running linux Fedora 24 and I want to use gpsd to give the received signals to ntpd via the shared memory. I think that my configuration of ntpd is OK, but ntpq display a zero value for "reach" for SHM(0) and SHM(1). I suspect that anything is…
2
votes
0 answers

ntpq showing large offset between GPS and public NTP servers

I'm somewhat unsure about the offset value which ntpq is showing me. This is on a Raspberry Pi with PPS support compiled in the kernel. I just moved that device from location, so ntpd was first fetching the NTP data from the public server for a…
Daniel F
  • 1,052
2
votes
3 answers

can i change the polling frequency of a running ntpd?

I've got ntpd running. It's been running for a while, and the polling frequency is up to the max of 1024 remote refid st t when poll reach delay offset …
hymie
  • 1,276
1
vote
2 answers

I want to my ntpd update time more frequently and asap

I'm trying to config ntpserver and client.what should I do to ntpd sync time more frequently and asap? when I change the time in client manually and then restart ntpd service , after 16 s time is synced.but when I change time again without…
Ali
  • 25
1
vote
0 answers

Automatic Date & Time update results in wrong time on Linux Machine

I am using Fedora 29, with kernel version 4.19.15-300 on my laptop. It has been a while that I see the computer clock is about 6 to 7 minutes ahead. Pondering why, I checked the status of chronyd (systemctl status chronyd.service) and I see the…
MikeL
  • 140
1
vote
1 answer

Meinberg NTPD for Windows timeouts and not finding files

In my network, I have a reliable NTP server which all PCs are synchronized to. Due to the various problems the Windows Time service is known for (at least in Windows 7 and lower versions), I have disabled it on the Windows machines and instead have…
Binarus
  • 2,039
  • 14
  • 27
1
vote
0 answers

Ubuntu: how to check when system clock was adjusted

I'm trying to figure out when the ntpd adjusted the system clock on Ubuntu 17.10. The ntpq -pn utility shows when the client synchronized with the server last. But it doesn't show when it desided to update the local system clock. Is there a way to…
ilya1725
  • 131
1
vote
0 answers

How can I use my local time as the only reference of `ntpd`?

I want to let my Linux device synchronize its local time with the local time of another Linux server without any other references. I don't care about the actual time. I want my fake time. Therefore I don't need any other ntp servers for reference.…
Victor
  • 151
1
vote
1 answer

NTP: without hwclock, save time regularily for next reboot

I'm running ntpd on an ARM board that doesn't have a hardware clock (so no way to maintain time when it's off). The problem is that after rebooting, the time is always set at the unix epoch until ntpd is able to sync again. What I would like is for…
Ely
  • 2,973
  • 20
  • 17
1
vote
0 answers

How to query a NTP server without root?

People are saying ntpdate is deprecated and I should use ntpd. But how can I run ntpd to simply query a NTP server without root?
1
vote
2 answers

Setting up NTP service to Automatic restart

Setting up NTP service to Automatic restart which one should set to on in given list ntpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
mahendra kamble
  • 115
  • 1
  • 7
1
vote
1 answer

OpenNTPD complains about an empty drift file on archlinux

I have a fresh install of OpenNTP (openntpd 6.0p1-1) with this uncommented part in /etc/ntpd.conf: servers 0.fr.pool.ntp.org servers 1.fr.pool.ntp.org servers 2.fr.pool.ntp.org servers 3.fr.pool.ntp.org It's ok when I do a check config but I have…
GlinesMome
  • 165
  • 2
  • 6
1
vote
0 answers

ntpd doesn't sync with W32Time, ntpdate does

I have QNX 6.5 with ntpd running. I try to use Windows W32Time service as an ntp-server. When I use ntpdate 192.168.x.x, it works fine. But ntpd daemon won't sync. ntpq says that server is reached (377): # ntpq -p remote refid …
Heavy
  • 123
1
2