Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: nbot on June 09, 2011, 04:15:32 PM

Title: Intel ethernet device not recognised
Post by: nbot on June 09, 2011, 04:15:32 PM
Hi,
I've had TC working on an old P4 box that used the natsemi driver for Ethernet.
Today I've tried on a new box and have no ethernet.
ifconfig reports no device
The ethernet device is an Intel 82579v built into the motherboard.
I believe this requires an e1001e driver. The version in TC appears to be v1.0.2-k2 (I've tried Ubuntu and it works on the new box with driver e1000e v1.2.20-k2)
Intel have an updated driver v1.3.
I'm a complete novice at linux, but I think the above info is correct.
Is the problem likely to be the driver? Would installing the new version correct the problem?
If so, do I need to compile the source from Intel under Tinycore to create the new driver version?
Title: Re: Intel ethernet device not recognised
Post by: gutmensch on June 09, 2011, 05:10:17 PM
You might have suggested the solution yourself ;) try to use a newer module:

1. Install compiletc.tcz and linux-headers-2.6.33.3-tinycore.tcz extension
2. Download http://downloads.sourceforge.net/project/e1000/e1000e%20stable/1.3.17/e1000e-1.3.17.tar.gz (http://downloads.sourceforge.net/project/e1000/e1000e%20stable/1.3.17/e1000e-1.3.17.tar.gz)
3. Extract and cd to src/
4. Type "make"
5. Run "gzip -11 e1000e.ko"
6. Copy e1000e.ko.gz to /lib/modules/2.6.33.3-tinycore/kernel/drivers/net/e1000e/ (on the destination PC, might be another one like the one you use for downloading and compiling!)
7. Run "depmod -a"
8. Run "modprobe e1000e"

Check again ifconfig. To make that permanent you could remaster or add the e1000e.ko.gz to your backup and run some modprobe stuff from bootlocal.sh (but only if the e1000e module doesn't load automatically, what does "lsmod" say after starting without any change? is e1000e loaded at all?)
Title: Re: Intel ethernet device not recognised
Post by: nbot on June 09, 2011, 06:36:12 PM
many thanks - worked fine - i'll have a go at remastering tomorrow