r8168 driver issues after Ubuntu 11.10 upgrade kernel linux 3.0

I had network issues after upgrading to Ubuntu 11.10 which has the linux 3.0 kernel.

I had to compile the r8168 from source following this guide – (linkpeek.com instant preview service!)

however I needed to alter the Makefile to include support for linux 3.0 kernel.

edit src/Makefile:
#KEXT  := $(shell echo $(KVER) | sed -ne 's/^2\.[567]\..*/k/p')o
KEXT := $(shell echo $(KVER) | sed -ne 's/^[23]\.[1-9]\..*/k/p')o-

Now you should follow the rest of the guide.

Leave a Reply

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