Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #268554

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

From Steffen Dettmer <steffen.dettmer@gmail.com>
Newsgroups linux.debian.user
Subject Re: debian12: something destroys /etc/network/interfaces at boot
Date 2024-03-27 00:50 +0100
Message-ID <ImoIh-1UBm-5@gated-at.bofh.it> (permalink)
References <ImiWd-1R83-7@gated-at.bofh.it> <Imklj-1S6m-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Thank you for your quick reply.

On Wed, Mar 27, 2024 at 12:22 AM Henning Follmann
<hfollmann@itcfollmann.com> 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 have no clue where the wrong 2.43 comes from.
> [...] deleted that nonsense.
Nonsense? I think the lines illustrate the issue to the
experienced eye and in fact, it did, so that Pierre-Elliott
spotted the issue (I tell it in a second).

> why are you making it so difficult to anyone trying to help you?

I don't know, surely not intentional. I just ran out of ideas.

> Nobody is interested in your way how you edit that file.

Sure, except: Emacs or Vim, which is better?
(Just kidding :))

> please show us two versions of that file (pre reboot and after)
> Also tell us any programs you use to manage your network settings

I had told I would use vim to edit the file... but I had been wrong!
The machine I SSH'd to in fact was not a machine, but rather
a container, and the network configured by the virtualisation
environment! That is what changes the IP. The container op
made an error in the IP and I was the unfortunate one just
arriving in time :)

> [] NetworkManager
> [] systemd-networkd
> [] some magic own  scripts
> [] ...
[x] vim
[x] Proxmox (but I didn't know this)
(*1)

(*1) don't work together well :)

Regards,
Steffen

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

debian12: something destroys /etc/network/interfaces at boot Steffen Dettmer <steffen.dettmer@gmail.com> - 2024-03-26 18:40 +0100
  Re: debian12: something destroys /etc/network/interfaces at boot Dustin Jenkins <djenkins.cadc@gmail.com> - 2024-03-26 18:50 +0100
    Re: debian12: something destroys /etc/network/interfaces at boot Steffen Dettmer <steffen.dettmer@gmail.com> - 2024-03-27 00:30 +0100
  Re: debian12: something destroys /etc/network/interfaces at boot Greg Wooledge <greg@wooledge.org> - 2024-03-26 19:10 +0100
    Re: debian12: something destroys /etc/network/interfaces at boot Steffen Dettmer <steffen.dettmer@gmail.com> - 2024-03-27 00:30 +0100
  Re: debian12: something destroys /etc/network/interfaces at boot Pierre-Elliott Bécue <peb@debian.org> - 2024-03-26 19:20 +0100
    Re: debian12: something destroys /etc/network/interfaces at boot Steffen Dettmer <steffen.dettmer@gmail.com> - 2024-03-27 00:20 +0100
  Re: debian12: something destroys /etc/network/interfaces at boot Henning Follmann <hfollmann@itcfollmann.com> - 2024-03-26 20:10 +0100
    Re: debian12: something destroys /etc/network/interfaces at boot Steffen Dettmer <steffen.dettmer@gmail.com> - 2024-03-27 00:50 +0100
  Re: debian12: something destroys /etc/network/interfaces at boot Andy Smith <andy@strugglers.net> - 2024-03-26 20:30 +0100
    Re: debian12: something destroys /etc/network/interfaces at boot Steffen Dettmer <steffen.dettmer@gmail.com> - 2024-03-27 19:30 +0100

csiph-web