⇤ ← Revision 1 as of 2021-09-08 09:51:44
Size: 342
Comment:
|
Size: 340
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 9: | Line 9: |
date -d@$((0x`printf c%47s|nc -uw1 10.254.253.201 123|xxd -s40 -l4 -p`-64#23GDW0)) | date -d@$((0x`printf c%47s|nc -uw1 pool.ntp.org 123|xxd -s40 -l4 -p`-64#23GDW0)) |
Line 13: | Line 13: |
date -r$((0x`printf c%47s|nc -uw1 ntp.metas.ch 123|xxd -s40 -l4 -p`-64#23GDW0)) | date -r$((0x`printf c%47s|nc -uw1 pool.ntp.org 123|xxd -s40 -l4 -p`-64#23GDW0)) |
Testing an ntp server without ntpd
Source: http://seriot.ch/ntp.php
GNU Linux
date -d@$((0x`printf c%47s|nc -uw1 pool.ntp.org 123|xxd -s40 -l4 -p`-64#23GDW0))
BSD
date -r$((0x`printf c%47s|nc -uw1 pool.ntp.org 123|xxd -s40 -l4 -p`-64#23GDW0))