FreeBSD
Open the configuration file with the command: ee /etc/ntp.conf
Keyboard shortcut CTRL+K delete all lines
Describing the options:
pool pool1.ntp.od.ua
tinker panic 0
restrict default noquery nomodify
restrict 127.0.0.1
restrict pool1.ntp.od.ua
Next, press the keys in turn ESC a (leave editor)
Once again the key a (save changes)
We enable autostart of the ntp daemon, open the configuration file with the command: ee /etc/rc.conf
Adding a line: ntpd_enable=”YES”
Next, press the keys in turn ESC a (leave editor)
Once again the key a (save changes)
Start the ntp daemon with the command: service ntpd start
Checking the synchronization status and time deviation: ntpq -pn
After a while, an IP will be selected from the pool
After a while, in front of the selected server as a reference, an asterisk symbol “*” will appear
Setup completed.
Leave a Reply