Realtek’s modules, new version has been released

If you read my previous article about r8169 module but it wasn’t the best solution for your Realtek ethernet adapter, now it’s the time to be happy! :D

Realtek has released new version of r81* modules and now we’ll proceed to compile and install the right module we need, but please note that I have a RTL8101E PCI Express Fast Ethernet controller, so I tested this procedure on Ubuntu 8.04 «Hardy Heron» only with r8101 module.

We need to install build-essential and kernel headers to compile the sources:

sudo apt-get install build-essential linux-headers-`uname -r`

Now download in Home dir the driver (r8101 or r8168) and unzip it:

tar xvf downloaded_archive.tar.bz2
cd downloaded_archive

To compile and install the module type:

sudo -E make clean modules
sudo make install
sudo depmod -a

In order to avoid that r8169 will be loaded at the boot time, we need to edit /etc/modprobe.d/blacklist-network (it could be necessary to create it) and add this line:

blacklist r8169

Finally, update the initial ramdisk typing this:

sudo update-initramfs -u

You can see that this way doesn’t need any patch to get a working module, this update should be the right solution for a several number of issues which users reported me (hardware incompatibilities, system freezes…). In case of problems, please leave a comment, I’ll reply soon.

Facebook Twitter Email

6 thoughts on “Realtek’s modules, new version has been released

  1. People should use and help improve the rr8169 driver that comes with vanilla linux so the
    put of tree driver is not needed anymore. Keep on using out of tree modules is harmfull in the long term …. just imnsho ;)

    PS i’m a ubuntu user …

  2. Hi,
    Thanks for this information, it worked fine for me using the r8168-8.009.00.tar.bz2 from the realtek website. Ofcourse a restart is required before all changes are applied;
    lsmod | grep r81
    shows you which module is being used. After rebooting it showed
    icns@atomic:~$ lsmod | grep r81
    r8168 38416 0
    so all is fine now, and no more dropped packages! :)

  3. Pingback: Point of view Mobii y Ubuntu 8.10 Intrepid - Configurando tarjeta de red para cable ethernet y wifi « Blog de Mario - Until every cage is empty

  4. Thanks! The above steps worked perfectly on my Gateway laptop and ubuntu 10.10. Before, I could only access the Internet through wireless. Now I can get wired too. Cheers!

  5. Thanks alot!! i use a lenovo g460 with linux mint 10 KDE and worked perfect!, articles like this should be easier to find, i spend some hours trying to find something like this and finally i could make it work

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>