Comment 8 for bug 1679535

Revision history for this message
Per Olausson (per-olauzzon-h) wrote :

Hi everyone. I suffered too, but here is my solution.

This bug appears to affect old RTL8111/8168/8411 devices.

To check if you are affected:

  # lshw -class network | grep product
  product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller # <--- you might be
  # lsmod | grep r8169
  r8169 81920 0 # <--- you are affected because r8169 should not be loaded, r8168 should be but appears to not come with Ubuntu 17.04...

To solve this problem you need to have DKMS installed:

  # dpkg -l | grep dkms
  ii dkms 2.3-3ubuntu1 all
  Dynamic Kernel Module Support Framework

You need to download https://packages.ubuntu.com/zesty/all/r8168-dkms/download and bring it across to the machine affected and then install it on there:

  # dpkg -i r8168-dkms_8.043.02-1_all.deb

I am saying this since it might be that you struggle to get anything useful out of apt install etc because of lack of proper routing via your local network gateway. Of course the alternative is to just do:

  # sudo apt install r8168-dkms

For those needing a bit more help, see a more detailed guide @
https://unixblogger.com/2016/08/11/how-to-get-your-realtek-rtl8111rtl8168-working-updated-guide/

It also explains why this problem is happening.