
Originally Posted by
RaveNBlack
Thank you for the link. I've verified that running
Code:
sudo /usr/sbin/modprobe -r r8169 && sudo /usr/sbin/modprobe r8169
after resume fixes the issue. Unfortunately, it is not clear to me how to achieve this using service file.
Create a service file eg etc/systemd/system/r8169-reload.service
Code:
[Unit]
Description=Reload wireless driver after system resume
After=suspend.target
[Service]
Type=oneshot
ExecStart=/usr/sbin/modprobe -r r8169
ExecStart=/usr/sbin/modprobe r8169
[Install]
WantedBy=suspend.target
Then enable and start the service
Code:
systemctl enable r8169-reload.service
Code:
systemctl start r8169-reload.service
Hope that does the trick.
Bookmarks