2021年12月20日 星期一

Raspberry Pi 設定 NTP Server

 樹莓派 NTP SERVER 設定,含 PPS 訊號源

http://oblitet.blogspot.com/2017/08/ntp-server-pps.html


純軟體,需網路

https://www.youtube.com/watch?v=V87_FMLLMWE



用 Raspberry Pi + GPS 模組建立 stratum 1 的 NTP server

https://medium.com/@phutidus/%E7%94%A8-raspberry-pi-gps-%E6%A8%A1%E7%B5%84%E5%BB%BA%E7%AB%8B-stratum-1-%E7%9A%84-ntp-server-cb1b501a5f91



以下為指令安裝NTP Server

https://rishabhdevyadav.medium.com/how-to-install-ntp-server-and-client-s-on-ubuntu-18-04-lts-f0562e41d0e1


sudo apt-get update


sudo apt-get install ntp


sntp --version


sudo nano /etc/ntp.conf

pool time.stdtime.gov.tw
pool tock.stdtime.gov.tw
pool watch.stdtime.gov.tw
pool clock.stdtime.gov.tw
pool tick.stdtime.gov.tw


以下指令為安裝NTP Client


sudo apt-get install ntpdate


sudo nano /etc/hosts

192.168.1.250 759NTP


sudo ntpdate NTP-server-host


sudo timedatectl set-ntp off

沒有留言:

張貼留言