Page 1 of 1

adding ntp on bootup

PostPosted: Thu May 28, 2009 5:35 am
by Op3r
Hello,

Is there a way to find where is the rc.local equivalent to set the ntp?

PostPosted: Thu May 28, 2009 6:37 am
by okli
Are you looking for /etc/init.d/rc.local ?

The proper way to add a startup script would be similar:
http://www.debian-administration.org/ar ... ith_Debian

However, vicibox server installs the package NTP, which should take care of time synchronization and ntpd daemon should be starting by default upon startup. /etc/ntp.conf is the config file for it.
Ntpdate is also started in /etc/network/if-up.d/ntpdate when any of the network interfaces go up, at boot time at least.

Can't find any reference though, how often synchronization is performed, but you can always add a crontab entry to run ntpdate.

PostPosted: Thu May 28, 2009 11:38 am
by mcargile
I believe ntp is handled by the ntpd init script which should be running. All you should need to do is configured /etc/ntp.conf.