Hola,
He trobat aquesta pàgina:
https://askubun…-after-suspend
Proposa dues solucions:
1- Fer servir el kernel 4.13. Pel que diuen el problema que reportes és exclusiu del kernel 4.15 (no passa amb el 4.13).
2- Fer servir la recepta següent:
This happened to me as well with a Gigabyte-B250M-DS3H motherboard after upgrading from Ubuntu 16.04 to 18.04 on July 28, 2018. The kernel is 4.15.0-29-generic.
The result of sudo lshw -C network showed RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller, while it showed that r8169 is the driver used.
What finally worked was installing the driver specific to the Ethernet controller (big surprise):
sudo apt install r8168-dkms
and then restarting the computer (Thanks andypotter). I did not have to blacklist r8169, but I did still have to create a script in /lib/systemd/system-sleep/ that I called r8168-refresh-after-suspend(a la Paulo's advice) that would remove and reinsert r8168:
#!/bin/bash
# is the state (pre or post)
# is the action (suspend)
case / in
pre/suspend)
modprobe -r r8168
;;
post/suspend)
modprobe -i r8168
;;
esac
and, of course, make it executable with:
sudo chmod +x /lib/systemd/system-sleep/r8168-refresh-after-suspend
This worked like a charm. So, this is still an issue in the 4.15.0-29 kernel, but the band-aid fix still works.
A veure si et serveix i ja ens diràs quina solució has acabat aplicant.
Sort,
Joan