Comment 21 for bug 141343

Revision history for this message
Dale Jefferson (dalejefferson-deactivatedaccount-deactivatedaccount) wrote :

Update from the forum http://ubuntuforums.org/showthread.php?t=755002

To compile the working r8168 driver you need to:

sudo apt-get install build-essential
wget ftp://66.104.77.130/cn/nic/r8168-8.006.00.tar.bz2
tar -xjvf r8168-8.006.00.tar.bz2
cd r8168-8.006.00/src

Then copy the attached patch to the r8168-8.006.00/src directory

patch < r8168-8.005.00.hardy.diff.txt
cd ..
make clean
make modules
sudo make install
sudo depmod -a
sudo mkinitramfs -o /boot/initrd.img-`uname -r` `uname -r`

Then you need to black list the r8169 driver:

sudo sh -c 'echo "blacklist r8169" >> /etc/modprobe.d/blacklist-network'