Force Linux Clock reset with NTP – Raspberry Pi

My laptop and most of my workstations, dual boot say to W10, Ubuntu/Linuxmint/Kali etc.

I find the time changes back and forth between when logged into a unix OS and Windows OS.  Below helps me from Linux reset the time using ntp.

Useful commands:

sudo apt-get install tlsdate
sudo apt-get install ntpd

sudo service ntp stop
sudo ntpd -gq
sudo service ntp start

Below for setting the timezone when l used my raspberry pi
sudo dpkg-reconfigure tzdata

Alternative option:
sudo tlsdate -V -n -H

This entry was posted in Linux and tagged , , , , , . Bookmark the permalink.