1

Sometime yesterday I lost my wired ethernet network connection. It no longer appears in network manager, nor does it seem to be active in ifconfig, though the wireless adapter is.

Possible clues: This seemed to happen shortly after a network-manager (1.22.10-1ubuntu2.2/3) update, but there was also a kernel update (5.4.0-97.110) and system76-driver (20.04.47~1641830102~20.04~12f1c0f~dev, 20.04.48~1643752136~20.04~8120238~dev).

Attempted mitigations: I tried installing the script described here, the r8168-dkms kernel module described here, and doing a full shutdown and restart, to no avail.

Output of possibly relevant commands:

sudo lshw -C network
  *-network DISABLED        
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0.1
       bus info: pci@0000:6d:00.1
       logical name: enp109s0f1
       version: 12
       serial: 80:fa:5b:3f:01:33
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8168 driverversion=8.048.00-NAPI duplex=full latency=0 link=no multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:125 ioport:d000(size=256) memory:dc204000-dc204fff memory:dc200000-dc203fff
  *-network
       description: Wireless interface
       product: Wireless 8265 / 8275
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:6e:00.0
       logical name: wlp110s0
       version: 78
       serial: 00:28:f8:35:58:4a
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=5.15.15-76051515-generic firmware=36.ca7b901d.0 8265-36.ucode ip=192.168.0.14 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:129 memory:dc100000-dc101fff

cat /etc/netplan/*.yaml

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

cat /etc/network/interfaces

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
7
  • You probably have a cable problem, or whatever hub/switch/router/modem it's plugged into. Also show me dkms status.
    – heynnema
    Feb 2, 2022 at 21:42
  • Or you need to re-enable it in system settings > network. But in any case you're using Pop!_OS and that's off-topic here. Feb 2, 2022 at 21:43
  • OK, I used a different cable and tested it with a nearby Windows system, where it works fine, but does not work when plugged into my laptop.
    – Jeff Trull
    Feb 2, 2022 at 21:50
  • I am using Ubuntu 20.04.
    – Jeff Trull
    Feb 2, 2022 at 21:51
  • Describe your network wiring, from the laptop, to the modem. Are you using cat 5e cables? In the Network settings panel, what message is displayed in the Wired Connection box? Is it enabled? Start comments to me with @heynnema or I'll miss them.
    – heynnema
    Feb 2, 2022 at 21:59

1 Answer 1

0

I cannot explain why this was necessary, but the solution came down to ensuring that the wired interface was "managed". I changed /usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf from:

[keyfile]
unmanaged-devices=*,except:type:wifi,except:type:gsm,except:type:cdma

to:

[keyfile]
unmanaged-devices=*,except:type:wifi,except:type:gsm,except:type:cdma,except:type:ethernet

And now my wired interface comes up immediately. No new cables, drivers, or scripts were required.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .