NullSpin
October 18th, 2004, 15:30
When you enable ntpdate at startup via rc.conf is the server information pulled for /etc/ntp.conf
The almight handbook says:

You will also need to specify all servers you wish to synchronize with and any flags to be passed to ntpdate(8) in ntpdate_flags.

Is it me or is that a little vague? I'm sure it's me.

The reason I began this little project was the timestamp on my ports seems to be set in the future so I get this error when I run portupgrade -ra:

tar : xxx/xxx/xxx/utf8encodings/cx time stamp may 12 00:49 2022 is 554223487 s in the future

Anyone have an idea?
Thanks
NS

Kernel_Killer
October 19th, 2004, 01:04
set your server, and you should be fine. If you want to distribute to other you also need to set more in the ntp.conf. To make this reply less vague than the handbook:

server time.nist.gov prefer # local clock driver
server tick.mit.edu
restrict 192.168.0.1 mask 255.255.255.0 nomodify nopeer
restrict 192.168.0.2 mask 255.255.255.0 nomodify nopeer

0.1 and 0.2 being hosts on your network to sync with this server.

You could set a cron job to run rdate instead of running a NTP server if you only need it for this one host.