<div dir="ltr">At the time I set up this node (many years ago now) I was having a LOT of trouble with NetworkManager.  Basically I bypassed it.  (Nowadays, on other machines, including RPI4 and Ubuntu, it seems to work fine.)<div>To the best of my knowledge, I had purged NetworkManager on this RPI2.  So NetworkManager is not active.  ie, /etc/NetworkManager/NetworkManager.conf does not exist on this RPI2.  There is no service NetworkManager running either.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 2, 2021 at 1:46 PM Bruce Dawson &lt;<a href="mailto:jbd@codemeta.com">jbd@codemeta.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p>Then you may want to do</p>
    <p>[main]</p>
    <p>dns=none</p>
    <p>in /etc/NetworkManager/NetworkManager.conf</p>
    <p>--Bruce<br>
    </p>
    <div>On 8/2/21 1:43 PM, Bruce Labitt wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">Think it is being overridden in
        /etc/network/interfaces as well.  Tried enabling prepend
        domain-name-servers in dhclient.conf, but that didn&#39;t work.</div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Mon, Aug 2, 2021 at 1:37 PM
          Bruce Dawson &lt;<a href="mailto:jbd@codemeta.com" target="_blank">jbd@codemeta.com</a>&gt; wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div>
            <p>This is being set by dhclient when it gets the DHCP info.</p>
            <p>I believe you can &quot;fix&quot; this by removing the
              &#39;domain-name-servers&#39; from the &#39;request&#39; stanza in
              /etc/dhcp/dhclient.conf. You probably want to do this ONLY
              on the machines that you don&#39;t want to get the DNS servers
              from DHCP.<br>
            </p>
            <p>--Bruce<br>
            </p>
            <div>On 8/2/21 11:45 AM, Bruce Labitt wrote:<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">Due to some ISP snafus, and network
                reconfiguration, some of my RPI&#39;s are pointing to the
                wrong nameserver.  I use a pihole for DNS.  Anyways, I
                have a single RPI2 as a print server and it is
                stubbornly pointing to the wrong IP address.  The RPI2
                is running on Raspberry Pi Debian Stretch.  I only use
                this node as the cups printer.
                <div><br>
                </div>
                <div>If I do cat /etc/resolve.conf I get, # generated by
                  resolvconf  nameserver  192.168.1.xxx</div>
                <div>I want to have it permanently point to 192.168.1.1,
                  ie the gateway so that I let the router redirect DNS
                  traffic to pihole.  Looking at resolvconf info, it
                  says NOT to use it directly.  So how does one do this?</div>
                <div><br>
                </div>
              </div>
              <br>
              <fieldset></fieldset>
              <pre>_______________________________________________
gnhlug-discuss mailing list
<a href="mailto:gnhlug-discuss@mail.gnhlug.org" target="_blank">gnhlug-discuss@mail.gnhlug.org</a>
<a href="http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/" target="_blank">http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/</a>
</pre>
            </blockquote>
          </div>
          _______________________________________________<br>
          gnhlug-discuss mailing list<br>
          <a href="mailto:gnhlug-discuss@mail.gnhlug.org" target="_blank">gnhlug-discuss@mail.gnhlug.org</a><br>
          <a href="http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/" rel="noreferrer" target="_blank">http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
gnhlug-discuss mailing list
<a href="mailto:gnhlug-discuss@mail.gnhlug.org" target="_blank">gnhlug-discuss@mail.gnhlug.org</a>
<a href="http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/" target="_blank">http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/</a>
</pre>
    </blockquote>
  </div>

_______________________________________________<br>
gnhlug-discuss mailing list<br>
<a href="mailto:gnhlug-discuss@mail.gnhlug.org" target="_blank">gnhlug-discuss@mail.gnhlug.org</a><br>
<a href="http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/" rel="noreferrer" target="_blank">http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/</a><br>
</blockquote></div>