Differences between revisions 1 and 2
Revision 1 as of 2021-09-08 09:51:44
Size: 342
Editor: Burathar
Comment:
Revision 2 as of 2021-09-08 09:52:08
Size: 340
Editor: Burathar
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))

Howto/NTP (last edited 2021-09-23 13:23:35 by Burathar)