Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: r8168 on Ubuntu 11.10 Kernel 3.x.x

  1. #1
    Join Date
    Aug 2008
    Beans
    9

    r8168 on Ubuntu 11.10 Kernel 3.x.x

    I don't know why but origin autorun.sh from drivers archive doesn't work anymore with next error: "FATAL: Module r8168 not found"

    Here are instructions that works for me:

    1. Download script here
    http://www.jamesonwilliams.com/bin/r...cripts.tar.bz2
    ( http://www.jamesonwilliams.com/hardy-r8168 )

    2. Download r8168-8.025.00.tar.bz2 here
    http://code.google.com/p/r8168/downloads/list

    3. Extract r8168_scripts.tar.bz2 and go to the extracted dir
    cd r8168_scripts

    4. Copy new r8168-8.025.00.tar.bz2 drivers to this directory

    5. Edit "switchmods" end set VERSION to
    VERSION=r8168-8.025.00

    6. run switchmods
    sudo ./switchmods

  2. #2
    Join Date
    Oct 2011
    Beans
    1

    Re: r8168 on Ubuntu 11.10 Kernel 3.x.x

    Thanks! This works perfectly.

  3. #3
    Join Date
    Nov 2004
    Beans
    10

    Re: r8168 on Ubuntu 11.10 Kernel 3.x.x

    I tried this and got a message that ended with "could not build module." This 8168 driver has been a pain for me...

  4. #4
    Join Date
    Mar 2008
    Beans
    17

    Re: r8168 on Ubuntu 11.10 Kernel 3.x.x

    I can get the network to work by following your steps but only untill next reboot.

  5. #5
    Join Date
    Jul 2009
    Beans
    5

    Re: r8168 on Ubuntu 11.10 Kernel 3.x.x

    Worked great for me, but doesn't hold persistent after a reboot. Have to re-run ./switchmods.

  6. #6
    Join Date
    Mar 2008
    Beans
    17

    Re: r8168 on Ubuntu 11.10 Kernel 3.x.x

    Solved the problem with the driver not working after reboot

    Easiest way:

    Follow the steps from matera.ttp and but replace the switchmod file with this one before running it:

    https://gist.github.com/gists/1306500

    Alternate way:

    Change the "TMP=$(mktemp -d)" line in the switchmods file to:

    Code:
    TMP="compiled_driver"
    and delete the line
    Code:
    rm -r $TMP
    run the switchmode script

    copy the file compiled_drivers/r8168-8.025.00/src/r8168.ko
    into /lib/modules/`uname -r`/kernel/drivers/net/r8168.ko

    Code:
    cd complied_drivers
    cp r8168-8.025.00/src/r8168.ko /lib/modules/`uname -r`/kernel/drivers/net/r8168.ko

    Move the one created by the original driver script (the problem was that this one was used when the linux image was created instead of the working one)

    Code:
    mv /lib/module/`uname -r`/kernel/drivers/net/r8168.o /lib/module/`uname -r`/kernel/drivers/net/r8168.o.bak
    Update the linux image
    Code:
    update-initramfs -u
    Last edited by vikketorr; October 22nd, 2011 at 10:35 PM.

  7. #7
    Join Date
    Oct 2011
    Beans
    9

    Re: r8168 on Ubuntu 11.10 Kernel 3.x.x

    also you may need to go into the script for switchmods and change version to the one that you have placed in there. I did that and it worked perfectly.

  8. #8
    Join Date
    Aug 2008
    Beans
    9

    Re: r8168 on Ubuntu 11.10 Kernel 3.x.x

    Thanks a lot for updated script vikketorr
    Last edited by matera.ttp; November 26th, 2011 at 11:46 AM.

  9. #9
    Join Date
    Oct 2011
    Beans
    2

    Re: r8168 on Ubuntu 11.10 Kernel 3.x.x

    Does anyone have, or know where i can find a copy of the script and patch file from jamesonwilliams.com because the site has been down for at least a couple days? Thanks

  10. #10
    Join Date
    Oct 2006
    Beans
    11

    Re: r8168 on Ubuntu 11.10 Kernel 3.x.x

    I second that, does anyone have the scripts?

Page 1 of 2 12 LastLast

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
  •