Ubuntu – Realtek ethernet driver issue, network unclaimed, ubuntu 18.04


i'm getting error network UNCLAIMED, and i see through the forums that it states the drivers. well, my kernel is 5.3.0-20-generic, and it states when i try to install the drivers, its the latest…and its not working. do i need to downgrade to the prior version of the drivers or wait till the create it for this kernel? funny thing is my wireless interface is working…any help in the right directions, thanks.

$ sudo lshw -C network 
  *-network UNCLAIMED       
       description: Ethernet controller
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0.1
       bus info: pci@0000:01:00.1
       version: 12
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list
       configuration: latency=0
       resources: ioport:e000(size=256) memory:df214000-df214fff memory:df210000-df213fff
$ sudo apt-get install r8168-dkms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
r8168-dkms is already the newest version (8.046.00-1).
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.

Best Answer

  • You don't need r8168-dkms with new kernels.

    Remove it by sudo apt purge r8168-dkms and the adapter will be managed by the kernel in-tree module.

  • Related Question