Questions tagged [ntp]

NTP, Network Time Protocol for time synchronization between computer systems over UDP.

14 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
50 views

DNS and NTP not working after installing NetworkManger on Raspberry Pi

can anyone help me, this issue has been driving me mad for 4 months, I have very limited experience with any form or Linux and at a complete loss at to how to make it work. I have a Raspberry Pi 4 ...
2
votes
0answers
1k views

Recommended way for a python script to check NTP update status, and initiate an update if necessary?

I am writing a data logging python script and I would like it to find out if the system clock has been synchronized via NTP recently, and if not, to attempt to cause it to happen before proceeding. ...
2
votes
0answers
113 views

How to manually adjust system clock for testing purposes

I have written a Python script that is set to run different functions at different days/times. I would like to test it by setting the system clock to 1-2 minutes before the dates/times that the Python ...
2
votes
0answers
378 views

NTP configuration is not working

I'm working with 10 raspberry and they are all connected to the same network via Wifi. I need to get the right time from the network, so I modified the ntp.conf file with the IP of my network (10.1.65....
1
vote
2answers
87 views

Bash script doubt - How can I automatically update the hwclock with NTP when I have internet connection

Bash script in How can I automatically update the hwclock with NTP when I have internet connection seems not to run as expected in Raspbian Stretch 9.4 The log file will be created with the first ...
1
vote
0answers
132 views

Verifying how recently Pi system time has been synched to ntp servers within a script?

Questions are at the bottom. When adding a time stamp based on the Pi's system time to a data file, I'd like to include some information about how reliable that time is. For example, if the Pi has ...
1
vote
0answers
596 views

Raspberry PI3 RTC problems with ntpd on jessie

i am looking for a solution that can prefer NTP, updating the RTC when possible, and then fall back to the RTC when no network is available. it seems that NTP do this job and when the ntp is running ...
1
vote
0answers
414 views

NTP time off by 24 minutes

I have added dpkg-reconfigure ntp to bash.rc and run it several times in the terminal. I have changed my timezone around. I have gone to just ethernet and rebooted, and every single time, my pi time ...
0
votes
0answers
33 views

Raspberry Pi Date and Time wrong with using both Ethernet and WiFi

Update I resolved the issue. My static ip address had a default gateway set. Once removed the issue was fixed. I have a Raspberry Pi that I use in headless mode, and it has been configured to ...
0
votes
0answers
101 views

cannot sync timedatectl (pi to PC)

when I type timedatectl I can see that sync is active. however the pi fails to get the time from a PC connected to it (on this pc the service W32time is running and should provide time info to all ...
0
votes
0answers
634 views

Raspberry pi ntp client fails to sync on network master clock

I have a pi3B+ with stretch. I am trying to sync its clock using a network master clock (a pc set as ntp server) through direct ethernet connection. I can't see my server synching the pi. I followed ...
0
votes
2answers
1k views

setting local ntp server does not work

I want to sync my RPI 3 to a local time server. I've installed ntp using apt-get. I edited the file /etc/ntp.conf and added the following line server [ip-address]. I restarted ntp using sudo ...
0
votes
0answers
111 views

Wrong date after reboot … always the same… 2016-10-02 (future!)

Why my Raspberry after reboot sets date to 2016-10-02, every time? Date after reboot is exactly 2016-10-02 every time.... there is NTP deamon that changes it, but before it, it's always 2016-10-02...
0
votes
0answers
162 views

How do I set NTP time on my PiCamera/camera.py video feed?

I want to synchronize multiple RPIs to a single clock. For this I use a computer as the ntp server for all of them. All the RPIs now have the same time(server time). After synchronizing I want record ...