diff --git a/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml b/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml index f05e02fc8f..b3b230b2d7 100644 --- a/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml @@ -5976,7 +5976,7 @@ zone "10.168.192.in-addr.arpa" in { clock setting and the correct time. To enable &man.ntpdate.8; at boot time, add - ntpdate_enable="YES" to + ntpdate_enable="YES" to /etc/rc.conf. You will also need to specify all servers you wish to synchronize with and any flags to be passed to &man.ntpdate.8; in @@ -6034,12 +6034,12 @@ driftfile /var/db/ntp.drift By default, your NTP server will be accessible to all hosts on the Internet. The restrict - option in &man.ntp.conf.5; allows you to control which + option in /etc/ntp.conf allows you to control which machines can access your server. If you want to deny all machines from accessing your NTP server, add the following line to - /etc/ntp.conf + /etc/ntp.conf: restrict default ignore @@ -6067,7 +6067,7 @@ driftfile /var/db/ntp.drift Running the NTP Server To ensure the NTP server is started at boot time, add the - line xntpd_enable="YES" to + line xntpd_enable="YES" to /etc/rc.conf. If you wish to pass additional flags to &man.ntpd.8; edit the xntpd_flags parameter in @@ -6078,6 +6078,12 @@ driftfile /var/db/ntp.drift parameters from xntpd_flags in /etc/rc.conf. For example: &prompt.root; ntpd -p /var/run/ntpd.pid + + + Under &os; 5.X, various options in + /etc/rc.conf have been renamed. Thus, + you have to replace every instance of xntpd + with ntpd in the options above.