Questions tagged [ntp]

Network Time Protocol is an application level network protocol that is used for synchronizing clocks of computer systems. The term also refers to the reference software implementation.

The Network Time Protocol version 4 is defined in RFC 5905, RFC 5906, RFC 5907, and RFC 5908. NTPv4 is also suitable for the Internet Protocol version 6 address family.

The reference software implementation is provided by the NTP Public Services Project.

http://en.wikipedia.org/wiki/Network_Time_Protocol

693 questions
-2
votes
3 answers

Get current date and time from Google in Android

I have some experience in Android application development. Now we developed an Android application where we need the exact date and time from Google or the internet. Already I test some code from Stack Overflow and from some other sites, but it did…
Nasrullah Khan
  • 123
  • 1
  • 1
  • 10
-2
votes
1 answer

Real Date and Time

I have an audit trail where the date and time of user's time in / time out was enlisted. Is it possible that even I changed the system date and time. It ignores the system date/time that I have changed and log the real date and time of time in/ time…
Jet Seighart
  • 29
  • 1
  • 6
-2
votes
1 answer

Centos7 AMI need to sync the time from Amazon ntp server

I am using the centos7 AMI, there i need to sync the time from Amazon (x.amazon.pool.ntp.org) ntp servers, how i can configure, do i need to open the port 123 for this?
mbm
  • 77
  • 1
  • 1
  • 4
-2
votes
2 answers

How do I receive data from NTP server?

I have no idea why send data is 48 bytes 010,0,0..., someone can explain? the problem is buffer for data received, I don't know how big he should be, and even if I receive data, how to make normal time from it? Here's the code: #include…
Melchior_
  • 75
  • 2
  • 10
-2
votes
3 answers

Cisco Router (IOS) not syncing with NTP Server (unsynchronized)

We are trying to get one of our routers to synchronise with a NTP server. We have a pretty simple config but we can't get it to synchronise. This is our config: ntp access-group serve-only 15 ntp server 94.125.132.7 This is the result of show ntp…
Ted Wilmont
  • 463
  • 2
  • 9
  • 20
-2
votes
1 answer

Linux DATE have a few seconds gap between Two Servers?

Let's say I have two different Servers located in same DataCenter. But when I check the date on both, there are a few second difference between them. Example: [root@server1 ~] # date Tue Feb 23 11:40:22 SGT 2016 [root@server2 ~] # date Tue Feb 23…
夏期劇場
  • 17,821
  • 44
  • 135
  • 217
-2
votes
2 answers

Programatically configure Windows Mobile to use an NTP server

On Windows CE, the NTP settings are stored under [HKEY_LOCAL_MACHINE\Services\TIMESVC] and can be programmatically changed if needed. That key does not seem to exist on Windows Mobile, and I could not find any information on how to make the exact…
GSerg
  • 76,472
  • 17
  • 159
  • 346
-2
votes
1 answer

Need more information for Network Time Protocol related daemons & commands

I've been told to execute the ntpq command for some reason in my work. When I look for the command on a Unix-based machine, I found more commands with one daemon: [Web-01 ~]$ #ntp with key, lists commands prefixed with ntp, in a typical…
Dev Anand Sadasivam
  • 699
  • 7
  • 21
  • 49
-2
votes
2 answers

Why won't the ntp server respond to my client request?

So I've created a sntp client and I'm trying to test it on a trusted ntp server. My client is sending a request, the server should then respond with it's own time stamps then the client calculates the round trip delay etc. But when my client sends a…
A.G.8
  • 11
  • 3
-2
votes
1 answer

Using NTP without a server, just for the Control System

edit: I am essentially attempting to utilize the NTP code from section 5 of RFC 1129 from the command-line. Simply setting the clock, or even making an adjtime call is insufficient. I'd like to utilize the pre-existing NTP code for properly…
-3
votes
1 answer

Changing NTP distributed time locally

I need a solution for a local NTP time server to distribute time adjusted to our local time zone. The issue is the manufacturer of a product we use have updated their hardware to a newer model and have removed the option to select the time zone in…
Rob
  • 1
-3
votes
3 answers

How do I get the current time from the internet?

I have browsed the whole site to find a solution. But none of the ones I found worked. And most of them were pretty old. So I want to get the current UTC time from the internet. Completely independent from the phone. Would be nice if someone could…
-3
votes
1 answer

The Arduino NTP, I want print out data(DD-MM-YYYY)

This codes Arduino NTP connections code, want UTC calculation (DD-MM-YYYY) Support lib and Header : #include "WiFiEsp.h" #include "WiFiEspUdp.h" //kor UTC time + 9 // Emulate Serial1 on pins 6/7 if not present #ifndef HAVE_HWSERIAL1 #include…
Abraham Yoo
  • 3
  • 1
  • 2
-3
votes
1 answer

Imports from org.apache

I am unable to find the JAR files I need to download for these: import org.apache.commons.net.ntp.NTPUDPClient; import org.apache.commons.net.ntp.TimeInfo; Sorry it may sound stupid to you, but I really could not find what to download at the time…
Daksh Shah
  • 2,997
  • 6
  • 37
  • 71
-3
votes
1 answer

NTP Time display at every second

I want to receive time at every one second interval from the NTP server and display it in a GUI. As I know that minimum poll interval for NTP request is greater than one second. How can I get every one second time.
1 2 3
46
47