Saturday, February 17, 2007

Gentoo Openntpd Client Setup

I prefer to use Openntp to synchronize my time, it appears to be very easy to setup indeed. Here's how I get it to work with just few steps.

Installing openntpd -

shell>emerge -v openntpd


Adding two lines to /etc/ntpd.conf

shell>echo "server ntp.jaring.my" >> /etc/ntpd.conf


shell>echo "server ntp1b.jaring.my" >> /etc/ntpd.conf


Then just start it up -

shell>sudo /etc/init.d/ntpd start


Remember to change this entry in the file /etc/conf.d/clock from

CLOCK="UTC"

to

CLOCK="local"

Done.That's pretty quick and normally you just need to change the ntp server to your preferred one.

Enjoy :]

No comments: