I installed NVIDIA GT 1030 proprietary driver for Linux X86 64 bits in Ubuntu 16.04 LTS. Since, Ethernet driver module becomes unstable; it does not start automatically after login or resume after suspend until I type $sudo modprobe r8169
. I tried to fix the problem using $sudo systemctl restart network-manager.service
, but in vain.
I went through the forums and learned that this module is unstable and the best way to get things work is to return back to r8168 driver. I blacklisted r8169 in /etc/modprobe.d/blacklist.conf
and tried to compile r8168 for my 4.15.0 linux kernel, however it does not. I tried to install r8168-dkms
package from the repository but does not succeed.
Now I have r8169 driver working but with Networking Interface initially UNCLAIMED
. Any help is welcome.
From the comments...
Using r8168-dkms 8.041.00 with the newer 4.15 kernel on Ubuntu 16.04 LTS won't work. You'll probably need 8.045.
The bionic version, r8168-dkms 8.045.08-2 from https://packages.ubuntu.com/search?keywords=r8168-dkms wouldn't compile. The cosmic -3 version would have probably worked fine.
r8168-dkms 8.045.08-3 from http://mirrors.edge.kernel.org/ubuntu/pool/universe/r/r8168/ works fine.
The system is operational now.
Note: kernel 4.15.0-24-generic has some known issues. Best to use another kernel if other problems arise.
Update #1:
r8168-dkms 8.046.00-1 has become available at http://mirrors.edge.kernel.org/ubuntu/pool/universe/r/r8168/r8168-dkms_8.046.00-1_all.deb
Update #2: (August 2019)
r8168-dkms_8.047.02-1
is now available at here.Here's what worked for me under Linux Mint 19.2
Grab a copy of the latest r8168 driver (or download it via another computer and put it on USB storage)
Install that driver (will automatically regenerate initramfs kernel image with integrated driver)
Remove elder driver, blacklist it, and use newer one
Profit (and try if everything works after a fresh boot)