The ethernet connection suddenly stopped working after a restart happened. lshw -c network yields *-network UNCLAIMED. From what I've read in various forums, it would seem that no network driver is active. I searched the product RTL8111/8168/8411 and found that I needed the realtek r8168 driver. I downloaded and run the .deb file and everything seemed to be installed correctly. However after a restart and and a service network-manager restart nothing seems to be working. I ran lsmod but could not find the name of the driver I installed in the output.

Any thoughts? Please forgive my inexperience, I will provide more info upon request. I have kubuntu 20.04

EDIT: sudo modprobe r8169 && sudo dmesg | grep r816 outputs: modprobe: FATAL: Module r8169 not found in directory /lib/modules/5.8.0-36-generic

  • Please edit your question to show the result of the terminal command: sudo modprobe r8169 && sudo dmesg | grep r816 Welcome to Ask Ubuntu.
    – chili555
    Jan 14 '21 at 20:52
  • @chili555 Thank you for your comment, i updated the question, it seems it is not found anywhere in the system
    – VlassisFo
    Jan 14 '21 at 20:56
  • How about: sudo modprobe r8168 && dmesg | greo r816?
    – chili555
    Jan 14 '21 at 20:59
  • @chili555 Same output as before :(
    – VlassisFo
    Jan 14 '21 at 21:00
  • If you boot into an earlier kernel version at the GRUB menu, does the ethernet work again? Also, please show us: sudo dkms status and: sudo dpkg -s r8168-dkms | grep Status
    – chili555
    Jan 14 '21 at 21:16

In our chat, we determined that a recent update installed a 5.8.0-36 kernel version and that, for unknown reasons, the package linux-modules-extra that provides the relevant ethernet driver r8169 was not installed.

You were able to successfully get to the boot menu and GRUB. You selected an earlier kernel version, 5.4.0-60. Then I suggested the following commands:

sudo apt update
sudo apt install --reinstall linux-generic
sudo apt install --reinstall linux-modules-extra-5.8.0-36-generic
sudo apt purge r8168-dkms

Upon reboot back into your 5.8.0-36 kernel version, the ethernet was now working as expected.

  • Very helpful! Thanks again :)
    – VlassisFo
    Jan 15 '21 at 14:38
  • Glad it's working! It was a pleasure working with you on this interesting case.
    – chili555
    Jan 15 '21 at 14:43
  • I has the same problem, except that my attempts tofix it seems to have broken kernel 5.4.0-60. Luckily manually downloading (using another computer) and installing linux-modules-extra-5.8.0-36-generic fixed the problem. Thanks for the tip. Jan 17 '21 at 13:43
  • Also after upgrading kernel to 5.8.0-38 the corresponding linux-modules-extra package was again missing. It seem Canonical wants to be more like Microsoft when it comes to system updates... Jan 17 '21 at 13:47
  • And the same thing happened again after upgrade to 5.8.0-40... Why, Canonical, why? Jan 25 '21 at 12:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.