Archive for February, 2008

Problem using ntpdate on FreeBSD

I had this problem. ntpdate seemed to work fine except no time adjustments were actualy applied.
Running ntpdate 0.nl.pool.ntp.org just gave me some output:

ntpdate[207]: adjust time server 145.24.129.6 offset -9934.006008 sec

This seemed OK, but after checking with date, the time was still not set correctly.
Hmmm... what could be happening...

Running ntpdate with the -d or -v flags did not reveal anything useful.
Eureka! dmesg had some additional info:

Time adjustment clamped to -1 second

After googling around it seemed this box was running kern.securelevel: 2.
I changed this in my rc.conf:

kern_securelevel_enable="NO"

Then rebooted andit was working fine!

No Comments »

Display date in OSX clock

I wanted to display the date in my OSX toolbar clock without any additional software. This link will help you do this: click here

No Comments »