Re: Bookworm: NetworkManager

2023-10-27 Thread Lee
On Mon, Oct 23, 2023 at 8:29 PM Andy Smith wrote: > > Hi, > > On Sun, Oct 22, 2023 at 06:36:28PM -0400, Lee wrote: > > My understanding is that ISC no longer supports their dhcp client > > software so the isc-dhcp-client package will go away someday? > > correct? & I suspect whatever works today

Re: Bookworm: NetworkManager

2023-10-25 Thread Max Nikulin
On 22/10/2023 22:46, Lee wrote: but /etc/network/interfaces over-rides /etc/NetworkManager - correct? So maybe I'm just using dhclient and have no idea if this works for NetworkManager or not. NetworkManager may use built-in, dhclient, or dhcpcd, see NetworkManager.conf(5). It has a plugin

Re: Bookworm: NetworkManager

2023-10-24 Thread David Wright
On Tue 24 Oct 2023 at 13:21:04 (-0400), Pocket wrote: > On 10/24/23 12:48, Max Nikulin wrote: > > On 22/10/2023 23:29, gene heskett wrote: > > > My whole home net has no dhcp server, host files do it all. > > > > > > NM, and avahi, seems to want to assign a default route in the > > > 169 block if

Re: Bookworm: NetworkManager

2023-10-24 Thread gene heskett
On 10/24/23 13:21, Pocket wrote: On 10/24/23 12:48, Max Nikulin wrote: On 22/10/2023 23:29, gene heskett wrote: My whole home net has no dhcp server, host files do it all. NM, and avahi, seems to want to assign a default route in the 169 block if it cannot find a dns server, [...] IF I can

Re: Bookworm: NetworkManager

2023-10-24 Thread Andy Smith
Hi Max, On Tue, Oct 24, 2023 at 11:48:35PM +0700, Max Nikulin wrote: > There was a thread several months ago with discussion of link local > 169.254.x.y addresses. $ notmuch count 'from:ghesk...@shentel.net (body:"169.254" or body:"avahi")' 110 i.e. in the last 4 years I have 110 emails from

Re: Bookworm: NetworkManager

2023-10-24 Thread Andrew M.A. Cater
On Tue, Oct 24, 2023 at 01:21:04PM -0400, Pocket wrote: > > > > > Of course, by default it tries to get configuration from a DHCP server. > > A connection with a static address may be created even from GUI. > > > > There was a thread several months ago with discussion of link local > >

Re: Bookworm: NetworkManager

2023-10-24 Thread Pocket
On 10/24/23 12:48, Max Nikulin wrote: On 22/10/2023 23:29, gene heskett wrote: My whole home net has no dhcp server, host files do it all. NM, and avahi, seems to want to assign a default route in the 169 block if it cannot find a dns server, [...] IF I can prevent NM and avahi from

Re: Bookworm: NetworkManager

2023-10-24 Thread Max Nikulin
On 22/10/2023 23:29, gene heskett wrote: My whole home net has no dhcp server, host files do it all. NM, and avahi, seems to want to assign a default route in the 169 block if it cannot find a dns server, [...] IF I can prevent NM and avahi from assigning a totally bogus 169. route, it just

Re: Bookworm: NetworkManager

2023-10-23 Thread Andy Smith
Hi, On Sun, Oct 22, 2023 at 06:36:28PM -0400, Lee wrote: > My understanding is that ISC no longer supports their dhcp client > software so the isc-dhcp-client package will go away someday? > correct? & I suspect whatever works today will break when the new > software comes out, so I'd rather get

Re: Bookworm: NetworkManager

2023-10-23 Thread Lee
On Sun, Oct 22, 2023 at 7:13 PM Pocket wrote: > > On 10/22/23 18:36, Lee wrote: > > On Sun, Oct 22, 2023 at 1:18 PM Greg Wooledge wrote: > >> On Sun, Oct 22, 2023 at 11:22:06AM -0400, Lee wrote: > >>> Just out of curiosity, why didn't you use the example from > >>>

Re: Bookworm: NetworkManager

2023-10-22 Thread Minecraftchest1
You can also set the dns server in NetworkManager directly. ``` bash nmcli connection modify "$connection-name" ipv4.dns "$dns-servers" ``` where $connection-name is the name found in `nmcli connection` under NAME, and $dns-servers is a comma seperated list of DNS servers you want to use. If you

