[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Q: Gnome network odd



On Fri, 2024-02-02 at 10:41 -0600, David Wright wrote:
> On Fri 02 Feb 2024 at 07:37:34 (+0000), Tixy wrote:
> > On Wed, 2024-01-31 at 22:12 -0600, David Wright wrote:
> > > > I also have a more vague memory that you could put config into
> > > > /etc/network/interfaces then in some circumstance
> > > > NetworkManager
> > > > would
> > > > not try and manage that interface, and in others it would take
> > > > over.
> > > > (Perhaps selected by allow hotplug option in the ifupdown
> > > > config?)
> > > 
> > > That seems unlikely. Perhaps you're thinking of NM's ifupdown
> > > plugin
> > > that allows you to use the configuration in /e/n/i. I'm assuming
> > > the
> > > OP has not installed that in their sleep.
> > 
> > They wouldn't need to because it looks like it's shipped with the
> > main
> > network-manage package which contains various files with 'plugin'
> > in
> > their name, including libnm-settings-plugin-ifupdown.so.
> 
> What I said was unlikely is that an option in ifupdown's
> configuration,
> /e/n/i, would control NM's behaviour. It's the mere mention of the
> interface there, as in   iface enp5s0 inet dhcp   that makes ifupdown
> control it, and makes NM back off, AIUI.
> 
> > As we've seen from the OPs latest reply, the plugin is configured
> > to
> > not manage interfaces.
> 
> Right, and so the default NM configuration (ifupdown plugin present,
> news to me) and   [ifupdown] // managed=false   in the .conf file,
> means that NM should not, by default, configure any interface
> mentioned in /e/n/i. In the OP's case, the original /e/n/i:
> -rw-r--r-- 1 root root  433 Oct  4 17:23 interfaces.orig
> is big enough to hold a typical lo+eth+wlan configuration, which
> we haven't seen yet.

Sorry for late, David! 

Still i am on Debian Sid. And all Gnome network works very well. And
here is the detail contents of /e/n/i file:

<quote>
root@thinkpad-e495:/etc/network# ls -l
total 24
drwxr-xr-x 2 root root 4096 Jan  7 18:51 if-down.d
drwxr-xr-x 2 root root 4096 Jan  8 19:45 if-post-down.d
drwxr-xr-x 2 root root 4096 Jan  8 19:45 if-pre-up.d
drwxr-xr-x 2 root root 4096 Jan  7 18:51 if-up.d
drwxr-xr-x 2 root root 4096 Jan 24  2023 interfaces.d
-rw-r--r-- 1 root root  433 Oct  4 17:23 interfaces.orig
root@thinkpad-e495:/etc/network# cat interfaces.orig
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug wlp4s0
iface wlp4s0 inet dhcp
	# wireless-* options are implemented by the wireless-tools
package
	wireless-mode managed
	wireless-essid V30_3982
root@thinkpad-e495:/etc/network# date
Sun Feb  4 13:48:14 KST 2024
root@thinkpad-e495:/etc/network# 
</quote>


NOTE: 
1. I have never touched the inside of that file.
2. I guess the real original file was from Debian 12. 

Thanks!!!


Sincerely, Byunghee

-- 
^고맙습니다 _布德天下_ 감사합니다_^))//


Reply to: