gpsd-users
[Top][All Lists]
Advanced

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

Re: [gpsd-users] Stratum 1 microserver HOWTO


From: Alan Scott
Subject: Re: [gpsd-users] Stratum 1 microserver HOWTO
Date: Wed, 1 Aug 2018 13:25:45 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Eric & Gary:

If I may be so bold as to suggest a couple of small edits that may make YOUR lives as well as the lives of some who may not be as experienced as the rest of us at this easier.....

My suggestions appear in red/green below:


Clockmaker

Most of the remaining instructions do not have to be done by hand. You can download clockmaker, a Python script which does much of this recipe for you. Clockmaker will automate the steps for you BUT NOT THE TESTS, the tests you must perform on your own. It is recommended that you read the steps to understand the process, then use clockmaker to avoid most of the typing. Here’s how to use it:

  1. As the pi user, copy clockmaker to your home directory with this command:

  2. Read it. You should always read any script that will run with root permissions, to check that it doesn’t do anything nefarious.

  3. Make clockmaker executable with "chmod a+x clockmaker". Like this: 

    ./chmod a+x clockmaker
  4. Run "sudo clockmaker --config". This will do most of the tricky OS and hardware configuration; also system software updates and prerequisites for the timeserver software. Like this: 

    sudo ./clockmaker --config 
  5. Perform the following tests manually:
    1. Test 1 - Per your advice
    2. Test 2 - Per your advice
    3. Test 3 - Per your advice
    4. Test 4 - Per your advice
    5. Following success of all above tests continue to the next step if not ALL successfull (per your advice)
  6. Now as the pi user, run "clockmaker --build". This will clone and build the special timeserver software. It also copies in the current versions of the pinup script, and several configuration files used in the installation phase. Like this: 

    ./clockmaker --build

Some further uses of clockmaker are discussed in later steps.

The clockmaker script is intelligent about not redoing steps it has already done; it is safe to run each stage multiple times. Redoing the --build step re-pulls from the software repositories.

In the recipe that follows, steps marked "{--config}", "{--build}", "{--install}", "{--mask}", "{--secure}" are parts clockmaker will do for you if you run it. It is recommended that you read the steps to understand the process, then use clockmaker to avoid most of the typing.

At this point the steps you can automate with clockmaker begin. If you have not downloaded clockmaker, refer to "Clockmaker" above.

Thanks
Alan





On 07/31/2018 05:55 PM, Gary E. Miller wrote:
Yo All!

Eric just posted a new copy of the "Stratum 1 microserver HOWTO".  You
can find it here:

https://www.ntpsec.org/white-papers/stratum-1-microserver-howto/

It now has a clickable table of contents.  Also too many changes to note
here.  Check out the git for it if you care.

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]