If you have a Realtek RTL8111/8168B, you may notice that the network connectivity is choppy.
This instructions are derived from the following post
http://www.foxhop.net/realtek-dropping- ... and-fedora
Here are the instructions to replace the driver in a nutshellThe Realtek r8168B network card does not work out of the box in Redhat, Centos, Fedora, or Ubuntu: instead of loading the r8168 driver, modprobe loads the r8169 driver, which is broken as can be seen with ifconfig which shows large amounts of dropped packets.
- - Download the file from the oficial realtek site
- Open a terminal
- Change directories to where the downloaded file is
- Extract it
- Change directories to the extracted directory
- Execute autorun.sh
- If you are using kernel 3.x: Copy the r8168.ko file to the right place and load the module
- Download the file from the official site
http://www.realtek.com.tw/Downloads/dow ... wn=false#2
The rest of the steps depend on the filename and location of the downloaded file. Please adapt as required:
For example, if you download the file to your Downloads folder and the file is called r8168-8.025.00.tar.gz, the steps are the following
Code: Select all
cd ~/Downloads
tar vjxf r8168-8.025.00.tar.gz
cd r8168-8.025.00
sudo ./autorun.sh
This script unloads and renames the r8169 driver so it does not cause any more trouble. There is no need to blacklist it but you can blacklist it if you want.
Code: Select all
echo "blacklist r8169" >> /etc/modprobe.d/blacklist.conf
The solution is simple:
After the autorun.sh finishes, just do the following:
Code: Select all
sudo cp src/r8168.ko /lib/modules/3.0.0-1-amd64/kernel/drivers/net/
sudo depmod
sudo modprobe r8168
In case you are curious about what the bug is:
Line 36 of the src/Make file is
Code: Select all
KEXT := $(shell echo $(KVER) | sed -ne 's/^2\.[567]\..*/k/p')o
The fix is to also include kernel 3.0 in that instruction
Code: Select all
KEXT := $(shell echo $(KVER) | sed -ne 's/^2\.[567]\..*/k/p;s/^3\.0\..*/k/p')o
I hope this helps