I have been trying to write something on the blog for a long time, it was a very busy month, and the next one will not be any different, but I can not live without my hobby, and yesterday I run into a weird problem, my two computers showed the time four hours ahead!, I looked for an easy way to sync them and stumbled upon this way.
Openntpd, and from its webpage:
OpenNTPD is a FREE, easy to use implementation of the Network Time Protocol. It provides the ability to sync the local clock to remote NTP servers and can act as NTP server itself, redistributing the local clock.
OpenNTPD is primarily developed by Henning Brauer as part of the OpenBSD Project. The portable version is made by Darren Tucker. The software is freely usable and re-usable by everyone under a BSD license.
I have installed it now in Arch Linux, Debian and Gentoo, and it worked flawlessly on the three of them.
Installing and running it
For Debian / Ubuntu
sudo aptitude install openntpd
sudo emerge openntpd
For Arch Linux
sudo pacman -S openntpd
On Arch Linux you should also add the daemon to your
/etc/rc.conf file, in the DAEMONS line, and may look like this
DAEMONS=(syslog-ng network netfs crond openntpd)
That will let it working for your basic needs, as is to keep you clock on time.
Now if you want your computer to also be a Time server uncomment the line
listen on *
To make all your other machines to look at your new Time server just add this line to your
as your first or only server line your conf. file.