<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>時刻 on qwerty.work</title>
        <link>https://qwerty.work/tags/%E6%99%82%E5%88%BB/</link>
        <description>Recent content in 時刻 on qwerty.work</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>ja-JP</language>
        <lastBuildDate>Sun, 18 Aug 2013 11:13:47 +0900</lastBuildDate><atom:link href="https://qwerty.work/tags/%E6%99%82%E5%88%BB/index.xml" rel="self" type="application/rss+xml" /><item>
            <title>Windows 2012 Serverでtime.windows.comと時刻同期ができない。</title>
            <link>https://qwerty.work/post/2013/08/windows_2012_servertimewindowscom/</link>
            <pubDate>Sun, 18 Aug 2013 11:13:47 +0900</pubDate>
            <guid>https://qwerty.work/post/2013/08/windows_2012_servertimewindowscom/</guid>
            <description>&lt;p&gt;Windows 2012 Serverで時刻同期について以下のエラーが発生した。&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;ソース：Time-Service&lt;/li&gt;&#xA;&lt;li&gt;イベントID：134&lt;/li&gt;&#xA;&lt;li&gt;エラーメッセージ：そのようなホストは不明です。&lt;/li&gt;&#xA;&lt;li&gt;&amp;rsquo;time.windows.com,0x1&amp;rsquo; での DNS 解決エラーのため、NtpClient でタイム ソースとして使う手動ピアを設定できませんでした。15 分後に再試行し、それ以降は 2 倍の間隔で再試行します。エラー: そのようなホストは不明です。 (0x80072AF9)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;どうやらデフォルトでtime.windows.comに同期の設定がされているのに、time.windows.comに辿りつけないらしい。他のPCでもtime.windows.comと同期できないことがよくありましたので、ntp.nict.jpに変更してみることにしました。Windows 2012 Serverでは時刻サーバーを指定するGUIが無いみたいなので、管理者権限でPowerShellを起動して以下のw32tmコマンドを実行しました。※管理者権限じゃないとエラーになります。&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;w32tm /config /manualpeerlist:&amp;#34;ntp.nict.jp&amp;#34; /update&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;ちなみにNTPサーバーを複数指定したい場合は以下の通り&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;w32tm /config /manualpeerlist:&amp;#34;ntp.nict.jp time.windows.com&amp;#34; /update&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;あっさり時刻サーバーの変更と同期が完了しました。本当に変更されたかどうかの確認は以下のコマンドで確認できます。&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;w32tm /query /status&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
        </item><item>
            <title>YAMAHAルーターの時計（時刻）とNTPサーバーを同期させるコマンド</title>
            <link>https://qwerty.work/post/2012/12/yamahantp/</link>
            <pubDate>Wed, 26 Dec 2012 10:41:32 +0900</pubDate>
            <guid>https://qwerty.work/post/2012/12/yamahantp/</guid>
            <description>&lt;p&gt;自宅も会社もヤマハのルーターを使用していて、いつもコマンドによる設定方法を忘れるのでメモ。&lt;/p&gt;&#xA;&lt;p&gt;ルーターの内部時計の時刻をNTPサーバーと毎日6時に同期させるコマンドです。&lt;/p&gt;&#xA;&lt;h2 id=&#34;入力方法&#34;&gt;入力方法&#xA;&lt;/h2&gt;&lt;ul&gt;&#xA;&lt;li&gt;コマンドプロンプトを起動して以下のコマンドを入力してルーターにログインする&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;telnet 192.168.100.1（←ルーターのIPアドレス）&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;&#xA;&lt;li&gt;管理者としてログインする&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;admin&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;&#xA;&lt;li&gt;同期の時刻とNTPサーバーを指定して保存&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;schedule at 1 */* 06:00 * ntpdate ntp.nict.jp syslog&#xA;save&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;上記は毎日6:00に同期します。以下は毎週月曜日の9:00に同期する場合です。&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;schedule at 1 */Mon 06:00 * ntpdate ntp.nict.jp syslog&#xA;save&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;syslog&lt;/strong&gt;は時刻同期されているかログで確認する場合に必要ですが、不要な場合は&lt;strong&gt;syslog&lt;/strong&gt;を省略します。&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;ログを確認する&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;show log reverse&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;その他参考&#34;&gt;その他参考&#xA;&lt;/h2&gt;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;  &#xA;&#xA;&#xA;&lt;div class=&#34;link-card&#34;&gt;&#xA;  &lt;a href=&#34;http://www.rtpro.yamaha.co.jp/RT/manual/rt-common/schedule/schedule_at.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&#xA;    &#xA;    &lt;div class=&#34;link-card-image&#34;&gt;&#xA;      &lt;img src=&#34;https://image.thum.io/get/width/300/crop/200/http://www.rtpro.yamaha.co.jp/RT/manual/rt-common/schedule/schedule_at.html&#34; alt=&#34;http://www.rtpro.yamaha.co.jp/RT/manual/rt-common/schedule/schedule_at.html&#34; loading=&#34;lazy&#34;&gt;&#xA;    &lt;/div&gt;&#xA;    &#xA;    &lt;div class=&#34;link-card-body&#34;&gt;&#xA;      &lt;span class=&#34;link-card-title&#34;&gt;http://www.rtpro.yamaha.co.jp/RT/manual/rt-common/schedule/schedule_at.html&lt;/span&gt;&#xA;      &#xA;      &lt;span class=&#34;link-card-url&#34;&gt;http://www.rtpro.yamaha.co.jp/RT/manual/rt-common/schedule/schedule_at.html&lt;/span&gt;&#xA;    &lt;/div&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/div&gt;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;  &#xA;&#xA;&#xA;&lt;div class=&#34;link-card&#34;&gt;&#xA;  &lt;a href=&#34;http://www.rtpro.yamaha.co.jp/RT/manual/rt-common/setup/ntpdate.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&#xA;    &#xA;    &lt;div class=&#34;link-card-image&#34;&gt;&#xA;      &lt;img src=&#34;https://image.thum.io/get/width/300/crop/200/http://www.rtpro.yamaha.co.jp/RT/manual/rt-common/setup/ntpdate.html&#34; alt=&#34;http://www.rtpro.yamaha.co.jp/RT/manual/rt-common/setup/ntpdate.html&#34; loading=&#34;lazy&#34;&gt;&#xA;    &lt;/div&gt;&#xA;    &#xA;    &lt;div class=&#34;link-card-body&#34;&gt;&#xA;      &lt;span class=&#34;link-card-title&#34;&gt;http://www.rtpro.yamaha.co.jp/RT/manual/rt-common/setup/ntpdate.html&lt;/span&gt;&#xA;      &#xA;      &lt;span class=&#34;link-card-url&#34;&gt;http://www.rtpro.yamaha.co.jp/RT/manual/rt-common/setup/ntpdate.html&lt;/span&gt;&#xA;    &lt;/div&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/div&gt;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;  &#xA;&#xA;&#xA;&lt;div class=&#34;link-card&#34;&gt;&#xA;  &lt;a href=&#34;http://www.venus.dti.ne.jp/~yoshi-o/NTP/NTP-Table.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&#xA;    &#xA;    &lt;div class=&#34;link-card-image&#34;&gt;&#xA;      &lt;img src=&#34;https://image.thum.io/get/width/300/crop/200/http://www.venus.dti.ne.jp/~yoshi-o/NTP/NTP-Table.html&#34; alt=&#34;http://www.venus.dti.ne.jp/~yoshi-o/NTP/NTP-Table.html&#34; loading=&#34;lazy&#34;&gt;&#xA;    &lt;/div&gt;&#xA;    &#xA;    &lt;div class=&#34;link-card-body&#34;&gt;&#xA;      &lt;span class=&#34;link-card-title&#34;&gt;http://www.venus.dti.ne.jp/~yoshi-o/NTP/NTP-Table.html&lt;/span&gt;&#xA;      &#xA;      &lt;span class=&#34;link-card-url&#34;&gt;http://www.venus.dti.ne.jp/~yoshi-o/NTP/NTP-Table.html&lt;/span&gt;&#xA;    &lt;/div&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/div&gt;&#xA;&#xA;</description>
        </item></channel>
</rss>
