2 月 5 日 16:53:26 ntpdate[414]: 未找到适合同步的服务器

2 月 5 日 16:53:26 ntpdate[414]: 未找到适合同步的服务器

我想在基于 beaglebone 的定制板上设置 ntp。

/etc/ntp.conf文件内容如下

driftfile /var/run/ntp.drift

server pool.ntp.org
server 1.in.pool.ntp.org
server 1.asia.pool.ntp.org
server 2.asia.pool.ntp.org

# By default, exchange time with everybody, but don't allow configuration.
#restrict -4 default kod notrap nomodify nopeer noquery
#restrict -6 default kod notrap nomodify nopeer noquery

# Local users may interrogate the ntp server more closely.
restrict 127.0.0.1
#restrict ::1

当我运行命令时ntpdate -d 77.235.14.49我得到以下输出

5 Feb 17:07:42 ntpdate[429]: ntpdate [email protected] Thu Jan 23 08:13:41 UTC 2014 (1)
Looking for host 77.235.14.49 and service ntp
host found : 77.235.14.49
transmit(77.235.14.49)
transmit(77.235.14.49)
transmit(77.235.14.49)
transmit(77.235.14.49)
transmit(77.235.14.49)
77.235.14.49: Server dropped: no data
server 77.235.14.49, port 123
stratum 0, precision 0, leap 00, trust 000
refid [77.235.14.49], delay 0.00000, dispersion 64.00000
transmitted 4, in filter 4
reference time:    00000000.00000000  Thu, Feb  7 2036 11:58:16.000
originate timestamp: 00000000.00000000  Thu, Feb  7 2036 11:58:16.000
transmit timestamp:  d69ca10c.1f050e72  Wed, Feb  5 2014 17:07:48.121
filter delay:  0.00000  0.00000  0.00000  0.00000 
         0.00000  0.00000  0.00000  0.00000 
filter offset: 0.000000 0.000000 0.000000 0.000000
         0.000000 0.000000 0.000000 0.000000
delay 0.00000, dispersion 64.00000
offset 0.000000

 5 Feb 17:07:50 ntpdate[429]: no server suitable for synchronization found

当我 ping 同一个 IP 时,一切正常

ping 77.235.14.49
PING 77.235.14.49 (77.235.14.49): 56 data bytes
64 bytes from 77.235.14.49: seq=0 ttl=47 time=268.123 ms
64 bytes from 77.235.14.49: seq=1 ttl=48 time=262.530 ms
64 bytes from 77.235.14.49: seq=2 ttl=48 time=263.236 ms
64 bytes from 77.235.14.49: seq=3 ttl=47 time=266.751 ms
64 bytes from 77.235.14.49: seq=4 ttl=48 time=262.649 ms
64 bytes from 77.235.14.49: seq=5 ttl=48 time=262.303 ms
64 bytes from 77.235.14.49: seq=6 ttl=48 time=262.409 ms
^C
--- 77.235.14.49 ping statistics ---
7 packets transmitted, 7 packets received, 0% packet loss
round-trip min/avg/max = 262.303/264.000/268.123 ms

我参考了 QA 网站上的某些问题,他们谈到了防火墙,我不知道如何在嵌入式 Linux 板中进行这些(防火墙或相关)更改?

主板已连接到组织的 LAN,并通过 dhcp 获取 ip。代理方面是否存在问题。

如果需要,我可以在 Board 的哪里放置代理设置?

答案1

尝试使用 cntlm 进行代理身份验证。有关更多信息,请参阅:http://cntlm.sourceforge.net/

相关内容