gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-users] problem with Stratum-1-Microserver HOWTO


From: Charles Muggen
Subject: Re: [gpsd-users] problem with Stratum-1-Microserver HOWTO
Date: Fri, 9 Feb 2018 01:30:01 +0100

I don't know what happened...

on the new raspi 3, I ran some commands. as root.
(I still need help with this sudo vs su thing. I don't understand.)

I ran:
systemctl stop ntp
./gpsd/gpsd /dev/gpsd0
./ntpsec/build/main/ntpd/ntpd -g -c ntp.conf

then I ran:
ntpq -p

     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 SHM(1)          .PPS.            0 l    -   64    0    0.000    0.000   0.002
*SHM(0)          .GPS.            0 l   40   64   37    0.000   43.706  52.221
 us.pool.ntp.org .POOL.          16 p    -  512    0    0.000    0.000   0.002

then I ran ntpshmmon:
it's ticking off lines.
I tried to copy the results to a text file.

I tried every combination of redirection.
ntpshmmon > file.txt
ntpshmmon 2> file.txt
ntpshmmon &> file.txt
ntpshmmon | tee file.txt
ntpshmmon |& file.txt
nothing works.


I ran ppstest;
ppstest /dev/pps0
that's showing positive results.

what else can I check?
is there a utility that shows the system time being micro-adjusted?





> Sent: Thursday, February 08, 2018 at 6:16 PM
> From: "Gary E. Miller" <address@hidden>
> To: "Charles Muggen" <address@hidden>
> Cc: "gpsd users" <address@hidden>
> Subject: Re: [gpsd-users] problem with Stratum-1-Microserver HOWTO
>
> Yo Charles!
> 
> On Thu, 8 Feb 2018 23:54:20 +0100
> "Charles Muggen" <address@hidden> wrote:
> 
> > I cloned the micro SD card and moved to another Raspi 3.
> > I ran sudo -s, so now I'm root.
> 
> You not run sudo, ever, security risk, bad habit.  Do this: su -
> sudo, by default, never asks your root passoword.  Leaving you open to
> 'evil maid' attacks.  'su' always asks for password, and the "#" prompt
> is a clue to BE CAREFUL.
> 
> > I ran ./gpsd/gpsd -n /dev/gpsd0
> > I get good, clean NMEA messages and PPS bars.
> > 
> > But then I ran ntpq -p
> > I get the following.
> > I seem to have lost everything.
> 
> How long did you wait?
> 
> What does ntpshmmon say?  It should look like this:
> 
> # ntpshmmon
> ntpshmmon version 1
> #      Name Seen@                Clock                Real                 L 
> Prec
> sample NTP0 1518131708.582920908 1518131708.134790370 1518131708.000000000 0 
> -20
> sample NTP1 1518131708.583028199 1518131708.000001435 1518131708.000000000 0 
> -30
> sample NTP1 1518131709.000944345 1518131708.999997476 1518131709.000000000 0 
> -30
> sample NTP0 1518131709.129748109 1518131709.128937125 1518131709.000000000 0 
> -20
> 
> 
> RGDS
> GARY
> ---------------------------------------------------------------------------
> Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
>       address@hidden  Tel:+1 541 382 8588
> 
>           Veritas liberabit vos. -- Quid est veritas?
>     "If you can’t measure it, you can’t improve it." - Lord Kelvin
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]