On 10/30/23 05:15, Timothy M Butterworth wrote:
On Mon, Oct 30, 2023 at 3:55 AM gene heskett <[email protected] <mailto:[email protected]>> wrote:On 10/29/23 22:17, Max Nikulin wrote: > On 30/10/2023 00:08, Pocket wrote: >> On 10/29/23 12:24, gene heskett wrote: >>> I have also made a very painfull attempt to change my domainname from >>> coyote.den to home.arpa, and finally reverted that, > > Gene, have you posted what exactly you did to switch from coyote.den to > home.arpa? You have been told that setting NIS domainname was a wrong > direction since you do not manage your hosts through NIS. > >> NetworkManager keeps updating the /etc/resolv.conf file in my opinion >> because it is querying the DHCP server. > [ ... ]> cat /etc/NetworkManager/system-connections/GREMLIN.nmconnection >> [ipv4] >> method=auto gene@coyote:/etc$ cat /etc/NetworkManager/system-connections/GREMLIN.nmconnection cat: /etc/NetworkManager/system-connections/GREMLIN.nmconnection: No such file or directory Thats this machine, but applied to the problematic machine it becomes sudo cat /etc/NetworkManager/system-connections/'Wired connection 1.nmconnection' which returns: ========== gene@bananapim55:/etc/systemd$ sudo cat /etc/NetworkManager/system-connections/'Wired connection 1.nmconnection' [connection] id=Wired connection 1 uuid=14621305-9887-3c6c-9e50-50894877ab68 type=ethernet autoconnect-priority=999 interface-name=eth0 timestamp=1698571927 [ethernet] cloned-mac-address=BE:63:9C:35:DD:4F duplex=full speed=1000 [ipv4] address1=192.168.71.55/24,192.168.71.1 <http://192.168.71.55/24,192.168.71.1> dns=192.168.71.1; dns-search=hosts;nameserver; ignore-auto-routes=true may-fail=false method=manual route1=192.168.71.1/24,192.168.71.1 <http://192.168.71.1/24,192.168.71.1>Try adding ignore-auto-dns=true with this setting you should not need to make resolv.conf immutable. You may also want to add a default gateway route.
Thank you Timothy, I appreciate the advice and the msg is tagged FFR, but I've no clue as to the "proper" way to edit that. Making resolv.conf immutable seems to be the way to permanently insulate me from NM's broken idea of whats right. Gateway is set in the edit pulldown that opens from the status icon at the top right corner of the screen. Which works but upsets me because it has no "about" info anyplace to identify the src of that whole shebang. And as I explained in another post, I can't file bugzilla stuff. And I am not seeing anything indicating there is a way to fix that. IOW, nobody cares.
[ipv6] addr-gen-mode=stable-privacy method=disabled [proxy] ======== All of which now looks totally legit once /etc/resolv.conf was made immutable. As an aside, I have yet to see a complaint from modern NM when it finds that file cannot be changed. When it was new, many generations ago, it had a cow quite regularly. Then the only way to clean up the logs was to rm the executable. It, when new, was not removable by apt as it took the rest of the system with it. So I've always looked at NM as something looking for a problem I didn't have. A Karen to be removed by whatever means worked. A root rm usually solved it all. So for me, its still, in the year of our lord 2023, a PITA. A hosts file for local lookups, with anything not found there forwarded to my ISP's dns server is all I've ever needed. And it has not changed in 25 years. To me, dhcp is a total waste of cpu cycles. > > Gene has no DHCP server, so it should be method=manual. Frankly > speaking, I see almost no advantages of NetworkManager over ifupdown in > a purely static network. E.g. cable plug/unplug events should not matter > since there is no need to update configuration in response. > > . Cheers, Gene Heskett.-- "There are four boxes to be used in defense of liberty:soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/ <https://www.debian.org/> ⠈⠳⣄⠀⠀
Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis

