{"id":1678,"date":"2022-08-10T12:48:13","date_gmt":"2022-08-10T10:48:13","guid":{"rendered":"https:\/\/www.ntp.od.ua\/?page_id=1678"},"modified":"2022-08-10T12:48:14","modified_gmt":"2022-08-10T10:48:14","slug":"freebsd","status":"publish","type":"page","link":"https:\/\/www.ntp.od.ua\/?page_id=1678&lang=en","title":{"rendered":"FreeBSD"},"content":{"rendered":"<p>Open the configuration file with the command: <span style=\"color: #ff0000;\"><strong>ee \/etc\/ntp.conf<\/strong><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"\/wp-content\/uploads\/2022\/08\/FreeBSD-01.avif\" alt=\"FreeBSD-01\" width=\"720\" height=\"400\" \/><\/p>\n<p>Keyboard shortcut <strong><span style=\"color: #ff0000;\">CTRL+K<\/span><\/strong> delete all lines<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"\/wp-content\/uploads\/2022\/08\/FreeBSD-02.avif\" alt=\"FreeBSD-02\" width=\"720\" height=\"400\" \/><\/p>\n<p>Describing the options:<\/p>\n<p><strong><span style=\"color: #ff0000;\">pool pool1.ntp.od.ua<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #ff0000;\">tinker panic 0<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #ff0000;\">restrict default noquery nomodify<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #ff0000;\">restrict 127.0.0.1<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #ff0000;\">restrict pool1.ntp.od.ua<\/span><\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"\/wp-content\/uploads\/2022\/08\/FreeBSD-03.avif\" alt=\"FreeBSD-03\" width=\"720\" height=\"400\" \/><\/p>\n<p>Next, press the keys in turn <span style=\"color: #ff0000;\"><strong>ESC a<\/strong><\/span> (leave editor)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"\/wp-content\/uploads\/2022\/08\/FreeBSD-04.avif\" alt=\"FreeBSD-04\" width=\"720\" height=\"400\" \/><\/p>\n<p>Once again the key <span style=\"color: #ff0000;\"><strong>a<\/strong><\/span> (save changes)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"\/wp-content\/uploads\/2022\/08\/FreeBSD-05.avif\" alt=\"FreeBSD-05\" width=\"720\" height=\"400\" \/><\/p>\n<p>We enable autostart of the ntp daemon, open the configuration file with the command: <span style=\"color: #ff0000;\"><strong>ee \/etc\/rc.conf<\/strong><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"\/wp-content\/uploads\/2022\/08\/FreeBSD-06.avif\" alt=\"FreeBSD-06\" width=\"720\" height=\"400\" \/><\/p>\n<p>Adding a line: <span style=\"color: #ff0000;\"><strong>ntpd_enable=&#187;YES&#187;<\/strong><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"\/wp-content\/uploads\/2022\/08\/FreeBSD-07.avif\" alt=\"FreeBSD-07\" width=\"720\" height=\"400\" \/><\/p>\n<p>Next, press the keys in turn <span style=\"color: #ff0000;\"><strong>ESC a<\/strong><\/span> (leave editor)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"\/wp-content\/uploads\/2022\/08\/FreeBSD-08.avif\" alt=\"FreeBSD-08\" width=\"720\" height=\"400\" \/><\/p>\n<p>Once again the key <span style=\"color: #ff0000;\"><strong>a<\/strong><\/span> (save changes)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"\/wp-content\/uploads\/2022\/08\/FreeBSD-09.avif\" alt=\"FreeBSD-09\" width=\"720\" height=\"400\" \/><\/p>\n<p>Start the ntp daemon with the command: <span style=\"color: #ff0000;\"><strong>service ntpd start<\/strong><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"\/wp-content\/uploads\/2022\/08\/FreeBSD-10.avif\" alt=\"FreeBSD-10\" width=\"720\" height=\"400\" \/><\/p>\n<p>Checking the synchronization status and time deviation: <span style=\"color: #ff0000;\"><strong>ntpq -pn<\/strong><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"\/wp-content\/uploads\/2022\/08\/FreeBSD-11.avif\" alt=\"FreeBSD-11\" width=\"720\" height=\"400\" \/><\/p>\n<p>After a while, an IP will be selected from the pool<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"\/wp-content\/uploads\/2022\/08\/FreeBSD-12.avif\" alt=\"FreeBSD-12\" width=\"720\" height=\"400\" \/><\/p>\n<p>After a while, in front of the selected server as a reference, an asterisk symbol &#171;*&#187; will appear<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"\/wp-content\/uploads\/2022\/08\/FreeBSD-13.avif\" alt=\"FreeBSD-13\" width=\"720\" height=\"400\" \/><\/p>\n<p>Setup completed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.ntp.od.ua\/?page_id=1678&#038;lang=en\"> <span class=\"screen-reader-text\">FreeBSD<\/span> \u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1068,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-1678","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.ntp.od.ua\/index.php?rest_route=\/wp\/v2\/pages\/1678","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ntp.od.ua\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ntp.od.ua\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.ntp.od.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ntp.od.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1678"}],"version-history":[{"count":1,"href":"https:\/\/www.ntp.od.ua\/index.php?rest_route=\/wp\/v2\/pages\/1678\/revisions"}],"predecessor-version":[{"id":1679,"href":"https:\/\/www.ntp.od.ua\/index.php?rest_route=\/wp\/v2\/pages\/1678\/revisions\/1679"}],"up":[{"embeddable":true,"href":"https:\/\/www.ntp.od.ua\/index.php?rest_route=\/wp\/v2\/pages\/1068"}],"wp:attachment":[{"href":"https:\/\/www.ntp.od.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1678"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}