This will not "survive" a kernel rebuild. I ran:
apt-get update apt-get upgrade
And had to reinstall the driver afterwards as show below. Its also stated in the reference link.
Network card name can vary, eno1 is a possibility, mine is ens2p0
sudo apt purge r8125-dkms sudo reboot tar -xvf r8125-9.016.01.tar cd r8125-9.016.01 sudo ./autorun.sh (ignore a few errors) sudo reboot sudo ethtool -i eno1 vi /etc/netplan/01-netcfg.yaml netplan apply
01-netcfg.yaml
network:
version: 2
ethernets:
eno1:
dhcp4: true