Re: Bookworm: NetworkManager

2023-10-22 Thread Michael Biebl
I want NetworkManager to not over write /etc/resolv.conf According to the docs if dns=none is set it will not touch /etc/resolv.conf This should work, and this does work here. If not, please do file a bug report. OpenPGP_signature.asc Description: OpenPGP digital signature

Re: Bookworm: NetworkManager

2023-10-22 Thread Pocket
On 10/22/23 18:36, Lee wrote: On Sun, Oct 22, 2023 at 1:18 PM Greg Wooledge wrote: On Sun, Oct 22, 2023 at 11:22:06AM -0400, Lee wrote: Just out of curiosity, why didn't you use the example from https://wiki.debian.org/resolv.conf and do echo 'make_resolv_conf() { :; }' >

Re: Bookworm: NetworkManager

2023-10-22 Thread Lee
On Sun, Oct 22, 2023 at 1:18 PM Greg Wooledge wrote: > > On Sun, Oct 22, 2023 at 11:22:06AM -0400, Lee wrote: > > Just out of curiosity, why didn't you use the example from > > https://wiki.debian.org/resolv.conf and do > > > > echo 'make_resolv_conf() { :; }' > > >

Re: Bookworm: NetworkManager

2023-10-22 Thread Dan Ritter
gene heskett wrote: > > So please tell me again what NM is supposed to do for /me/? Nothing, You do not have a good use case for NM. NM is for laptops that connect to many different networks, primarily, and secondarily for corporate networks where many people will need IT handholding. In my

Re: Bookworm: NetworkManager

2023-10-22 Thread Pocket
Sent from my iPad > On Oct 22, 2023, at 1:35 PM, Andy Smith wrote: > > Hello, > >> On Sun, Oct 22, 2023 at 08:22:24AM -0400, Pocket wrote: >>> On 10/22/23 04:02, Max Nikulin wrote: >>> P.S. I do not see any reason to insist on NetworkManager in the case of >>> a box which role is a DNS

Re: Bookworm: NetworkManager

2023-10-22 Thread Pocket
Sent from my iPad > On Oct 22, 2023, at 1:18 PM, Greg Wooledge wrote: > > On Sun, Oct 22, 2023 at 11:22:06AM -0400, Lee wrote: >> Just out of curiosity, why didn't you use the example from >> https://wiki.debian.org/resolv.conf and do >> >> echo 'make_resolv_conf() { :; }' > >>

Re: Bookworm: NetworkManager

2023-10-22 Thread Pocket
Because the script does what the Debian installer does and runs without intervention Sent from my iPad > On Oct 22, 2023, at 12:41 PM, Max Nikulin wrote: > > On 22/10/2023 19:22, Pocket wrote: >> What version of NetworkManager is installed with bullseye? >> Maybe a newer version is broken?

Re: Bookworm: NetworkManager

2023-10-22 Thread Pocket
Sent from my iPad > On Oct 22, 2023, at 12:12 PM, Tixy wrote: > > On Sat, 2023-10-21 at 17:13 -0400, Pocket wrote: >> I am just using what was installed by my scripted debian installation > > A day ago when people pointed out that Network Manager only gets > installed if you select desktop

Re: Bookworm: NetworkManager

2023-10-22 Thread Pocket
Sent from my iPad > On Oct 22, 2023, at 11:25 AM, to...@tuxteam.de wrote: > > On Sun, Oct 22, 2023 at 11:22:06AM -0400, Lee wrote: >>> On Sat, Oct 21, 2023 at 4:24 PM Pocket wrote: >>> >>> Ding ding ding we have a winner >> >> Just out of curiosity, why didn't you use the example from

Re: Bookworm: NetworkManager

2023-10-22 Thread Andy Smith
Hello, On Sun, Oct 22, 2023 at 08:22:24AM -0400, Pocket wrote: > On 10/22/23 04:02, Max Nikulin wrote: > > P.S. I do not see any reason to insist on NetworkManager in the case of > > a box which role is a DNS server for a local network. ifupdown should be > > sufficient. There is no need to

Re: Bookworm: NetworkManager

