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


Groups > linux.debian.user > #199398

Re: iproute, NM and ifupdown

From Pascal Hambourg <pascal@plouf.fr.eu.org>
Newsgroups linux.debian.user
Subject Re: iproute, NM and ifupdown
Date 2018-08-26 19:40 +0200
Message-ID <wr7b4-4BR-17@gated-at.bofh.it> (permalink)
References <wr15D-19e-1@gated-at.bofh.it> <wr3At-2rn-9@gated-at.bofh.it> <wr4db-2TC-15@gated-at.bofh.it> <wr59f-3rm-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Le 26/08/2018 à 17:24, Gene Heskett a écrit :
> On Sunday 26 August 2018 10:24:35 Pascal Hambourg wrote:
> 
>> Le 26/08/2018 à 15:40, Gene Heskett a écrit :
>>
>>> Theres some keywords
>>> (mentioned in the man page in obtuse language IIRC) to use in e-n-i
>>> to tell N_M to keep its malicious hands off a given interface, but
>>> you have to read between the lines with your logical superpowers to
>>> detect them.
>>
>> No, there is no obscure keyword and nothing between the lines.
> 
> Oh? And you wrote that manpage I suppose, and you don't make mistakes...

Irrelevant.

> You may be able to read it, knowing what you "intended" to write. But
> others aren't mind readers.

Maybe I was not clear enough. Let me rephrase a bit.

Contrary to what you wrote, there is no obscure keyword to use in 
/etc/network/interfaces to tell NetworkManager to keep its hands off a 
given interface.

>> By default, NM does not manage any interface configured in
>> /etc/network/interfaces. So all you have to do is configure your
>> interface with an "iface" stanza in /etc/network/interfaces as usual
>> so that it is managed by ifupdown and not by NM.
> 
> I have had N-M tear down a well configured staticly defined eth0 on
> dozens of occasions, despite using the iface designation in my e-n-i's.
Then it is a bug which should be reported and fixed. It is not intended 
behaviour.

> Most recently on a stretch install on a rock64 I had to erect immutable
> attributes to resolv.conf after making it a real file, and e-n-i to make
> networking Just Work.

/etc/resolv.conf is a rather different topic, because it is not related 
to a specific interface and may be written by several pieces of 
software, including but not limited to NetworkManager when configuring 
*any* interface. I would suggest using resolvconf but I suspect you 
would not like it either.

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


Thread

My wired connection doesn't work suddenly (Debian sid) Vinícius Couto <vimcless@gmail.com> - 2018-08-26 13:10 +0200
  Re: My wired connection doesn't work suddenly (Debian sid) Reco <recoverym4n@gmail.com> - 2018-08-26 15:00 +0200
    Re: My wired connection doesn't work suddenly (Debian sid) Gene Heskett <gheskett@shentel.net> - 2018-08-26 15:50 +0200
      iproute, NM and ifupdown (was: My wired connection doesn't work  suddenly (Debian sid)) Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-08-26 16:30 +0200
        Re: iproute, NM and ifupdown (was: My wired connection doesn't work suddenly (Debian sid)) Gene Heskett <gheskett@shentel.net> - 2018-08-26 17:30 +0200
          Re: iproute, NM and ifupdown Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-08-26 19:40 +0200
            Re: iproute, NM and ifupdown Gene Heskett <gheskett@shentel.net> - 2018-08-26 20:30 +0200
              Re: iproute, NM and ifupdown David Wright <deblis@lionunicorn.co.uk> - 2018-08-27 22:00 +0200
                Re: iproute, NM and ifupdown Gene Heskett <gheskett@shentel.net> - 2018-08-28 01:30 +0200
                Re: iproute, NM and ifupdown David Wright <deblis@lionunicorn.co.uk> - 2018-08-28 20:20 +0200
                Re: iproute, NM and ifupdown Gene Heskett <gheskett@shentel.net> - 2018-08-28 21:00 +0200
                Re: iproute, NM and ifupdown Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2018-08-28 21:10 +0200
                Re: iproute, NM and ifupdown David Wright <deblis@lionunicorn.co.uk> - 2018-08-28 22:00 +0200

csiph-web