Results 1 to 10 of 12

Thread: r8168 on Ubuntu 12.04

Hybrid View

  1. #1
    Join Date
    Aug 2008
    Beans
    9

    r8168 on Ubuntu 12.04

    The old switchmod does not work in 12.04.

    Here is updated version: https://gist.github.com/2390823

    Or just tar on my dropbox: http://dl.dropbox.com/u/1901109/r816...od12.04.tar.gz including drivers r8168-8.028 that works fine for me.

    Steps:
    1. Download http://dl.dropbox.com/u/1901109/r816...od12.04.tar.gz
    2. tar -xzf r8168_switchmod12.04.tar.gz
    3. cd r8168_switchmod12.04
    4. sudo ./switchmods12.04

    List of available drivers: http://code.google.com/p/r8168/downloads/list
    Last edited by matera.ttp; April 15th, 2012 at 09:39 AM.

  2. #2
    Join Date
    Jul 2011
    Beans
    9

    Re: r8168 on Ubuntu 12.04

    nice one ! A big thank's to you for this amazing script.

    I would like to add that the driver, even if it's the incorrect one by default (r8169 instead of r8168 ), is functioning better than when I was on 11.10 (I'm not loosing the connection randomly with this one)

    I'm wondering if its the case for others people?

    Edit: After using the script with r8168-8.029, all is working great
    Last edited by underkz; May 1st, 2012 at 01:44 AM. Reason: add results

  3. #3
    Join Date
    Jul 2006
    Location
    Melbourne, Australia
    Beans
    121
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: r8168 on Ubuntu 12.04

    Thanks for this, seems to work perfectly

  4. #4
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    7,977
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: r8168 on Ubuntu 12.04

    Hi,

    you can also install this driver via dkms:

    Code:
    sudo apt-get install --reinstall linux-headers-$(uname -r) linux-headers-generic build-essential dkms
    wget http://media.cdn.ubuntu-de.org/forum/attachments/44/18/3005217-r8168-dkms-8.029.00.tar.gz
    sudo tar xvf 3005217-r8168-dkms-8.029.00.tar.gz -C /usr/src
    sudo dkms add -m r8168-dkms -v 8.029.00
    sudo dkms build -m r8168-dkms -v 8.029.00
    sudo dkms install -m r8168-dkms -v 8.029.00 
    echo "blacklist r8169" | sudo tee -a /etc/modprobe.d/blacklist.conf
    sudo modprobe -rfv r8169
    sudo modprobe -v r8168
    From here:
    http://forum.ubuntuusers.de/topic/la.../#post-3005217

    You should install the metapackage linux-headers-generic or linux-headers-generic-pae (or whatever kernel-architecture is in use) for that. Otherwise the driver r8169 occurs again with the new kernel image.

  5. #5
    Join Date
    Jan 2010
    Beans
    2

    Re: r8168 on Ubuntu 12.04

    Excellent!

    Much appreciated, it's always a hassle to upgrade and have no internet connection.

    Thanks once again.

    Mark.

  6. #6
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    7,977
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: r8168 on Ubuntu 12.04

    New driver version 31 available. I updated the link

  7. #7
    Join Date
    Dec 2011
    Beans
    1

    Re: r8168 on Ubuntu 12.04

    Dude, you rock! A billion thank yous, so much frustration removed from my evening.

    If I ever learn to do anything useful, you can ask me to help you with it any time.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •