LoginSignup
0
0

More than 5 years have passed since last update.

Raspberry Pi 2で時刻を合わせる

Last updated at Posted at 2017-06-29

はじめに

ntpdateコマンドを実行しても時刻があわなくて困ったので、記録する。

TL;DL

  1. 時刻ズレが大きいと、Fixしてくれない
  2. the NTP socket is in use, exitingsudo systemctl stop ntp で一度停止するればよい
  3. no server suitable for synchronization found は 社内サーバを指定することで対処 (社内Proxyの問題?)

環境

Raspberry PI 2 Model B
RASPBIAN JESSIE LITE (2017-06-21)

手順

addressは、ntp.jst.mfeed.ad.jp で良いと思いますが、社内から使えなかった。

sudo systemctl stop ntp
sudo date -s '06/29 10:19:58 2017'
sudo ntpdate <address>
sudo systemctl start ntp
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0