The internet connection to my computer using Ubuntu 16.04.5 became very unstable over the last month after some updates Another computer on the same network, not using Linux, does not show issues. And this is not using a WiFi connection.
After some research, I found several references to issues related to the r8168 RealTek Ethernet controller I have with kernel 4.15.0-33.
Reading various answers, I found that I should install a newer version of the driver compatible with 4.15 linux kernels.
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1779817
- 63 ask to test a kernel which happen to be 4.15.0-33 which has the issue
- 59 it is recommended to load latest r8168 driver version, so I downloaded and installed version 8.046.00 from .deb
But the connection is still unstable and afterwards when I use the following command to check driver installation there is a warning:
This is the output of dkms status:
bbswitch, 0.8, 4.15.0-32-generic, x86_64: installed
bbswitch, 0.8, 4.15.0-33-generic, x86_64: installed
bbswitch, 0.8, 4.4.0-134-generic, x86_64: installed
nvidia-384, 384.130, 4.15.0-32-generic, x86_64: installed
nvidia-384, 384.130, 4.15.0-33-generic, x86_64: installed
nvidia-384, 384.130, 4.4.0-134-generic, x86_64: installed
r8168, 8.046.00, 4.15.0-33-generic, x86_64: installed (WARNING! Diff between built and installed module!)
And this is output of modinfo r8168 | grep -i version asked on similar issue discussions:
version: 8.046.00-NAPI
srcversion: EEF16FD7BFA162691D9F9DD
So from dkms status I think the installation did not work properly, but I do not know what to do from there.
Could anyone point me to what I should do or could try?
EDIT:
I realize that sound card was not working anymore using kernel 4.15 as well. So I tried to start using older kernel 4.4.0-134. At least it solved the sound issue. But regarding the internet unstability, as r8168 8.046 did not build with that kernel, I re-installed the r8168-dkms package from synaptic (r8168-8.041) but it did not solve the internet issue which is still completely unstable using 4.4.0-134 & r8168-8.041.