Realtek r8168 on Ubuntu 12.04

  1. Download the driver from here, current version is 8.038.00.
  2. Extract to /usr/src

    cd /usr/src
    tar xjvf ~/Downloads/r8168-8.038.00.tar.bz2
    
  3. Create /usr/src/r8168-8.038.00/dkms.conf

    PACKAGE_NAME="r8168"
    PACKAGE_VERSION="8.038.00"
    CLEAN[0]="make clean"
    BUILT_MODULE_NAME[0]="r8168"
    BUILT_MODULE_LOCATION[0]="src"
    DEST_MODULE_LOCATION[0]="/updates"
    MAKE[0]="'make' 'modules'"
    AUTOINSTALL="YES"
    REMAKE_INITRD="YES"
    

  4. Add, Build and Install the module with DKMS

    dkms add -m r8168 -v 8.038.00
    dkms build -m r8168 -v 8.038.00
    dkms install r8168/8.038.00
    

Advertisements
Tagged with: , , ,
Posted in Linux, Ubuntu

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

%d bloggers like this: