[ntp:questions] Have Pi, have GPS = low powered NTP server?

DaveB g8kbv at uko2.co.uk
Mon Jun 11 11:35:34 UTC 2012


In article <jqqrk2$j7d$1 at dont-email.me>, Null at BlackList.Anitech-
Systems.invalid says...
> ntpq -n -c "lpe" -c "las" -c "rv &0" -c "rv &1" -c "rv &2" -c "rv &3" -c "rv &4"
> 

OK.....   But you're going to have to unwrap the long lines manually.

pi at raspberrypi:~$ ntpq -n -c "lpe" -c "las" -c "rv &0" -c "rv &1" -c "rv 
&2" -c "rv &3" -c "rv &4"
     remote           refid      st t when poll reach   delay   offset  
jitter
========================================================================
======
*192.168.42.24   .GPS.            1 u  497 1024  377    0.559   -0.148   
0.071
 193.238.80.20   82.219.4.30      3 -   4d 1024    0   21.571   13.885   
0.000
 194.238.48.2    195.66.241.3     2 -   4d 1024    0  2019.75  -1000.8   
0.000

ind assid status  conf reach auth condition  last_event cnt
===========================================================
  1 17600  963a   yes   yes  none  sys.peer    sys_peer  3
  2 17601  8033   yes    no  none    reject unreachable  3
  3 17602  8033   yes    no  none    reject unreachable  3
***Association value `&0' invalid/undecodable
associd=17600 status=963a conf, reach, sel_sys.peer, 3 events, sys_peer,
srcadr=192.168.42.24, srcport=123, dstadr=192.168.42.99, dstport=123,
leap=00, stratum=1, precision=-19, rootdelay=0.000, rootdisp=0.381,
refid=GPS, reftime=d3805415.a58030e4  Mon, Jun 11 2012 12:25:09.646,
rec=d3805420.1695faf4  Mon, Jun 11 2012 12:25:20.088, reach=377,
unreach=0, hmode=3, pmode=4, hpoll=10, ppoll=10, headway=0, flash=00 ok,
keyid=0, offset=-0.148, delay=0.559, dispersion=11.487, jitter=0.071,
xleave=0.127,
filtdelay=     0.63    0.56    0.59    0.64    0.62    0.66    0.67    
0.67,
filtoffset=   -0.20   -0.15   -0.13   -0.10   -0.17   -0.20   -0.26   -
0.27,
filtdisp=      0.00    7.86   15.59   23.64   31.34   39.30   47.34   
55.31
associd=17601 status=8033 conf, sel_reject, 3 events, unreachable,
srcadr=193.238.80.20, srcport=123, dstadr=0.0.0.0, dstport=0, leap=00,
stratum=3, precision=-20, rootdelay=16.037, rootdisp=106.339,
refid=82.219.4.30,
reftime=d37aa62b.80023679  Thu, Jun  7 2012  5:01:47.500,
rec=d37aade1.1bebe777  Thu, Jun  7 2012  5:34:41.109, reach=000,
unreach=916, hmode=3, pmode=4, hpoll=10, ppoll=10, headway=0,
flash=1400 peer_dist, peer_unreach, keyid=0, offset=13.885, delay=
21.571,
dispersion=15937.500, jitter=0.000, xleave=0.038,
filtdelay=     0.00    0.00    0.00    0.00    0.00    0.00    0.00    
0.00,
filtoffset=    0.00    0.00    0.00    0.00    0.00    0.00    0.00    
0.00,
filtdisp=   16000.0 16000.0 16000.0 16000.0 16000.0 16000.0 16000.0 
16000.0
associd=17602 status=8033 conf, sel_reject, 3 events, unreachable,
srcadr=194.238.48.2, srcport=123, dstadr=0.0.0.0, dstport=0, leap=00,
stratum=2, precision=-23, rootdelay=3.540, rootdisp=22.064,
refid=195.66.241.3,
reftime=d37aadff.3bc18a97  Thu, Jun  7 2012  5:35:11.233,
rec=d37aafc1.1b776465  Thu, Jun  7 2012  5:42:41.107, reach=000,
unreach=915, hmode=3, pmode=4, hpoll=10, ppoll=10, headway=0,
flash=1400 peer_dist, peer_unreach, keyid=0, offset=-1000.887,
delay=2019.753, dispersion=15937.500, jitter=0.000, xleave=0.136,
filtdelay=     0.00    0.00    0.00    0.00    0.00    0.00    0.00    
0.00,
filtoffset=    0.00    0.00    0.00    0.00    0.00    0.00    0.00    
0.00,
filtdisp=   16000.0 16000.0 16000.0 16000.0 16000.0 16000.0 16000.0 
16000.0
associd=17602 status=8033 conf, sel_reject, 3 events, unreachable,
srcadr=194.238.48.2, srcport=123, dstadr=0.0.0.0, dstport=0, leap=00,
stratum=2, precision=-23, rootdelay=3.540, rootdisp=22.064,
refid=195.66.241.3,
reftime=d37aadff.3bc18a97  Thu, Jun  7 2012  5:35:11.233,
rec=d37aafc1.1b776465  Thu, Jun  7 2012  5:42:41.107, reach=000,
unreach=915, hmode=3, pmode=4, hpoll=10, ppoll=10, headway=0,
flash=1400 peer_dist, peer_unreach, keyid=0, offset=-1000.887,
delay=2019.753, dispersion=15937.500, jitter=0.000, xleave=0.136,
filtdelay=     0.00    0.00    0.00    0.00    0.00    0.00    0.00    
0.00,
filtoffset=    0.00    0.00    0.00    0.00    0.00    0.00    0.00    
0.00,
filtdisp=   16000.0 16000.0 16000.0 16000.0 16000.0 16000.0 16000.0 
16000.0
pi at raspberrypi:~$

Dave B.



More information about the questions mailing list