2023-10-22 Thread Greg Wooledge
On Sun, Oct 22, 2023 at 11:22:06AM -0400, Lee wrote: > Just out of curiosity, why didn't you use the example from > https://wiki.debian.org/resolv.conf and do > > echo 'make_resolv_conf() { :; }' > > /etc/dhcp/dhclient-enter-hooks.d/leave_my_resolv_conf_alone > chmod 755

Re: Bookworm: NetworkManager

2023-10-22 Thread Max Nikulin
On 22/10/2023 19:22, Pocket wrote: What version of NetworkManager is installed with bullseye? Maybe a newer version is broken? I upgraded this VM to bookworm months ago. apt policy network-manager network-manager: Installed: 1.42.4-1 Candidate: 1.42.4-1 Version table: *** 1.42.4-1

Re: Bookworm: NetworkManager

2023-10-22 Thread gene heskett
On 10/22/23 11:02, Henning Follmann wrote: On Sat, Oct 21, 2023 at 01:24:21PM -0400, Greg Wooledge wrote: On Sat, Oct 21, 2023 at 01:08:58PM -0400, Pocket wrote: On 10/21/23 12:49, Greg Wooledge wrote: On Sat, Oct 21, 2023 at 12:23:45PM -0400, Pocket wrote: I want NetworkManager to not over

Re: Bookworm: NetworkManager

2023-10-22 Thread Tixy
On Sat, 2023-10-21 at 17:13 -0400, Pocket wrote: > I am just using what was installed by my scripted debian installation A day ago when people pointed out that Network Manager only gets installed if you select desktop install configuration, you denied that was true by saying "Well the default

Re: Bookworm: NetworkManager

2023-10-22 Thread Lee
On Sun, Oct 22, 2023 at 11:25 AM wrote: > > On Sun, Oct 22, 2023 at 11:22:06AM -0400, Lee wrote: > > On Sat, Oct 21, 2023 at 4:24 PM Pocket wrote: > > > > > > Ding ding ding we have a winner > > > > Just out of curiosity, why didn't you use the example from > >

Re: Bookworm: NetworkManager

2023-10-22 Thread tomas
On Sun, Oct 22, 2023 at 11:22:06AM -0400, Lee wrote: > On Sat, Oct 21, 2023 at 4:24 PM Pocket wrote: > > > > Ding ding ding we have a winner > > Just out of curiosity, why didn't you use the example from > https://wiki.debian.org/resolv.conf and do > > echo 'make_resolv_conf() { :; }' > >

Re: Bookworm: NetworkManager

2023-10-22 Thread Lee
On Sat, Oct 21, 2023 at 4:24 PM Pocket wrote: > > Ding ding ding we have a winner Just out of curiosity, why didn't you use the example from https://wiki.debian.org/resolv.conf and do echo 'make_resolv_conf() { :; }' > /etc/dhcp/dhclient-enter-hooks.d/leave_my_resolv_conf_alone chmod 755

Re: Bookworm: NetworkManager

2023-10-22 Thread Henning Follmann
On Sat, Oct 21, 2023 at 01:24:21PM -0400, Greg Wooledge wrote: > On Sat, Oct 21, 2023 at 01:08:58PM -0400, Pocket wrote: > > > > On 10/21/23 12:49, Greg Wooledge wrote: > > > On Sat, Oct 21, 2023 at 12:23:45PM -0400, Pocket wrote: > > > > I want NetworkManager to not over write /etc/resolv.conf >

Re: Bookworm: NetworkManager

2023-10-22 Thread Dan Ritter
Pocket wrote: > > On 10/22/23 08:32, Dan Ritter wrote: > > Pocket wrote: > > > I am just using what was installed by my scripted debian installation > > Who provided the script? You skipped the most important question. -dsr-

Re: Bookworm: NetworkManager

2023-10-22 Thread Michael Kjörling
On 22 Oct 2023 08:22 -0400, from poc...@columbus.rr.com (Pocket): > What version of NetworkManager is installed with bullseye? https://packages.debian.org/bullseye/network-manager https://tracker.debian.org/network-manager -- Michael Kjörling  https://michael.kjorling.se

Re: Bookworm: NetworkManager

2023-10-22 Thread Dan Ritter
Pocket wrote: >The Internet Assigned Numbers Authority (IANA) also currently has the >following second level domain names reserved which can be used as >examples. > > example.com > example.net > example.org > > Which I take it that you can use them for any

Re: Bookworm: NetworkManager

2023-10-22 Thread Pocket
On 10/22/23 08:36, mick.crane wrote: On 2023-10-22 13:22, Pocket wrote: I would normally not use NetworkManager on a server system either, but in this case NetworkManager is installed on all the bookworm installation so in this case I choose to work with it instead of removing it. It maybe

Re: Bookworm: NetworkManager

2023-10-22 Thread Pocket
On 10/22/23 08:32, Dan Ritter wrote: Pocket wrote: The Internet Assigned Numbers Authority (IANA) also currently has the following second level domain names reserved which can be used as examples. example.com example.net example.org Which I take it

Re: Bookworm: NetworkManager

2023-10-22 Thread Pocket
On 10/22/23 01:24, to...@tuxteam.de wrote: On Sat, Oct 21, 2023 at 03:29:40PM -0400, Pocket wrote: On 10/21/23 15:02, Stefan Monnier wrote: I agree about that on most machines, but the machine in question has bind running so nameserver needs to be set to 127.0.0.1 and the domain to

Re: Bookworm: NetworkManager

2023-10-22 Thread mick.crane
On 2023-10-22 13:22, Pocket wrote: I would normally not use NetworkManager on a server system either, but in this case NetworkManager is installed on all the bookworm installation so in this case I choose to work with it instead of removing it. It maybe comes with the desktop thing. With

Re: Bookworm: NetworkManager

2023-10-22 Thread Pocket
On 10/22/23 04:02, Max Nikulin wrote: On 22/10/2023 00:24, Greg Wooledge wrote: If you're asking us to tell you how to *make NetWorkManager behave* then you might be frustrated. Most of the people on this mailing list don't use it. There are some who actively despise it, and go out of their

Re: Bookworm: NetworkManager

2023-10-22 Thread Max Nikulin
On 22/10/2023 00:24, Greg Wooledge wrote: If you're asking us to tell you how to *make NetWorkManager behave* then you might be frustrated. Most of the people on this mailing list don't use it. There are some who actively despise it, and go out of their way to ensure it's never installed. I

Re: Bookworm: NetworkManager

2023-10-21 Thread tomas
On Sat, Oct 21, 2023 at 03:29:40PM -0400, Pocket wrote: > > On 10/21/23 15:02, Stefan Monnier wrote: > > > I agree about that on most machines, but the machine in question has bind > > > running so nameserver needs to be set to 127.0.0.1 and the domain to > > > example.org in the resolv.conf

Re: Bookworm: NetworkManager

2023-10-21 Thread Pocket
On 10/21/23 17:26, Michael Biebl wrote: Is /etc/resolv.conf a real file or a symlink? If the latter, where does it point to? Michael Not a symlink -- It's not easy to be me

Re: Bookworm: NetworkManager

2023-10-21 Thread Stefan Monnier
> the DHCP server is on a router > Running DNS service on a machine is done by many FWIW, I run `dnsmasq` as local DNS server on many of my machines, and this is already automatically setup to "DTRT" somehow (the DNS info obtained via DHCP are provided to `dnsmasq` and `/etc/resolv.conf` only

Re: Bookworm: NetworkManager

2023-10-21 Thread Michael Biebl
Is /etc/resolv.conf a real file or a symlink? If the latter, where does it point to? Michael OpenPGP_signature.asc Description: OpenPGP digital signature

Re: Bookworm: NetworkManager

2023-10-21 Thread Pocket
On 10/21/23 16:52, Greg Wooledge wrote: On Sat, Oct 21, 2023 at 02:46:25PM -0600, Charles Curley wrote: Also, you should not be using example.org. That is a reserved domain name. https://en.wikipedia.org/wiki/Example.com I just assumed this was a lie. An obfuscation of the actual domain

Re: Bookworm: NetworkManager

2023-10-21 Thread Pocket
On 10/21/23 16:46, Charles Curley wrote: On Sat, 21 Oct 2023 14:40:49 -0400 Pocket wrote: but the machine in question has bind running so nameserver needs to be set to 127.0.0.1 and the domain to example.org in the resolv.conf file. This is my problem in a nutshell Oh, why didn't you say

Re: Bookworm: NetworkManager

2023-10-21 Thread Greg Wooledge
On Sat, Oct 21, 2023 at 02:46:25PM -0600, Charles Curley wrote: > Also, you should not be using example.org. That is a reserved domain > name. https://en.wikipedia.org/wiki/Example.com I just assumed this was a lie. An obfuscation of the actual domain name.

Re: Bookworm: NetworkManager

2023-10-21 Thread Charles Curley
On Sat, 21 Oct 2023 14:40:49 -0400 Pocket wrote: > but the machine in question has > bind running so nameserver needs to be set to 127.0.0.1 and the > domain to example.org in the resolv.conf file. > > This is my problem in a nutshell Oh, why didn't you say that! Actually, it doesn't have to

Re: Bookworm: NetworkManager

2023-10-21 Thread Andrew M.A. Cater
On Sat, Oct 21, 2023 at 04:23:26PM -0400, Pocket wrote: > Ding ding ding we have a winner > Hi Pocket Glad you have a winner :) For anyone else following along: a datum point. I've just done a minimal text installation of Debian in a virtual machine. No desktop environment installed: all

