# vi /etc/ntp.conf
...
#server 0.pool.ntp.org
#server 1.pool.ntp.org
#server 2.pool.ntp.org
server 192.168.1.73
#server 1.pool.ntp.org
#server 2.pool.ntp.org
server 192.168.1.73
Next add the line ntpd=YES to rc.conf to start it while booting:
# vi /etc/rc.conf
...
ntpd=YES
ntpd=YES
...
Then start the NTP client manually once:
# /etc/rc.d/ntpd start
And check if it is running:
# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
192.168.1.73 .INIT. 16 u - 64 0 0.000 0.000 0.000
No comments:
Post a Comment