{"id":2242,"date":"2021-05-03T11:11:51","date_gmt":"2021-05-03T15:11:51","guid":{"rendered":"http:\/\/matthannan.net\/blog\/?p=2242"},"modified":"2021-05-04T17:53:09","modified_gmt":"2021-05-04T21:53:09","slug":"beginning-of-the-end-ntp-server-migration","status":"publish","type":"post","link":"https:\/\/matthannan.net\/blog\/beginning-of-the-end-ntp-server-migration\/","title":{"rendered":"Beginning of the End? NTP Server Migration"},"content":{"rendered":"\n<p>A few weeks back, we had an unexpected power-outage at the house. As the Raspberry Pi does not natively have a real-time clock built into it, this plays havoc on the network. Somehow, NTP and DNS are linked in this space. I don&#8217;t get it, either. But they are. Once I adjust the time and date on the NTP server Pi, all systems come back online.<\/p>\n\n\n\n<p>To fix this, and to get myself started on the migration away from the Pi3B to the Pi4 (4GB), I bought <a rel=\"noreferrer noopener\" href=\"https:\/\/www.adafruit.com\/product\/3013\" target=\"_blank\">a real-time clock from Adafruit<\/a>. Setup was easy-peasy and we&#8217;ve not had any power-outage since. It seems to work miracles! I&#8217;ve also fully migrated my network to <a href=\"https:\/\/pimylifeup.com\/using-ntp-on-linux-with-chrony\/\" target=\"_blank\" rel=\"noreferrer noopener\">chrony<\/a>, which is much easier to manage.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2021\/05\/image.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"479\" height=\"378\" data-attachment-id=\"2243\" data-permalink=\"https:\/\/matthannan.net\/blog\/beginning-of-the-end-ntp-server-migration\/image-13\/\" data-orig-file=\"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2021\/05\/image.png?fit=479%2C378&amp;ssl=1\" data-orig-size=\"479,378\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2021\/05\/image.png?fit=300%2C237&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2021\/05\/image.png?fit=479%2C378&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2021\/05\/image.png?resize=479%2C378&#038;ssl=1\" alt=\"\" class=\"wp-image-2243\" srcset=\"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2021\/05\/image.png?w=479&amp;ssl=1 479w, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2021\/05\/image.png?resize=300%2C237&amp;ssl=1 300w\" sizes=\"auto, (max-width: 479px) 100vw, 479px\" \/><\/a><\/figure>\n\n\n\n<p>Further, I had been waiting since March for a <a rel=\"noreferrer noopener\" href=\"https:\/\/deskpi.com\/\" target=\"_blank\">DeskPi Pro<\/a> to ship from China. <\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/MviNfqoukwo?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span>\n<\/div><\/figure>\n\n\n\n<p>This has gone through two additional design changes and still has not shipped as of today (May 3). I have started the dispute process with PayPal. I wanted this case to be the shell for the Pi4 server. Not only does it do a decent job of wrangling the ports to the front of the case, it includes a space for a 2.5&#8243; SSD drive. I bought a 250GB Crucial just for that task. <\/p>\n\n\n\n<p>While I was buying SSDs with our last bit of COVID stimulus money, I also bought another 250GB Crucial SSD for the OPNsense router that I am slowly building, and a 500GB NVMe M.2 for Jenny and Calin&#8217;s laptop. This freed up the 250GB SATA M.2 that was in there. I tried for a week or so to get this drive to fully boot the Pi4, but whatever adapter\/enclosure I threw at it failed to get the job done. While fuming about the DeskPi Pro case, I decided to pull the trigger on an <a rel=\"noreferrer noopener\" href=\"https:\/\/www.argon40.com\/argon-one-m-2-case-for-raspberry-pi-4.html\" target=\"_blank\">Argon ONE M.2 case<\/a>. This supports SATA M.2 only, which sounds just perfect to me. Reduce, reuse, upcycle!<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2021\/05\/image-1.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"690\" data-attachment-id=\"2244\" data-permalink=\"https:\/\/matthannan.net\/blog\/beginning-of-the-end-ntp-server-migration\/image-1-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2021\/05\/image-1.png?fit=749%2C808&amp;ssl=1\" data-orig-size=\"749,808\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-1\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2021\/05\/image-1.png?fit=278%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2021\/05\/image-1.png?fit=640%2C690&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2021\/05\/image-1.png?resize=640%2C690&#038;ssl=1\" alt=\"\" class=\"wp-image-2244\" srcset=\"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2021\/05\/image-1.png?w=749&amp;ssl=1 749w, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2021\/05\/image-1.png?resize=278%2C300&amp;ssl=1 278w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>This is a lovely aluminum case and the SATA M.2 booted it on the first go. The throughput benchmark tests are just insane and it is less than 10 seconds from &#8220;sudo reboot now&#8221; to being sshed in again. Lightning fast, for a Pi.<br \/>pi@pi5:\/usr\/share\/agnostics $ sh sdtest.sh<br \/>Run 1<br \/>prepare-file;0;0;246375;481<br \/>seq-write;0;0;253034;494<br \/>rand-4k-write;0;0;71702;17925<br \/>rand-4k-read;58306;14576;0;0<br \/>Sequential write speed&nbsp;<strong>253,034<\/strong>&nbsp;KB\/sec (target&nbsp;<strong>10,000<\/strong>) &#8211; PASS<br \/>Random write speed&nbsp;<strong>17925<\/strong>&nbsp;IOPS (target&nbsp;<strong>500<\/strong>) &#8211; PASS<br \/>Random read speed&nbsp;<strong>14576<\/strong>&nbsp;IOPS (target&nbsp;<strong>1500<\/strong>) &#8211; PASS<\/p>\n\n\n\n<p>But, there is a problem. One of the reasons that I wanted the DeskPi Pro was because of the ample internal space. I knew that I would be adding a real-time clock to that Pi, and I would be able to lose it inside the larger case no problem. If you notice with the Argon ONE, however, the GPIO pins are at the top of the case and are covered by that panel. The panel is held in place by magnets In order to get the real-time clock working, I had to pop this panel. It is kind of ugly, which is a pity for such a nice looking case.<\/p>\n\n\n\n<p>This morning, however, I solved it. And I am happy\/not happy about the solution. I started the NTP server service running on the Synology NAS and updated the various chrony.conf files to point towards it. Everything seems to be working fine so far, but we haven&#8217;t had a power-outage yet. \ud83d\ude09 <\/p>\n\n\n\n<p>I have another couple of issues going on with my migration from Pi3B to Pi4 plans, but this post was mainly about NTP and how I am afraid that this may be the beginning of the end of my Pi-based network. <\/p>\n\n\n\n<p>  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few weeks back, we had an unexpected power-outage at the house. As the Raspberry Pi does not natively have a real-time clock built into it, this plays havoc on the network. Somehow, NTP and DNS are linked in this &hellip; <a href=\"https:\/\/matthannan.net\/blog\/beginning-of-the-end-ntp-server-migration\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[415,581,585,583,582,566,353,326,584,573],"class_list":["post-2242","post","type-post","status-publish","format-standard","hentry","category-geek","tag-adafruit","tag-argon-one","tag-cha-cha-cha-changes","tag-deskpi-pro","tag-m-2","tag-nas","tag-ntp","tag-raspberrypi","tag-real-time-clock","tag-synology"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2NxlE-Aa","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":1195,"url":"https:\/\/matthannan.net\/blog\/what-more-to-do-with-a-raspberry-pi\/","url_meta":{"origin":2242,"position":0},"title":"What More to Do With a Raspberry Pi?","author":"matthannan","date":"14 November 2017","format":false,"excerpt":"I am so loving the Pi. As you may recall, I have Pi-Hole running on it, and also SoftEther VPN server. I noticed my co-worker attached earlier today. A few evenings ago, I was chatting with my wife's younger cousin about installing Linux on an old (PowerPC) Power Mac.[1.\u00a0This is\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1597,"url":"https:\/\/matthannan.net\/blog\/raspberry-pi-sd-card-to-ssd-drive-part-2\/","url_meta":{"origin":2242,"position":1},"title":"Raspberry Pi: SD Card to SSD Drive, part 2","author":"matthannan","date":"11 August 2019","format":false,"excerpt":"Oh, brother, has this been a mess. I've certainly relearned a great deal about Linux partitions and boot sectors and a bunch of other stuff that I used to know cold, but this process has beaten me. This morning, after about a week of doing battle with this process, and\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2254,"url":"https:\/\/matthannan.net\/blog\/installing-the-unifi-controller-on-a-synology-nas-in-5-minutes-2019\/","url_meta":{"origin":2242,"position":2},"title":"Installing the Unifi Controller on a Synology NAS in 5 minutes \u2014 (2019)","author":"matthannan","date":"9 May 2021","format":false,"excerpt":"Slowly I turned. And step by step. Inch by inch... [Step-by-Step] Installing the Unifi Controller on a Synology NAS with the use of Docker. Up and running in 5 minutes. Source: Installing the Unifi Controller on a Synology Nas in 5 minutes \u2014 (2019) Unifi Controller is now running on\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/img.youtube.com\/vi\/MYP1OBZfFK0\/0.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1576,"url":"https:\/\/matthannan.net\/blog\/from-the-real-world-to-the-web\/","url_meta":{"origin":2242,"position":3},"title":"From the Real World to the Web","author":"matthannan","date":"9 April 2019","format":false,"excerpt":"Part of my quest for world domination, er, getting my Raspberry Pi to tell me about things in my basement without my having to actually go down there is just about complete. I bought a temperature and humidity sensor from Adafruit and finally got around to wiring it up and\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2019\/04\/tnhPage.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2019\/04\/tnhPage.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2019\/04\/tnhPage.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2019\/04\/tnhPage.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2019\/04\/tnhPage.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2019\/04\/tnhPage.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":2020,"url":"https:\/\/matthannan.net\/blog\/how-to-setup-raspberry-pi-nfs-server\/","url_meta":{"origin":2242,"position":4},"title":"How to Setup Raspberry Pi NFS Server","author":"matthannan","date":"25 August 2020","format":false,"excerpt":"Setup your own network attached storage. Source: How to Setup Raspberry Pi NFS Server Everything old is new again! But smaller. Getting Kodi\/DLNA to work with the Roku was a non-starter, and, amazingly, the following morning Jenny asked me how to get podcasts on the Roku. This is, seriously, a\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2020\/08\/Plex.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2020\/08\/Plex.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2020\/08\/Plex.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2020\/08\/Plex.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2020\/08\/Plex.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":2715,"url":"https:\/\/matthannan.net\/blog\/home-assistant-migrated-from-pi-to-proxmox\/","url_meta":{"origin":2242,"position":5},"title":"Home Assistant Migrated from Pi to Proxmox","author":"matthannan","date":"20 June 2025","format":false,"excerpt":"I just powered down my old Home Assistant server after migrating everything to my Proxmox node. https:\/\/www.youtube.com\/watch?v=OXiAV4V2MsA I've been spending far too much time talking to ChatGPT over the past month or so. It started with some simple suggestions for cleaning up the weather dashboard page. It then became clear\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2025\/06\/weather_dashboard1-scaled.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2025\/06\/weather_dashboard1-scaled.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2025\/06\/weather_dashboard1-scaled.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2025\/06\/weather_dashboard1-scaled.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2025\/06\/weather_dashboard1-scaled.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2025\/06\/weather_dashboard1-scaled.png?resize=1400%2C800&ssl=1 4x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts\/2242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/comments?post=2242"}],"version-history":[{"count":3,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts\/2242\/revisions"}],"predecessor-version":[{"id":2251,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts\/2242\/revisions\/2251"}],"wp:attachment":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/media?parent=2242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/categories?post=2242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/tags?post=2242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}