Re: New connection appears after unplugging Ethernet

2022-04-26 Thread Martin
On 2022-04-26 10:27, Thomas Haller wrote:
> the profile with the same name as the device, is usually generated by
> NetworkManager in response to an external configuration. You'd see
> "connected (externally)" in `nmcli device`.

This is the case, indeed. I was not aware of that flag, thank you!

> That usually means that some other program is configuring the device.
> Or it would be a bug... to investigate, check the `level=TRACE` log.

I can see, that an NM connection is created as "nm-generated, volatile,
external". Now I only have to find out, which program is the culprit.
So far, I have no idea.

At least, it does not seem to be a NM bug!
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: New connection appears after unplugging Ethernet

2022-04-26 Thread Thomas Haller via networkmanager-list
On Sun, 2022-04-24 at 22:00 +, Martin wrote:
> Dears,
> 
> when I *unplug* the Ethernet of my laptop computer, a new connection
> "enp0s25" appears out of the nothing. When I plug the Ethernet in
> again,
> my usual connection "Wired" is automatically used, probably because
> the
> other connection "enp0s25" is active?
> 
> Before unplugging:
> 
> NAME UUID  TYPE  DEVICE  
> Wired    6...  ethernet  enp0s25 
> 
> After unplugging:
> 
> $ nmcli con
> NAME UUID  TYPE  DEVICE
> enp0s25  c...  ethernet  enp0s25
> Wired    6...  ethernet  --
> 
> Maybe relevant software versions (Debian testing):
> 
> linux-image-5.16.0-6-amd64 5.16.18-1
> network-manager    1.36.4-2
> udev   250.4-1
> 
> How can I prevent a new Ethernet connection on *unplugging* Ethernet?
> Thanks in advance!
> 
> Cheers

Hi

the profile with the same name as the device, is usually generated by
NetworkManager in response to an external configuration. You'd see
"connected (externally)" in `nmcli device`.

That usually means that some other program is configuring the device.
Or it would be a bug... to investigate, check the `level=TRACE` log.
Read [1]

[1] 
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/contrib/fedora/rpm/NetworkManager.conf#L27


best,
Thomas

___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


New connection appears after unplugging Ethernet

2022-04-24 Thread Martin
Dears,

when I *unplug* the Ethernet of my laptop computer, a new connection
"enp0s25" appears out of the nothing. When I plug the Ethernet in again,
my usual connection "Wired" is automatically used, probably because the
other connection "enp0s25" is active?

Before unplugging:

NAME UUID  TYPE  DEVICE  
Wired6...  ethernet  enp0s25 

After unplugging:

$ nmcli con
NAME UUID  TYPE  DEVICE
enp0s25  c...  ethernet  enp0s25
Wired6...  ethernet  --

Maybe relevant software versions (Debian testing):

linux-image-5.16.0-6-amd64 5.16.18-1
network-manager1.36.4-2
udev   250.4-1

How can I prevent a new Ethernet connection on *unplugging* Ethernet?
Thanks in advance!

Cheers
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list