小编fat*_*fat的帖子

Arch ntpd/ntpdate 不同步时钟

我的 raspi 运行 Arch 没有使用 NTPD 更新时间。我在跑

 [root@fatpi ~]# cat /proc/version
 Linux version 3.10.28-1-ARCH (nobody@root-armv6-copy) (gcc version 4.8.2 20131219 (prerelease) (GCC) ) #1 PREEMPT Tue Jan 28 15:46:05 MST 2014
Run Code Online (Sandbox Code Playgroud)

所以我停止服务并尝试使用 ntpdate 进行更新,但是“ntpdate -sb”不起作用,奇怪的是“ntpdate -qd”将输出正确的日期和偏移量:


[root@fatpi ~]# ntpdate -dq time.nist.gov
31 Dec 18:09:13 ntpdate[299]: ntpdate 4.2.6p5@1.2349-o Sat Jan 11 17:42:10 UTC 2014 (1)
Looking for host time.nist.gov and service ntp
host found : nist1-chi.ustiming.org
transmit(216.171.120.36)
receive(216.171.120.36)
transmit(216.171.120.36)
receive(216.171.120.36)
transmit(216.171.120.36)
receive(216.171.120.36)
transmit(216.171.120.36)
receive(216.171.120.36)
server 216.171.120.36, port 123
stratum 1, precision -29, …
Run Code Online (Sandbox Code Playgroud)

linux arch-linux ntpd ntp raspberry-pi

7
推荐指数
1
解决办法
1万
查看次数

标签 统计

arch-linux ×1

linux ×1

ntp ×1

ntpd ×1

raspberry-pi ×1