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


Groups > linux.debian.user > #199393

Re: iproute, NM and ifupdown (was: My wired connection doesn't work suddenly (Debian sid))

From Gene Heskett <gheskett@shentel.net>
Newsgroups linux.debian.user
Subject Re: iproute, NM and ifupdown (was: My wired connection doesn't work suddenly (Debian sid))
Date 2018-08-26 17:30 +0200
Message-ID <wr59f-3rm-5@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>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sunday 26 August 2018 10:24:35 Pascal Hambourg wrote:

> Le 26/08/2018 à 15:40, Gene Heskett a écrit :
> > Why do I have to read a mailing list to learn how to use these  new
> > ip tools.
>
> "New" ? iproute has been around for more that 20 years !
>
> > 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...

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

But we can add 2+2 and get a quite precisely defined 4.0000000000.

> 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. 
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.

It may not do it today, things do get improved but my linux experience 
dates to RH5.0 and 1998 and its been something I've had to edit e-n-i 
and then quickly make it immutable, ditto for making /etc/resolv.conf a 
real file and immutable ever since N-M was made virtually mandatory. My 
networking is not portable and with the exception of my ancient lappy 
will never be.

Theres a reason my /etc/hosts files are 20+ lines long, and my 
resolv.conf has a "search hosts nameserver" line in it, which N-M always 
removes if it can. The real file, made immutable fixes that too

N-M is helpless when there is not a dhcp server or a dhcp server that 
only recognizes the MAC of one machine for security reasons.

Based on my experience at making N-M work, you might want to get a 
shorter horse.

-- 
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)
Genes Web page <http://geneslinuxbox.net:6309/gene>

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