ntp で時刻合わせ.

NTPクライアントの設定.

ntpサーバとして

  • ntp1.jst.mfeed.ad.jp
  • ntp2.jst.mfeed.ad.jp

を参照する.複数のNTPサーバを参照すると,より精度が高くなる.

/etc/ntp.conf

restrict default ignore

restrict 127.0.0.1 

restrict 210.173.160.27   mask 255.255.255.255 nomodify notrap noquery
restrict 210.173.160.57   mask 255.255.255.255 nomodify notrap noquery

server 210.173.160.27  #  ntp1.jst.mfeed.ad.jp 
server 210.173.160.57  #  ntp2.jst.mfeed.ad.jp 

driftfile /etc/ntp/drift
authenticate no