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'
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 104.77. 130/cn/ nic/r8168- 8.006.00. tar.bz2 006.00. tar.bz2
wget ftp://66.
tar -xjvf r8168-8.
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 img-`uname -r` `uname -r`
cd ..
make clean
make modules
sudo make install
sudo depmod -a
sudo mkinitramfs -o /boot/initrd.
Then you need to black list the r8169 driver:
sudo sh -c 'echo "blacklist r8169" >> /etc/modprobe. d/blacklist- network'