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
-1
votes
1 answer

How to know current time on publicly available ntp pool servers without logging into it?

I've 2 endpoints (here PCs) with Linux OS versions connected to a publicly NTP Time Master (for e.g. server 0.in.pool.ntp.org). Time on those 2 Linux PCs are properly syncing with that ntp pool server. Even time is same on 2 Linux PCs. Perfect,…
-1
votes
1 answer

RHEL Chrony no output

I am trying to run chrony in my RHEL system. I got ntpd working, but I want higher resolution/accuracy. I have been following these steps https://www.tecmint.com/install-chrony-in-centos-ubuntu-linux/. I've successfully edited the conf file as well…
bchang32
  • 27
  • 3
-1
votes
2 answers

Basic linux shell scripting: getting NTP at linux?

I want to write a shell script for getting NTP(Network Time Protocol) info for debian server. How can I write, I don't know ?
volkan
  • 209
  • 4
  • 12
-1
votes
1 answer

Cent OS 7 NTP Client not syncing via IP address of the NTP server

I'm trying to update the time of my Cent OS machine by trying to sync it with the NTP server via IP address. This updates the pool on the machine but does not sync the time. I've tried this using both the ntpd and chrony service and changing their…
-1
votes
1 answer

Date from NTP server

I'm using a NTP server in my Arduino code and ESP8266 board. I'm using "Serial.println(timeClient.getFormattedTime());" but the function print only the time not the date ( DD-MM-YYYY ) and i need the date.. This is my code: #include //…
-1
votes
1 answer

Raspberry Pi 3 v1.2 with RTC synch problems

I am trying to synch the hour between localtime and RTC. I have DS3231 RTC, i followed a guide to install and configure the OS to use it, RTC is working, but the time without internet is 2 hours backwards. My timezone is GMT+2 and its set correctly…
-1
votes
1 answer

Are the decimal components of Unix timestamps and UTC time synced?

Conventional time is meant to stay in sync with the rotation of the earth, and so is shifted with leap years and leap seconds, while Unix time is meant to measure the number of seconds since midnight Jan 1 1970. As such, the two drift apart over…
Tal
  • 109
  • 2
-1
votes
1 answer

How to install and configure NTP Server on vSphere?

I need to install and configure NTP service on VMware vSphere , Need help for the same. I tried many solutions but none of them worked.
user11338621
-1
votes
1 answer

TimeTCPClient and TimeUDPClient both timing out

I need the time from a NTP server. I tied this: TimeUDPClient client = new TimeUDPClient(); try { client.open(); client.setSoTimeout(10000); client.getTime(InetAddress.getByName(host)); client.close(); } catch…
Ace of Spade
  • 388
  • 3
  • 22
-1
votes
1 answer

scapy how to print a certain part of a query

I have a NTP answer from scapy.all import* import socket s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) addr=("192.114.62.250",123) ntp=NTP() s.sendto(str(ntp),addr) data,ip=s.recvfrom(1024) data=NTP(data) print data.recv the full…
-1
votes
1 answer

Changing permissions for ntp

Recently my raspberry pi stopped updating the time when it was turned off/rebooting. I tried changing to time zone with raspi-config to reset the time, but this did not work. I tried checking the status of ntp with systemctl status ntp and I was…
Emilio Garcia
  • 554
  • 1
  • 5
  • 20
-1
votes
1 answer

How do I activate NTP Server and client in windows 7 OS?

How would I synchronize client's PC date and time with a server using Network Time Protocol(NTP)?
Praveer Kumar
  • 912
  • 1
  • 12
  • 25
-1
votes
1 answer

How can I stop NTP from updating my system clock?

Please bear with me on this slightly odd request! I have a [debian linux] system with an internal [RTC] clock which the user can adjust or change. It may or may not be connected to external IP and therefore may or may not have access to NTP. I would…
Dave Lawrence
  • 1,281
  • 12
  • 17
-1
votes
1 answer

How to ping a remote server(with public ip) from a local machine?

I have a board in office with ip 192.168.20.x. I have vpn access to the office from my laptop with public ip. I'm able to ping the board, but what should I do to ping my laptop from the board? I am running a ntp server on my machine, so that the…
Ramana Reddy
  • 369
  • 1
  • 8
  • 28
-1
votes
1 answer

Is there a way to tell when NTP has updated the time

In Ubuntu, is there a way to tell when the system time has been updated by NTP? My use case is that I have an embedded system that may or may not be connected to the internet. If it's not, and then it gets connected and NTP updates the time, I want…
Larry Martell
  • 3,526
  • 6
  • 40
  • 76