I wanted to setup ntpd the right way - so not with a crontab entry.
I followed the guide in the FreeBSD docs:
- create an entry with
ntpd_enable="YES"
in /etc/rc.conf - checked that everything works fine when
service ntpd start
is executed - restart the machine and checked
service ntpd status
there I'll get an ntpd is not running.
what am I missing here?
my /etc/rc.conf:
hostname="myspecialhostname"
keymap="german.cp850.kbd"
ifconfig_em0="inet 192.168.5.55 netmask 255.255.255.0"
defaultrouter="192.168.5.1"
sshd_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
dumpdev="AUTO"
zfs_enable="YES"
php_fpm_enable="YES"
apache24_enable="YES"
nfs_client_enable="YES"
my /etc/ntp.conf:
driftfile /var/db/ntpd.drift
server de.pool.ntp.org iburst
server 0.freebsd.pool.ntp.org iburst
server 1.freebsd.pool.ntp.org iburst
server 2.freebsd.pool.ntp.org iburst
restrict default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery
restrict 127.0.0.1
restrict -6 ::1
restrict 127.127.1.0