<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p>ntpsecd on the host in question was not compiled from source. It
      is running 1.2.0 as supplied in the 'stable' Debian package
      repository.</p>
    <p>I _am_ able to use ntpq to add and remove network time servers,
      so I know my ntpq-authentication process is working (and the
      add/remove portion of ntpq is working). I'm able to 'unpeer' my
      pps by assid. I am just unable to find a way to add it back. <br>
    </p>
    <p>The line in my conf is:</p>
    <p>    refclock pps minpoll 0 ppspath /dev/pps0 refid pps</p>
    <p>I've tried adding it back with that exact line. I've tried
      crafting a new line using the old-school 127. address. <br>
    </p>
    <p>I do also have a NMEA reference clock defined. Maybe the PPS
      reference clock can't be added back to the existing NMEA clock
      signal? But if I unpeer my NMEA reference clock, I am similarly
      unable to add it back with ntpq.</p>
    <p>After removing either reference clock, the only way I can find to
      re-connect them is to HUP ntpsecd<br>
    </p>
    <pre class="moz-signature" cols="72">--
Do things because you should, not just because you can. 

John Thurston    907-465-8591
<a class="moz-txt-link-abbreviated" href="mailto:John.Thurston@alaska.gov">John.Thurston@alaska.gov</a>
Department of Administration
State of Alaska</pre>
    <div class="moz-cite-prefix">On 4/20/2023 9:32 AM, James Browning
      via users wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:48050ca2-6c62-412b-8411-96a6df08f0ad@email.android.com">
      
      <div>
        <div dir="auto">
          <div class="gmail_extra" dir="auto">
            <div class="gmail_quote">On Apr 20, 2023, 09:40, John
              Thurston via users <a class="moz-txt-link-rfc2396E" href="mailto:users@ntpsec.org"><users@ntpsec.org></a> wrote:<br type="attribution">
              <blockquote class="quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div>
                  <p>I'm running ntpsec-1.2.0 on debian 11<br>
                  </p>
                  <p>Using ntpq interactively, I'm able to use the
                    :config command to</p>
                  <p>+ add servers (and pools)</p>
                  <p>+ remove servers and refclocks</p>
                  <p>but I am not able to add refclocks. I've attempted
                    using the 'refclock' configuration with the name of
                    the clock (i.e. pps), as well as using the 'server'
                    configuration with the old ip-address (i.e.
                    127.127.22.0)</p>
                  <p>Is it just not possible to add reference clocks
                    back after using "unpeer" ?</p>
                </div>
              </blockquote>
            </div>
          </div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">It worked for me the last time I checked.</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">Did you build ntpsec in ntp classic
            compatibility mode? Did you try "ntpq $auth -c ':config to
            refclock pps unit 0'" where auth is the concatenation of
            your -k and -a arguments?</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">Better replies may come (not much) later...</div>
          <div class="gmail_extra" dir="auto">
            <div class="gmail_quote">
              <blockquote class="quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
              </blockquote>
            </div>
            <br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@ntpsec.org">users@ntpsec.org</a>
<a class="moz-txt-link-freetext" href="https://lists.ntpsec.org/mailman/listinfo/users">https://lists.ntpsec.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
  </body>
</html>