The previous service is awesome but it can be improved to cover hibernation and hybrid-hibernation as well:
# /etc/systemd/system/fix-r8169.service ``` [Unit] Description=Fix RTL-8169 Driver on resume from suspend After=suspend.target [Service] User=root Type=oneshot ExecStartPre=/sbin/modprobe -r r8169 ExecStart=/sbin/modprobe r8169 TimeoutSec=0 StandardOutput=syslog [Install] WantedBy=suspend.target hibernate.target hybrid-sleep.target ``` -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-signed-hwe in Ubuntu. https://bugs.launchpad.net/bugs/1839752 Title: Ethernet did'nt wake up after suspend Status in linux-signed-hwe package in Ubuntu: New Bug description: With the last kernel 4.18.0-25-generic there was no problem. Since upgrade to kernel 5.0.0-23-generic ethernet did not wake up after resume from suspend. During suspend the network link LED is flashing, after wake up from suspend the LED is off. I returned to the former kernel and there was no problem with ethernet and suspend. I found similar bug reports concerning the driver r8169, but they all are cover earlier versions of the kernel. Unloading and reloading the driver is a workaround. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: linux-image-5.0.0-23-generic 5.0.0-23.24~18.04.1 ProcVersionSignature: Ubuntu 5.0.0-23.24~18.04.1-generic 5.0.15 Uname: Linux 5.0.0-23-generic x86_64 ApportVersion: 2.20.9-0ubuntu7.7 Architecture: amd64 CurrentDesktop: KDE Date: Sun Aug 11 12:14:27 2019 InstallationDate: Installed on 2019-06-17 (54 days ago) InstallationMedia: Kubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210) SourcePackage: linux-signed-hwe UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe/+bug/1839752/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp