Saturday, October 27, 2012

fixing ethernet under lucid

Got a very new computer. Precise works like a charm on it, but no internet connection under lucid. Network card is unclaimed, because the driver is too old.

Download the latest e1000e from sourceforge (2.1.4 at the moment) in /usr/src and extract it. Then create the following dkms.conf in the e1000e directory:
PACKAGE_NAME="e1000e"
PACKAGE_VERSION="2.1.4"
CLEAN="make -C src/ clean"
MAKE="make -C src/ BUILD_KERNEL=$kernelver KERNELDIR=/lib/modules${kernelver}/build"
BUILT_MODULE_NAME[0]="e1000e"
BUILT_MODULE_LOCATION="src/"
DEST_MODULE_LOCATION="/updates"
AUTOINSTALL="yes"
REMAKE_INITRD="yes"
Then 
dkms add -m e1000e -v 2.1.4
dkms build -m e1000e -v 2.1.4
dkms install -m e1000e -v 2.1.4
Note:
Without an internet connection it's pretty hard to install the required packages like dkms, so the trick is to boot into Precise and then chroot into Lucid.

No comments:

Post a Comment