Alessio Treglia

everybody lies
  • Quality Assurance
  • it blog
  • rss
  • Home
  • About
  • Roma3 WiFi Authenticator
  • Installation Report Generator
  • Contact

Realtek’s modules, new version has been released

quadrispro | August 21, 2008

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.

Categories
Bugs and issues, Hardy, Howtos and docs, Kernel and modules, Planet Ubuntu
Comments rss
Comments rss
Trackback
Trackback

« How to compile r8168 and r8101 modules for Realtek ethernet adapters New project: Installation Report Generator »

3 responses

People should use and help improve the rr8169 driver that

erUSUL | August 22, 2008 | 3:05 pm

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 …

[Reply]

you partially saved me by writing this tutorial... thanks! ubuntu rules!

iwan | October 7, 2008 | 10:17 pm

you partially saved me by writing this tutorial…
thanks! ubuntu rules!

[Reply]

Hi, Thanks for this information, it worked fine for me using

estorino | November 22, 2008 | 3:01 pm

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! :)

[Reply]

Leave a comment

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

Click to cancel reply

Categories

Bugs and issues GTK+ Hardy Howtos and docs Installation Report Generator Kernel and modules Planet Ubuntu Python Wiki and documentation

Recent comments

  • estorino on Realtek’s modules, new version has been released
  • Brian Wilson on How to compile r8168 and r8101 modules for Realtek ethernet adapters
  • Constantine Tsardounis on How to compile r8168 and r8101 modules for Realtek ethernet adapters
  • quadrispro on Installation Report Generator
  • Søren Juul on Installation Report Generator

Archive

RSS Planet Ubuntu

  • Jorge Castro: I broke the internets
  • Jeff Bailey: We're here!
  • Celeste Lyn Paul: System Settings as a Design Lesson
  • Mackenzie Morgan: Compiz? Emerald? Metacity? What's the Difference?
  • Jorge Castro: Lenovo X200 and Ubuntu 8.10
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox