Questions tagged [ntpd]

The Network Time Protocol Daemon is a [tag:daemon] that synchronises server time with servers running the [Network Time Protocol][1] (NTP).

The Network Time Protocol Daemon is a that synchronises server time with servers running the Network Time Protocol (NTP).

Originally written for , a port also exists.

60 questions
0
votes
1 answer

Device is getting time from ntpd but "ntpq -p" command is getting timeout

In our code we are using ntpd to get the time from servers and to set the time. After executing ntpd command, we are running "ntpq -p" to check the server offsets. We are running below commands for ntpd in different process and after finishing that…
kadina
  • 5,042
  • 4
  • 42
  • 83
0
votes
1 answer

Why is NTP listenning broadcast IP

This is a physical SBC machine and customer created many virtual IP (It a related to relem and vnet concept in tele communication) Here we have created eth2 and eth3 as a signalling interface. eth2 and eth3 are treated as a vlan and bind relem…
Sumit Gemini
  • 1,836
  • 1
  • 15
  • 19
0
votes
1 answer

Execute ntpdate with java and get the output value

I want to execute this command within my java program and check if it was successfully executed. sudo ntpdate -u someserver.com I create a bash with the command #!/bin/sh sudo ntpdate -u omeserver.com and execute it with java ProcessBuilder pb…
lisa
  • 9
  • 1
0
votes
1 answer

Synchronize the time between an android app and a server

I use a raspberry pi with a Bluetooth dongle to simulate a beacon. I want to measure the time needed for a mobile app to detect the UUID of a beacon when I change it in the raspberry. With this code I found out the server used by the smartphone to…
user3235881
  • 487
  • 2
  • 9
  • 24
0
votes
1 answer

Gpsd Wrong Timing

Ehilà everybody! I've this problem: I'm serving ntp (On my Laptop for now ) with GPSD, using an old GPS-Sirf/NMEA module of the company I work for. Let's forget about Ntpd.. as soon as I start gpsd, although date and time are correct in gpsmon, if I…
0
votes
2 answers

NTPD synchronization with 1PPS signal

I have an AHRS (attitude heading reference system) that interfaces with my C++ application. I receive a 50Hz stream of messages via Ethernet from the AHRS, and as part of this message, I get UTC time. My system will also have NTPD running as the…
Bryan Greenway
  • 703
  • 11
  • 30
0
votes
1 answer

Is there any ntpd that can be configured to listen to selected interfaces only?

My situation is, that I configure many virtual network interfaces for virtual machines and some of my networks do even have two or more addresses. I don't need ntpd to listen to all these interfaces, but there seems no option to restrict the…
ikrabbe
  • 1,909
  • 12
  • 25
0
votes
1 answer

Which OS for cortex-m4 offering NTPd or similar to enable time sync with GPS-PPS

I've received these 3 boards as a gift. STM32F407 HIGH PERF DISCOVERY BOARD http://www2.mouser.com/Search/ProductDetail.aspx?R=STM32F4DISCOVERYvirtualkey51120000virtualkey511-STM32F4DISCOVERY STMicroelectronics STM32F411 Nucleo board…
MarioCannistra
  • 275
  • 3
  • 12
0
votes
2 answers

Instantaneous synchronization using NTP

I am working with two PCs: PC1 (server) and PC2 (client) and I am trying to synchronize their time with NTP. PC1 is not configured to get synchronized with any external time source. I just want whatever time is there on the PC1, PC2 should be…
user3034773
  • 27
  • 1
  • 3
0
votes
1 answer

PPS Status for Oncore Reference clock?

I've just hooked up an old VP Oncore to a Raspberry PI (using a PPS kernel) and have the following... root@ntpi:/var/log# ntpq -p remote refid st t when poll reach delay offset …
-1
votes
2 answers

How to add options to ntpd

I'd like to add a new option to ntpd however I couldn't find how to generate ntpd/ntpd-opts{.c, .h} after adding some lines to ntpd/ntpdbase-opts.def e.g., $ git diff ntpd/ntpdbase-opts.def diff --git a/ntpd/ntpdbase-opts.def…
sira
  • 281
  • 3
  • 10
-1
votes
1 answer

Adding NTP daemon on petalinux

I have added the ntp daemon on petalinux, but i am not getting ntpq command. Can someone guide me, how can I add/use the ntpq file on petalinux.
malik
  • 1
  • 2
-1
votes
1 answer

Shell Script command timeout

I am trying to run a command but if the command doesnt succeed in an amount of time (Lets say 30s for example), Cancel out the command and fail out. The script is fairly simple and I am just pausing ntpd and then forcing a time synchronization and…
user2569803
  • 637
  • 6
  • 11
  • 19
-1
votes
1 answer

C++: System call for restarting ntpd -> wrong port

currently I am writing my master thesis and got a little problem in C++. Under certain conditions, I have to restart the ntp daemon, therefore I call: system("service ntp restart"); But after this ntp is not listening on port 123, but rather 8377…
Tobias S
  • 1,275
  • 8
  • 23
-2
votes
1 answer

Checking validity of ntpd executable for tamper proofing time sensitive info

I'm writing a piece of C++ code that will hold the access key to an encrypted archive and not allow it to be viewed before a certain date on a Linux system. The complete code is below (yes, it's ugly and has a system() call. I feel that that was…
1 2 3
4