On 10/1/20 3:19 AM, Petter Reinholdtsen wrote:
>   root@devuan-n900:~# /usr/sbin/ntpdate -b  0.debian.pool.ntp.org 
> 1.debian.pool.ntp.org 2.debian.pool.ntp.org 3.debian.pool.ntp.org         
>   ntpdig: socket error on transmission: [Errno 101] Network is unreachable

NTPsec's ntpdate is just a thin wrapper around ntpdig. I think ntpdig is
the NTPsec name for sntp, but like all the client utilities, it has been
completely rewritten from C into Python.

What does this output:
ntpdig -d 0.debian.pool.ntp.org 1.debian.pool.ntp.org \
          2.debian.pool.ntp.org 3.debian.pool.ntp.org

I get a different error, which might be related, with:
ntpdig -d 2.debian.pool.ntp.org

That seems to timeout (the default being 5 seconds) and then return:
ntpdig: no eligible servers

How does that behave for you?

For me, this works, albeit still with a 5 second delay:
ntpdig -dc 2.debian.pool.ntp.org

-- 
Richard

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to