Here is the complete guide:
echo "deb
http://download.proxmox.com/debian/pve bookworm pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list && \
sed -i "s/^deb/#deb/g" /etc/apt/sources.list.d/{pve-enterprise.list,ceph.list} && \
apt update && apt full-upgrade -y && \
echo 'grub-efi-amd64 grub2/force_efi_extra_removable boolean true' | debconf-set-selections && \
apt install --reinstall -y grub-efi-amd64 && \
reboot now
apt install -y dkms build-essential pve-headers-$(uname -r) && \
wget -qO realtek-r8125.deb $(wget -qO-
https://api.github.com/repos/awesometic/realtek-r8125-dkms/releases/latest | grep -oP '(?<="browser_download_url": ")[^"]*amd64.deb') && \
dpkg -i realtek-r8125.deb && \
echo "blacklist r8169" > /etc/modprobe.d/blacklist-r8169.conf && \
update-initramfs -u && \
reboot now
Find new NIC with:
ip a
nano /etc/network/interfaces -> change to new NIC i.e. enp1s0
disconnect usb2ethernet adapter
reboot now
Thanks to BGO5wd from github@
https://github.com/BGO5wd/PVE_RTL8125BG_ASUS_NUC_14_Essential_LAN