I am having a terrible week trying to resolve an issue with my ethernet connection. The ethernet works fine for 1 minute before I lose connection. The networks icon to the top constantly reads as connected, but I have to disconnect and reconnect by clicking 'Wired connection 1' for a few seconds/mins of connection.
- Realtek Lan Driver Update
- Realtek Wireless Lan Driver
- Realtek Ethernet Controller Driver
- Modprobe Realtek Lan Controller Driver Update
- Realtek Lan Controller
To work around this issue, I have a cron job running every minute to disconnect and reconnect with the following lines of code:
Please help. I need a more permanent solution for a steady ethernet connection.
Things I've done:

Jan 13, 2018 - I tried reinstalling Network Manager but no luck. After some Google. Product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller. Upgrade your kernel to 4.13 which contains the driver for Realtek RTL8111/8168/8411. Sudo sh -c 'echo blacklist r8169 >> /etc/modprobe.d/blacklist.conf'.
Realtek Lan Driver Update
1) Install the r8168-dkms using Synaptic.
2) Set the IPv6 settings 'Method' section to 'ignore'.
3) Changed my Internet DNS servers to 8.8.8.8,8.8.4.4...etc.
4) Change the 'MTU' to 9000.
5) Changed interface file to:auto loiface lo inet loopbackauto enp4s0iface enp4s0 inet dhcp
- => If you add new hardware you need to add driver i.e. => The modprobe command. The author is the creator of nixCraft and a seasoned sysadmin, DevOps.
- Jan 7, 2011 - 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI. Sudo gedit /etc/modprobe.d/blacklist.conf. Remove any drivers/modules installed i had both r8169 and r8168 installed so in terminal write.
as well as for static.
6) sudo apt-get purge r8168-dkms from Ubuntu 14.04 wired connection keep disconnecting
7) Everything on https://unixblogger.com/2011/10/18/the-pain-of-an-realtek-rtl8111rtl8168-ethernet-card/
8) Install older version of r8168, then:
9) Read through pages of https://ubuntuforums dot org/archive/index.php/t-2291730.html
10) Everything on https: //ubuntuforums dot org/showthread.php?t=2248047
11) Cold booting.
12)
13) https: //nosemaj dot org/hardy-r8168
14) Test ethernet cable with other devices.
15) Crying.
16) Asked my mom.
UPDATE #1
Commands to remove:
None of these commands removed 8.044.
UPDATE #2
UPDATE #3
After trying and failing with r8168 V 8.042... I tried version 8.043.02 and had some sort of success, although we're not at the final solution yet.
UPDATE #4
UPDATE 5
It seems as though this command removed the 8.044 driver and now all that's left is the 8.043.02 driver.
1 Answer
From the comments...
you really do need to run r8168-dkms in your configuration
undo all of the changes that you've made... they didn't fix the problem, only created new ones
After closer review, I see that you're using the r8168-dkms (8.044.02-NAPI) for Ubuntu 17.10 (on a 16.04 system). Please install the correct version and retest.
In your Network GUI, you have multiple 'Wired Connection' profiles set up. They would be named Wired Connection, Wired Connection 1, Wired Connection 2, etc. Delete all except for Wired Connection.
Update #1:
Assuming that the current status is that dkms status
shows r8168, 8.041.00 : added
...
Note: you may have to confirm the correct values of r8168/8.041.00 (module/version) by either looking in /usr/src
or /var/lib/dkms/r8168
.
Should show r8168, 8.041.0 installed
.
Should say 8.041.00
.
Update #2:
Realtek Wireless Lan Driver
- r8168 v8.041.00 was too old for 16.04.2 (kernel 4.8.0-58)
- we're now using r8168 v8.043.02
Update #3:
We'll completely remove r8168-dkms and un-blacklist r8169 and then reinstall r8168-dkms from the Ubuntu repos.
sudo dkms remove r8168/8.043.02 -k '$(uname -r)/$(uname -p)'
sudo apt-get purge r8168-dkms
cd /var/lib/dkms
ls -al
- should not show r8168
cd /usr/src
ls -al
- should not show r8168.043.02
find /lib -name r8168.ko
- should not show r8168.ko
cd /etc/modprobe.d
ls -al r8168*
- should show no files
grep -i r816 *
- edit output of grep into question as update #n
cd
sudo modprobe -r r8168
sudo update-initramfs -u -k '$(uname -r)'
- stop here, ping me at @heynnema
Not the answer you're looking for? Browse other questions tagged 16.04driversethernetrealtek or ask your own question.
Realtek Ethernet Controller Driver
Modprobe Realtek Lan Controller Driver Update
I am running Debian Lenny kernel 2.6.26 on an Dell gx260 and have a Trendnet rtl8185 pci wireless card. When I modprobe rtl8180 kernel module, the system completely locks up. From what I read on the 'installing' page, that kernel should have the latest drivers already. Is that true?
I decided to try the SVN version of the driver. It compiled without complaining and most of the modules inserted, but when I got the ieee80211-rtl.ko module, it complained that the module was an 'invalid format'.
Realtek Lan Controller
Any thoughts on either issue?