码迷,mamicode.com
首页 > Web开发 > 详细

解决 RaspberryPi 树莓派 NTP服务异常 无法自动同步时间

时间:2015-10-24 14:23:43      阅读:2735      评论:0      收藏:0      [点我收藏+]

标签:

sudo nano /etc/ntp.conf

然后找到

# pool.ntp.org maps to about 1000 low-stratum NTP servers. Your server will
# pick a different set every time it starts up. Please consider joining the
# pool: <http://www.pool.ntp.org/join.html>
server 0.debain.pool.ntp.org iburst
server 1.debain.pool.ntp.org iburst
server 2.debain.pool.ntp.org iburst
server 3.debain.pool.ntp.org iburst

或者类似的东西,把它改成

# pool.ntp.org maps to about 1000 low-stratum NTP servers. Your server will
# pick a different set every time it starts up. Please consider joining the
# pool: <http://www.pool.ntp.org/join.html>
server asia.pool.ntp.org iburst

重启即可

原理: 原来的NTP服务器pool(提供服务器名称的网站)貌似被墙了,因此改成这样(asia.pool.ntp.org

解决 RaspberryPi 树莓派 NTP服务异常 无法自动同步时间

标签:

原文地址:http://www.cnblogs.com/turtlegood/p/4906643.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!