Score:1

enp0s25 interface keeps reappearing in Ubuntu 20.04.03 LTS

mx flag

I've just started seeing something odd in my system (Ubuntu 20.04.03 LTS). I've got a hardwired connection to my system, and noticed in the past few days that I see the interface enp0s25 as one of my pulldown options for a wired connection. I saw that /etc/NetworkManager/system-connections has a list of all my wireless and wired connections, and saw a file 'enp0s25.nmconnection' there. I moved it someplace else, and rebooted.

However, this connection still appears in my pulldown, and for some reason, even if I set my wired connection to 'Off'... this still reappears. If I set things to 'Off', my system is connected to enp0s25.nmconnection, but there is no internet connectivity. Here is how things appear when the system is connected normally; note the enp0s25 is there:

enter image description here

Looking at /etc/NetworkManager/system-connections, I don't see the enp0s25.nmconnection there. How might this be repopulated? Is there a way to find what process might be trying to reconnect this?

I do use Dropbox, so I'm wondering if this could be an issue. The hardware (MAC) addresses of the 'Wired connection 1' and enp0s25 are the same, BTW.

Additionally, even when I remove the interface enp0s25, it can reappear, and, looking further, I see it has the 'Make available to other users' checkbox 'on'.

The output of 'ifconfig' shows the enp0s25 interface, when 'Wired connection 1' is connected.

As per @heynnma:

No entries for /etc/network/interfaces;

ls /etc/network returns:

if-down.d  if-post-down.d  if-pre-up.d  if-up.d

In /etc/netplan, there is only one file, 01-network-manager-all.yaml

# Let NetworkManager manage all devices on this system
network:
  version: 2
  renderer: NetworkManager

Trying sudo lshw -C network, gives the following (MAC address output obscured):

  *-network                 
       description: Ethernet interface
       product: Ethernet Connection I217-LM
       vendor: Intel Corporation
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: enp0s25
       version: 04
       serial: aa:bb:cc:dd:ee:ff
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=5.11.0-41-generic duplex=full firmware=0.13-3 ip=10.0.0.52 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       resources: irq:37 memory:f2600000-f261ffff memory:f263f000-f263ffff ioport:5080(size=32)
  *-network DISABLED
       description: Wireless interface
       product: Wireless 7260
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: wlp4s0
       version: 83
       serial: a0:b0:c0:d0:e0:f0
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=5.11.0-41-generic firmware=17.3216344376.0 7260-17.ucode latency=0 link=no multicast=yes wireless=IEEE 802.11
       resources: irq:36 memory:f2400000-f2401fff

Here's the thing - I didn't have a wireless connection on my machine (always have been hardwired; this is a Desktop installation). I did have a wireless adapter, and added the system to a local Wi-Fi connection to see if this would change things. This did stop the appearance of the enp0s25, temporarily, however, the 'Turn Off' dropdown went away! The only way to disconnect is to open the 'Wired settings' option, and disconnect via the slider. However, when that happens... the enp0s25 reappears again as in the screen shot.

heynnema avatar
ru flag
Edit your question and show me `cat /etc/network/interfaces` and `cat /etc/netplan/*.yaml` and `sudo lshw -C network`. Is this a Desktop or Server installation? Dropbox is not your problem. Start comments to me with @heynnema or I'll miss them.
asylumax avatar
mx flag
@heynnema; requested information was added. Behaviour seems to have gone away, but this is a bit odd, yes. Thanks for your input.
heynnema avatar
ru flag
The only thing that I see is in the `lshw` output, "size: 100Mbit/s" when you actually have a 1Gbit interface. This usually means a bad cable, or that your switch/hub/router/modem doesn't have gigabit ports.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.