{"id":319,"date":"2020-12-21T15:19:34","date_gmt":"2020-12-21T21:19:34","guid":{"rendered":"https:\/\/www.guammie.com\/donovan\/?p=319"},"modified":"2020-12-21T15:28:02","modified_gmt":"2020-12-21T21:28:02","slug":"timedatectl-on-rpi","status":"publish","type":"post","link":"https:\/\/www.guammie.com\/donovan\/2020\/12\/21\/timedatectl-on-rpi\/","title":{"rendered":"timedatectl on rpi"},"content":{"rendered":"\n<p class=\"has-text-align-left wp-block-paragraph\">Recently noticed time skew across my workstations and servers at home and put together a Stratum-1 NTP server for the local network using the Adafruit Ultimate GPS hat and an RPi 4.  I&#8217;ll post the write up later.  In the meantime, here are the commands I&#8217;m using to point all the rest of my RPis at the NTP servers for the local network:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>sudo timedatectl set-timezone America\/Chicago<\/code><br><code>sudo timedatectl set-ntp true<\/code><br><code>sudo bash -c 'echo \"NTP=tick.guammie.localtock.guammie.local\" >> \/etc\/systemd\/timesyncd.conf'<br>sudo systemctl restart systemd-timesyncd<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can check and validate with these commands:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>timedatectl timesync-status<br>timedatectl show-timesync<br>systemctl status systemd-timesyncd<\/code><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently noticed time skew across my workstations and servers at home and put together a Stratum-1 NTP server for the local network using the Adafruit Ultimate GPS hat and an RPi 4. I&#8217;ll post the write up later. In the meantime, here are the commands I&#8217;m using to point all the rest of my RPis [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[11],"tags":[],"class_list":["post-319","post","type-post","status-publish","format-standard","hentry","category-linux"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p1tGEc-59","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.guammie.com\/donovan\/wp-json\/wp\/v2\/posts\/319","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.guammie.com\/donovan\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.guammie.com\/donovan\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.guammie.com\/donovan\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.guammie.com\/donovan\/wp-json\/wp\/v2\/comments?post=319"}],"version-history":[{"count":7,"href":"https:\/\/www.guammie.com\/donovan\/wp-json\/wp\/v2\/posts\/319\/revisions"}],"predecessor-version":[{"id":328,"href":"https:\/\/www.guammie.com\/donovan\/wp-json\/wp\/v2\/posts\/319\/revisions\/328"}],"wp:attachment":[{"href":"https:\/\/www.guammie.com\/donovan\/wp-json\/wp\/v2\/media?parent=319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.guammie.com\/donovan\/wp-json\/wp\/v2\/categories?post=319"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.guammie.com\/donovan\/wp-json\/wp\/v2\/tags?post=319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}