{"id":111,"date":"2008-02-14T09:50:31","date_gmt":"2008-02-14T08:50:31","guid":{"rendered":"https:\/\/news.galsys.co.uk\/?p=111"},"modified":"2011-10-27T11:12:55","modified_gmt":"2011-10-27T11:12:55","slug":"linuxunix-basic-ntp-configuration","status":"publish","type":"post","link":"https:\/\/www.galsys.co.uk\/news\/linuxunix-basic-ntp-configuration\/","title":{"rendered":"Linux and Unix Basic NTP Configuration"},"content":{"rendered":"<p>Network Time Protocol (NTP) is an Internet protocol used for the transfer of accurate time, providing time information so that a precise time can be obtained and maintained on a network<\/p>\n<p>Most UNIX and Linux operating systems provide built-in time synchronisation functionality with its NTP (Network Time Protocol) daemon. If the NTP service is not available on your version of UNIX\\Linux, NTP version 4 is open source and can easily be downloaded and configured, compiled and installed from www.ntp.org.<\/p>\n<p>Network Time Protocol is the standard service for time dissemination across TCP\/IP networks. It provides accuracies of 1-50 milliseconds, depending on the characteristics of the synchronization source and network paths.<\/p>\n<p>The configuration file fro the NTP daemon is named ntp.conf and contains a list of reference clocks that it can synchronise too. The command \u2018server\u2019 specifies the reference clock, any characters after the &#8216;#&#8217; symbol are comments, example:<br \/>\nserver time-a.nist.gov # Public NTP server: NIST<br \/>\ndriftfile \/var\/lib\/ntp\/ntp.drift<\/p>\n<p>The drift file command identifies the location where the drift is recorded (sometimes referred to as a \u2018frequency error). This value can be offset by NTP to ensure of increased accuracy. When configured, NTP can be controlled using the commands &#8216;ntpd start\u2019 \u2018ntpd stop\u2019 \u2018 ntpq \u2013p\u2019 (displays status)<\/p>\n<p>NTP can also authenticate timing resources Note: It is strongly recommends that you configure a time server with a hardware source rather than from the internet where there is no authentication. Authentication codes are specified in the &#8216;ntp.keys&#8217; file.<\/p>\n<p>Specialist NTP servers are available that can receive transmissions from either GPS or national time reference broadcasts. They are relatively cheap and the signal is authenticated providing a secure time reference.<\/p>\n<p>Authentication allows passwords to be specified by the NTP server and its clients. NTP passwords or keys are stored in the ntp.keys file in the following format: number M (The M stands for MD5 encryption), password:<\/p>\n<p>1 M mypassword<\/p>\n<p>3 M my2ndpassword<\/p>\n<p>5 M my3rdpassword<\/p>\n<p>Authentication for NTP has been developed to prevent malicious tampering with system synchronisation just as firewalls have been developed to protect networks from attack but as with any system of security it only works if it is utilised.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Network Time Protocol (NTP) is an Internet protocol used for the transfer of accurate time, providing time information so that a precise time can be obtained and maintained on a network Most UNIX and Linux operating systems provide built-in time synchronisation functionality with its NTP (Network Time Protocol) daemon. If the NTP service is not&hellip;<\/p>\n<p><a class=\"btn btn-primary\" href=\"https:\/\/www.galsys.co.uk\/news\/linuxunix-basic-ntp-configuration\/\">Continue reading <i class=\"fas fa-arrow-right\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-111","post","type-post","status-publish","format-standard","hentry","category-time-synchronisation"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Linux and Unix Basic NTP Configuration - Galleon Systems<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.galsys.co.uk\/news\/linuxunix-basic-ntp-configuration\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linux and Unix Basic NTP Configuration - Galleon Systems\" \/>\n<meta property=\"og:description\" content=\"Network Time Protocol (NTP) is an Internet protocol used for the transfer of accurate time, providing time information so that a precise time can be obtained and maintained on a network Most UNIX and Linux operating systems provide built-in time synchronisation functionality with its NTP (Network Time Protocol) daemon. If the NTP service is not&hellip;Continue reading\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.galsys.co.uk\/news\/linuxunix-basic-ntp-configuration\/\" \/>\n<meta property=\"og:site_name\" content=\"Galleon Systems\" \/>\n<meta property=\"article:published_time\" content=\"2008-02-14T08:50:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2011-10-27T11:12:55+00:00\" \/>\n<meta name=\"author\" content=\"Richard N Williams\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@galleonsystems\" \/>\n<meta name=\"twitter:site\" content=\"@GalleonSystems\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Richard N Williams\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/linuxunix-basic-ntp-configuration\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/linuxunix-basic-ntp-configuration\\\/\"},\"author\":{\"name\":\"Richard N Williams\",\"@id\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/#\\\/schema\\\/person\\\/38013a1dcb0021026d59957e276aa3cd\"},\"headline\":\"Linux and Unix Basic NTP Configuration\",\"datePublished\":\"2008-02-14T08:50:31+00:00\",\"dateModified\":\"2011-10-27T11:12:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/linuxunix-basic-ntp-configuration\\\/\"},\"wordCount\":372,\"articleSection\":[\"Time Synchronisation\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/linuxunix-basic-ntp-configuration\\\/\",\"url\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/linuxunix-basic-ntp-configuration\\\/\",\"name\":\"Linux and Unix Basic NTP Configuration - Galleon Systems\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/#website\"},\"datePublished\":\"2008-02-14T08:50:31+00:00\",\"dateModified\":\"2011-10-27T11:12:55+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/#\\\/schema\\\/person\\\/38013a1dcb0021026d59957e276aa3cd\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/linuxunix-basic-ntp-configuration\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/linuxunix-basic-ntp-configuration\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/linuxunix-basic-ntp-configuration\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux and Unix Basic NTP Configuration\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/#website\",\"url\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/\",\"name\":\"Galleon Systems\",\"description\":\"Sales: 0121 608 7230\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/#\\\/schema\\\/person\\\/38013a1dcb0021026d59957e276aa3cd\",\"name\":\"Richard N Williams\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/01862680879ba669edd67af1e800a1061bb93933cf7fe58c48043fb7d52911bc?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/01862680879ba669edd67af1e800a1061bb93933cf7fe58c48043fb7d52911bc?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/01862680879ba669edd67af1e800a1061bb93933cf7fe58c48043fb7d52911bc?s=96&d=mm&r=g\",\"caption\":\"Richard N Williams\"},\"description\":\"Richard N Williams is a technical author and a specialist in the NTP Server and Time Synchronisation industry.\",\"sameAs\":[\"https:\\\/\\\/x.com\\\/galleonsystems\"],\"url\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Linux and Unix Basic NTP Configuration - Galleon Systems","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.galsys.co.uk\/news\/linuxunix-basic-ntp-configuration\/","og_locale":"en_US","og_type":"article","og_title":"Linux and Unix Basic NTP Configuration - Galleon Systems","og_description":"Network Time Protocol (NTP) is an Internet protocol used for the transfer of accurate time, providing time information so that a precise time can be obtained and maintained on a network Most UNIX and Linux operating systems provide built-in time synchronisation functionality with its NTP (Network Time Protocol) daemon. If the NTP service is not&hellip;Continue reading","og_url":"https:\/\/www.galsys.co.uk\/news\/linuxunix-basic-ntp-configuration\/","og_site_name":"Galleon Systems","article_published_time":"2008-02-14T08:50:31+00:00","article_modified_time":"2011-10-27T11:12:55+00:00","author":"Richard N Williams","twitter_card":"summary_large_image","twitter_creator":"@galleonsystems","twitter_site":"@GalleonSystems","twitter_misc":{"Written by":"Richard N Williams","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.galsys.co.uk\/news\/linuxunix-basic-ntp-configuration\/#article","isPartOf":{"@id":"https:\/\/www.galsys.co.uk\/news\/linuxunix-basic-ntp-configuration\/"},"author":{"name":"Richard N Williams","@id":"https:\/\/www.galsys.co.uk\/news\/#\/schema\/person\/38013a1dcb0021026d59957e276aa3cd"},"headline":"Linux and Unix Basic NTP Configuration","datePublished":"2008-02-14T08:50:31+00:00","dateModified":"2011-10-27T11:12:55+00:00","mainEntityOfPage":{"@id":"https:\/\/www.galsys.co.uk\/news\/linuxunix-basic-ntp-configuration\/"},"wordCount":372,"articleSection":["Time Synchronisation"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.galsys.co.uk\/news\/linuxunix-basic-ntp-configuration\/","url":"https:\/\/www.galsys.co.uk\/news\/linuxunix-basic-ntp-configuration\/","name":"Linux and Unix Basic NTP Configuration - Galleon Systems","isPartOf":{"@id":"https:\/\/www.galsys.co.uk\/news\/#website"},"datePublished":"2008-02-14T08:50:31+00:00","dateModified":"2011-10-27T11:12:55+00:00","author":{"@id":"https:\/\/www.galsys.co.uk\/news\/#\/schema\/person\/38013a1dcb0021026d59957e276aa3cd"},"breadcrumb":{"@id":"https:\/\/www.galsys.co.uk\/news\/linuxunix-basic-ntp-configuration\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.galsys.co.uk\/news\/linuxunix-basic-ntp-configuration\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.galsys.co.uk\/news\/linuxunix-basic-ntp-configuration\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.galsys.co.uk\/news\/"},{"@type":"ListItem","position":2,"name":"Linux and Unix Basic NTP Configuration"}]},{"@type":"WebSite","@id":"https:\/\/www.galsys.co.uk\/news\/#website","url":"https:\/\/www.galsys.co.uk\/news\/","name":"Galleon Systems","description":"Sales: 0121 608 7230","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.galsys.co.uk\/news\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.galsys.co.uk\/news\/#\/schema\/person\/38013a1dcb0021026d59957e276aa3cd","name":"Richard N Williams","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/01862680879ba669edd67af1e800a1061bb93933cf7fe58c48043fb7d52911bc?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/01862680879ba669edd67af1e800a1061bb93933cf7fe58c48043fb7d52911bc?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/01862680879ba669edd67af1e800a1061bb93933cf7fe58c48043fb7d52911bc?s=96&d=mm&r=g","caption":"Richard N Williams"},"description":"Richard N Williams is a technical author and a specialist in the NTP Server and Time Synchronisation industry.","sameAs":["https:\/\/x.com\/galleonsystems"],"url":"https:\/\/www.galsys.co.uk\/news\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.galsys.co.uk\/news\/wp-json\/wp\/v2\/posts\/111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.galsys.co.uk\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.galsys.co.uk\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.galsys.co.uk\/news\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.galsys.co.uk\/news\/wp-json\/wp\/v2\/comments?post=111"}],"version-history":[{"count":0,"href":"https:\/\/www.galsys.co.uk\/news\/wp-json\/wp\/v2\/posts\/111\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.galsys.co.uk\/news\/wp-json\/wp\/v2\/media?parent=111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.galsys.co.uk\/news\/wp-json\/wp\/v2\/categories?post=111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.galsys.co.uk\/news\/wp-json\/wp\/v2\/tags?post=111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}