Recently I noticed that my system clock tends to run a little fast up to the point where it is 7 to 10 minutes ahead of the actual time. (I now know that hardware clocks in common computers are not very good. If you want to know more click here)
After a little research I found out that I did not use internet time synchronization yet. So I guess the hardware clock on my notebook is not a very accurate device.
Thankfully, there is ntpd, the network time protocol daemon, which synchronizes the software clock of linux systems with available sources on the internet.
After the installation via
pacman -S ntp, you first need to select a source for your time signal. Available sources are listed here. Put them into your
/etc/ntp.conf file and you’re good to go.
Next stop the
hwclock daemon and start
sudo /etc/rc.d/hwclock stop sudo /etc/rc.d/ntpd start
The daemon will then periodically update your system clock.
To start the daemon at boot, add it to your DAEMONS list in
/etc/rc.conf and make sure,
hwclock is blacklisted.