I have just finished installing a dual boot Windows 10 / Ubuntu 20.04 on my laptop. My Ethernet connection works fine on Windows but not on Ubuntu.
The settings menu shows "Wired Connected", without question marks. It seems my configuration is fine but when I disable the WiFi (which works fine) I cannot connect to the internet.
I tried many other suggestions on this site (Q1,Q2,Q3,Q4), but none worked.
Additional Information:
sudo lshw -C network
*-network
description: Wireless interface
product: MEDIATEK Corp.
vendor: MEDIATEK Corp.
physical id: 0
bus info: pci@0000:2d:00.0
logical name: wlp45s0
version: 00
serial: 34:6f:24:86:55:d1
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=mt7921e driverversion=5.13.0-39-generic firmware=____010000-20220209150915 ip=192.168.0.14 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: iomemory:620-61f iomemory:620-61f iomemory:620-61f irq:190 memory:622c100000-622c1fffff memory:622c200000-622c203fff memory:622c204000-622c204fff
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:2e:00.0
logical name: enp46s0
version: 15
serial: 50:eb:f6:30:17:d5
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.13.0-39-generic duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.0.13 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:18 ioport:3000(size=256) memory:86204000-86204fff memory:86200000-86203fff
lspci -nn | grep -i ethernet
0000:2e:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
cat /etc/netplan/*.yaml
# Let NetworkManager manage all devices on this system
network:
version: 2
renderer: NetworkManager
cat /usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf
[keyfile]
unmanaged-devices=*,except:type:wifi,except:type:gsm,except:type:cdma,except:type:ethernet,except:type:wwan
ip addr list
Doesping 8.8.8.8
work? – Carles Mateo Apr 24 '22 at 09:03