Re: Bookworm: NetworkManager

2023-10-21 Thread Pocket
Ding ding ding we have a winner cat /etc/resolv.conf # Generated by NetworkManager search example.org nameserver 127.0.0.1 nameserver ::1 options edns0 trust-ad This make this work sudo cat /etc/NetworkManager/NetworkManager.conf [main] plugins=ifupdown,keyfile [ifupdown] managed=false

Re: Bookworm: NetworkManager

2023-10-21 Thread Pocket
On 10/21/23 15:41, Greg Wooledge wrote: On Sat, Oct 21, 2023 at 03:29:40PM -0400, Pocket wrote: I don't get you context here as the problem is simply trying to get networkmanager to quit writing /etc/resolv.conf. The context -- what has certain people confused -- is that most people who do

Re: Bookworm: NetworkManager

2023-10-21 Thread Greg Wooledge
On Sat, Oct 21, 2023 at 03:29:40PM -0400, Pocket wrote: > I don't get you context here as the problem is simply trying to get > networkmanager to quit writing /etc/resolv.conf. The context -- what has certain people confused -- is that most people who do what you're doing run the DNS and DHCP

Re: Bookworm: NetworkManager

2023-10-21 Thread Pocket
On 10/21/23 15:02, Stefan Monnier wrote: I agree about that on most machines, but the machine in question has bind running so nameserver needs to be set to 127.0.0.1 and the domain to example.org in the resolv.conf file. Beware: at this rate, you may end up giving us enough info about what

Re: Bookworm: NetworkManager

2023-10-21 Thread Pocket
On 10/21/23 14:53, Christoph Brinkhaus wrote: Am Sat, Oct 21, 2023 at 02:40:49PM -0400 schrieb Pocket: On 10/21/23 14:32, Stefan Monnier wrote: I want NetworkManager to not over write /etc/resolv.conf [...] My setup is that I was a dhcp server to give out IPs and DNS info. That way I can

Re: Bookworm: NetworkManager

2023-10-21 Thread Stefan Monnier
> I agree about that on most machines, but the machine in question has bind > running so nameserver needs to be set to 127.0.0.1 and the domain to > example.org in the resolv.conf file. Beware: at this rate, you may end up giving us enough info about what you're doing for us to actually help you.

Re: Bookworm: NetworkManager

2023-10-21 Thread Christoph Brinkhaus
Am Sat, Oct 21, 2023 at 02:40:49PM -0400 schrieb Pocket: > > On 10/21/23 14:32, Stefan Monnier wrote: > > > > > I want NetworkManager to not over write /etc/resolv.conf > > [...] > > > My setup is that I was a dhcp server to give out IPs and DNS info. > > > That way I can control those things

Re: Bookworm: NetworkManager

2023-10-21 Thread Pocket
On 10/21/23 14:36, Greg Wooledge wrote: On Sat, Oct 21, 2023 at 02:10:23PM -0400, Pocket wrote: On 10/21/23 13:58, Felix Miata wrote: If you're not personally committed to NetworkMangler and only need static networking, then remove it and ifupdown. Systemd provides simple static IP network

