Re: debian12: something destroys /etc/network/interfaces at boot

2024-03-27 Thread Steffen Dettmer
Thank you for your mail. On Wed, Mar 27, 2024 at 12:42 AM Andy Smith wrote: > On Tue, Mar 26, 2024 at 06:33:42PM +0100, Steffen Dettmer wrote: > > I changed a gateway on a remote site using /etc/network/interfaces by > > changing gateway. However, at reboot some old gateway IP reappears. I I

Re: debian12: something destroys /etc/network/interfaces at boot

2024-03-26 Thread Steffen Dettmer
Thank you for your quick reply. On Wed, Mar 27, 2024 at 12:22 AM Henning Follmann wrote: > On Tue, Mar 26, 2024 at 06:33:42PM +0100, Steffen Dettmer wrote: > > I changed a gateway on a remote site using /etc/network/interfaces by > > changing gateway. However, at reboot some old gateway IP

Re: debian12: something destroys /etc/network/interfaces at boot

2024-03-26 Thread Steffen Dettmer
On Tue, Mar 26, 2024 at 11:27 PM Dustin Jenkins wrote: > On my Debian 12 system, the connman service was helping itself to interfaces, > including my bridge interfaces that I wanted left alone. Maybe try disabling > or removing it? > > sudo systemctl stop connman > sudo systemctl disable

Re: debian12: something destroys /etc/network/interfaces at boot

2024-03-26 Thread Steffen Dettmer
Thank your for your quick and detailed reply. On Tue, Mar 26, 2024 at 7:01 PM Greg Wooledge wrote: > On Tue, Mar 26, 2024 at 06:33:42PM +0100, Steffen Dettmer wrote: > > I changed a gateway on a remote site using /etc/network/interfaces by > > changing gateway. However, at reboot some old

Re: debian12: something destroys /etc/network/interfaces at boot

2024-03-26 Thread Steffen Dettmer
On Tue, Mar 26, 2024 at 7:18 PM Pierre-Elliott Bécue wrote: > As it's a PVE kernel I guess you rely on Proxmox. > *Theoretically*, Proxmox VE uses /etc/network/interfaces.new to apply THIS! (OMG why didn't I see this! Thank you!!) ohh thanks so much for your quick reply, my "machine" indeed is

Re: debian12: something destroys /etc/network/interfaces at boot

2024-03-26 Thread Andy Smith
Hello, On Tue, Mar 26, 2024 at 06:33:42PM +0100, Steffen Dettmer wrote: > I changed a gateway on a remote site using /etc/network/interfaces by > changing gateway. However, at reboot some old gateway IP reappears. I > really hate when some magic knows better than an explicitly set value. > What

Re: debian12: something destroys /etc/network/interfaces at boot

2024-03-26 Thread Henning Follmann
On Tue, Mar 26, 2024 at 06:33:42PM +0100, Steffen Dettmer wrote: > Hi, > > I changed a gateway on a remote site using /etc/network/interfaces by > changing gateway. However, at reboot some old gateway IP reappears. I > really hate when some magic knows better than an explicitly set value. > What

Re: debian12: something destroys /etc/network/interfaces at boot

2024-03-26 Thread Pierre-Elliott Bécue
As it's a PVE kernel I guess you rely on Proxmox. *Theoretically*, Proxmox VE uses /etc/network/interfaces.new to apply its config and potential manual changes made by an administrator (changes that should be applied afterwards via ifreload). I'd wonder whether this mechanism is not the cause if

Re: debian12: something destroys /etc/network/interfaces at boot

2024-03-26 Thread Greg Wooledge
On Tue, Mar 26, 2024 at 06:33:42PM +0100, Steffen Dettmer wrote: > I changed a gateway on a remote site using /etc/network/interfaces by > changing gateway. However, at reboot some old gateway IP reappears. So then the question is *which* of the many different subsystems is in use to set the

Re: debian12: something destroys /etc/network/interfaces at boot

2024-03-26 Thread Dustin Jenkins
On my Debian 12 system, the connman service was helping itself to interfaces, including my bridge interfaces that I wanted left alone. Maybe try disabling or removing it? sudo systemctl stop connman sudo systemctl disable connman Best > On Mar 26, 2024, at 10:33, Steffen Dettmer wrote: > >

debian12: something destroys /etc/network/interfaces at boot

2024-03-26 Thread Steffen Dettmer
Hi, I changed a gateway on a remote site using /etc/network/interfaces by changing gateway. However, at reboot some old gateway IP reappears. I really hate when some magic knows better than an explicitly set value. What happens here? How can I get rid of this? It is 100% reproducible. I have no