Re: Realtek RTL8111/8168B not working with Ubuntu 12.04 LTS
Note that Realtek released a new version of r8168, very recently, version 08.31.00.
Originally Posted by ChemMeister
I install it as follows and it always works on my system:
1) Download the driver and expand it into a new directory. cd to the top directory in the expanded directory.
2) sudo make clean modules
3) sudo make install
4) Verify that new file r8168.ko exists in directory /lib/modules/3.2.0-24-generic/kernel/drivers/net/ethernet/realtek/
5) blacklist r8169
6) Edit /etc/initramfs-tools/modules and add a line with "r8168" on it.
7) sudo depmod -a
8 ) sudo update-initramfs -v -u -k `uname -r`
Note that on item 8, those are grave accents, not quote marks.
Run "sudo lspci -v" to make sure kernel module r8168 is "in use". If it is, and you still cannot make a connection, something else is wrong. Good luck!
Cyberpower PC, Core i5 2500 3.3 gHz, 8GB DDR3, ATI 6770 1GB, Samsung BX 2440 LED 1080p, 1 TB SATA III, 2 TB SATA III, Siduction Linux 64-bit