Ethernet not working on update

I am new to Linux
My device:
Intel i5-1200H
RTX 3050
OS: fedora 43 workstation edition

After running the command sudo dnf update, my Ethernet is not showing. Previously, it was running perfectly.

I tried to solve this problem using ChatGPT. It said that the newer kernel module is not compatible with the hardware kmod-r8169.


nmcli device status

DEVICE             TYPE      STATE                   CONNECTION        
wlp0s20f3          wifi      connected               Civil vs CSE_5G 
lo                 loopback  connected (externally)  lo              
p2p-dev-wlp0s20f3  wifi-p2p  disconnected            --    

It does not show the Ethernet device


lspci -k | grep -A 3 -i ethernet

34:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)
	Subsystem: Lenovo Device 3938
	Kernel driver in use: r8168
	Kernel modules: r8169, r8168

Does the eternet device show up if you boot the previous kernel?

You can see what works for other linux users with something like: https://linux-hardware.org/?id=pci:10ec-8168-17aa-5002. The 10ec:8168 matches lots of LHDB probes, but you
need lspci -nnvvk | grep -A 2 -i ethernet to get the 3rd and 4th (subsystem) ID’s for an exact match to your hardware.