Re: Bookworm: NetworkManager

2023-10-21 Thread Pocket
On 10/21/23 14:32, Stefan Monnier wrote: I want NetworkManager to not over write /etc/resolv.conf [...] My setup is that I was a dhcp server to give out IPs and DNS info. That way I can control those things without having to do so on every system. Populating `/etc/resolv.conf` from the

Re: Bookworm: NetworkManager

2023-10-21 Thread Greg Wooledge
On Sat, Oct 21, 2023 at 02:10:23PM -0400, Pocket wrote: > On 10/21/23 13:58, Felix Miata wrote: > > If you're not personally committed to NetworkMangler and only need static > > networking, then remove it and ifupdown. Systemd provides simple static IP > > network setup: Or... remove Network

Re: Bookworm: NetworkManager

2023-10-21 Thread Stefan Monnier
>>> I want NetworkManager to not over write /etc/resolv.conf [...] > My setup is that I was a dhcp server to give out IPs and DNS info. > That way I can control those things without having to do so on every system. Populating `/etc/resolv.conf` from the DHCP-provided info is a useful part of

Re: Bookworm: NetworkManager

2023-10-21 Thread Pocket
On 10/21/23 13:58, Felix Miata wrote: Pocket composed on 2023-10-21 12:23 (UTC-0400): I want NetworkManager to not over write /etc/resolv.conf ... Is there something I am over looking? If you're not personally committed to NetworkMangler and only need static networking, then remove it

Re: Bookworm: NetworkManager

2023-10-21 Thread Pocket
On 10/21/23 13:55, Greg Wooledge wrote: On Sat, Oct 21, 2023 at 01:38:37PM -0400, Pocket wrote: Well the default install for bookworm does install it and use it. That is why I am here. There's no single "default install". Sure, if you just hit the Enter key straight through an install you

Re: Bookworm: NetworkManager

2023-10-21 Thread Felix Miata
Pocket composed on 2023-10-21 12:23 (UTC-0400): > I want NetworkManager to not over write /etc/resolv.conf ... > Is there something I am over looking? If you're not personally committed to NetworkMangler and only need static networking, then remove it and ifupdown. Systemd provides simple

Re: Bookworm: NetworkManager

2023-10-21 Thread Greg Wooledge
On Sat, Oct 21, 2023 at 01:38:37PM -0400, Pocket wrote: > Well the default install for bookworm does install it and use it. > > That is why I am here. There's no single "default install". Sure, if you just hit the Enter key straight through an install you end up with GNOME, and also with NM.

Re: Bookworm: NetworkManager

2023-10-21 Thread Pocket
On 10/21/23 13:24, Greg Wooledge wrote: On Sat, Oct 21, 2023 at 01:08:58PM -0400, Pocket wrote: On 10/21/23 12:49, Greg Wooledge wrote: On Sat, Oct 21, 2023 at 12:23:45PM -0400, Pocket wrote: I want NetworkManager to not over write /etc/resolv.conf https://wiki.debian.org/resolv.conf

Re: Bookworm: NetworkManager

2023-10-21 Thread Greg Wooledge
On Sat, Oct 21, 2023 at 01:08:58PM -0400, Pocket wrote: > > On 10/21/23 12:49, Greg Wooledge wrote: > > On Sat, Oct 21, 2023 at 12:23:45PM -0400, Pocket wrote: > > > I want NetworkManager to not over write /etc/resolv.conf > > https://wiki.debian.org/resolv.conf > > > openresolv or resolvconf is

Re: Bookworm: NetworkManager

2023-10-21 Thread Pocket
On 10/21/23 12:49, Greg Wooledge wrote: On Sat, Oct 21, 2023 at 12:23:45PM -0400, Pocket wrote: I want NetworkManager to not over write /etc/resolv.conf https://wiki.debian.org/resolv.conf openresolv or resolvconf is not installed no dhcp client is running only networkmanager is

Re: Bookworm: NetworkManager

2023-10-21 Thread Greg Wooledge
On Sat, Oct 21, 2023 at 12:23:45PM -0400, Pocket wrote: > I want NetworkManager to not over write /etc/resolv.conf https://wiki.debian.org/resolv.conf