resolution at the time of incident on a system76 lemur6, which was back 11-7-19, so you would need to make sure to get the latest driver:
grab a copy of the latest r8168 driver (or download it via another computer and put it on USB storage)
wget http://mirrors.edge.kernel.org/ubuntu/pool/universe/r/r8168/r8168-dkms_8.047.02-1_all.deb
Install that driver (will automatically regenerate initramfs kernel image with integrated driver)
dpkg -i r8168-dkms_8.047.02-1_all.deb or use gdebi package installer (log below)
(Reading database ... 301468 files and directories currently installed.)
Preparing to unpack .../r8168-dkms_8.047.02-1_all.deb ...
-------- Uninstall Beginning --------
Module: r8168
Version: 8.046.00
Kernel: 5.0.0-21-generic (x86_64)
Status: Before uninstall, this module version was ACTIVE on this kernel.
r8168.ko:
- Uninstallation
- Deleting from: /lib/modules/5.0.0-21-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod...
Backing up initrd.img-5.0.0-21-generic to /boot/initrd.img-5.0.0-21-generic.old-dkms
Making new initrd.img-5.0.0-21-generic
(If next boot fails, revert to initrd.img-5.0.0-21-generic.old-dkms image)
update-initramfs...............
DKMS: uninstall completed.
-------- Uninstall Beginning --------
Module: r8168
Version: 8.046.00
Kernel: 5.0.0-32-generic (x86_64)
Status: Before uninstall, this module version was ACTIVE on this kernel.
r8168.ko:
- Uninstallation
- Deleting from: /lib/modules/5.0.0-32-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod...
Backing up initrd.img-5.0.0-32-generic to /boot/initrd.img-5.0.0-32-generic.old-dkms
Making new initrd.img-5.0.0-32-generic
(If next boot fails, revert to initrd.img-5.0.0-32-generic.old-dkms image)
update-initramfs.............................
DKMS: uninstall completed.
Deleting module version: 8.046.00
completely from the DKMS tree.
Done.
Unpacking r8168-dkms (8.047.02-1) over (8.046.00-1) ...
Setting up r8168-dkms (8.047.02-1) ...
Loading new r8168-8.047.02 DKMS files...
Building for 5.3.0-20-generic
Building initial module for 5.3.0-20-generic
Secure Boot not enabled on this system.
Done.
r8168:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.3.0-20-generic/updates/dkms/
depmod...
Backing up initrd.img-5.3.0-20-generic to /boot/initrd.img-5.3.0-20-generic.old-dkms
Making new initrd.img-5.3.0-20-generic
(If next boot fails, revert to initrd.img-5.3.0-20-generic.old-dkms image)
update-initramfs..............................
DKMS: install completed.
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.130ubuntu3.9) ...
update-initramfs: Generating /boot/initrd.img-5.3.0-20-generic
W: initramfs-tools configuration sets RESUME=UUID=1ea780e4-c2fa-4021-991a-a0cd0a5fff31
W: but no matching swap device is available.
- Remove elder driver, blacklist it, and use newer one
$rmmod r8169
$echo "blacklist r8169" > /etc/modprobe.d/blacklist.conf
$modprobe r8168`
(and try if everything works after a fresh boot)