Ubuntu RTL8111/RTL8168 Network Connection Fix

1. http://ubuntuforums.org/showthread.php?t=1022411
2. http://ubuntuforums.org/showthread.php?t=1661489

We can run $ lspci -v to check the modules and corresponding drivers in use.
We’ll find that Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express is using driver r8169. We’ll fix the connection problem by install driver r8168.


  1. Download the 8168 Linux drivers from RealTek: Realtek RTL8111/8168
  2.  Extract the downloaded 0002-r8168-8.040.00.tar.bz2 by running
    $tar -xvf 0002-r8168-8.040.00.tar.bz2 
  3. Step into the extraction folder, and Automatically replace the network driver by running
    $sudo ./autorun.sh
  4. Add r8169 into blacklist:
    $echo “blacklist r8169” >> /etc/modprobe.d/blacklist.conf
  5. Reboot

Problem with “permission denied”:

If you see “permission denied” error, you should check the following:

1. Are you root?
Fix it by running for example $sudo ./autorun.sh or run $sudo su first

2. Is the file has x permission for execution?
Check by $ls -l
Then you can change the permission,
$sudo chmod 777 filename

3. Cannot change permission mod?
Some USB driver does not allow the files on the driver to have execution permission. Thus move the file/folder to the place/device that allows execution permission.
$cp -r folder_src folder_dst


One thought on “Ubuntu RTL8111/RTL8168 Network Connection Fix

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s