Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 04-30-2008, 08:24 AM   #1
LQ Newbie
Registered: Apr 2008
Posts: 8

Rep: Reputation: 0
Make install fails for Intel NIC on Debian

I've installed à Linux Debian etch r0 with the kernel 2.6.18-4-686 with the DVD on a DELL VOSTRO 200.
But I had a problem, the network card is not recognized.
I saw on a thread that I had to download and install the intel driver.
I downloaded the only driver it has for Linux.
It is said to support Linux* with 2.4.18 to 2.6.x kernels.
I folowed this instructions from the readme file:

1. Move the base driver tar file to the directory of your choice. For
example, use /home/username/e1000 or /usr/local/src/e1000.
2. Untar/unzip archive:
tar zxf e1000-x.x.x.tar.gz
3. Change to the driver src directory:
cd e1000-x.x.x/src/
4. Compile the driver module:
make install

But when I do "make install" I got this message:

*** Linux kernel source not found in any of these locations

*** Install the appropriate kernel development package, e.g.

*** kernel-devel, for building kernel modules and try again Stop.

Where did I go wrong?
I saw on threads thaht I have to recompile the kernel with the driver can I do that????
Can somebody help me please?!!!!!
Old 04-30-2008, 02:32 PM   #2
Registered: Dec 2007
Posts: 59

Rep: Reputation: 16
You don't have to recompile your kernel (not just yet...), but to compile any piece of code you need to install first gcc, make, and the kernel sources or headers that matches your kernel (if your kernel is linux-image-2.6.18-4-686 then you need linux-source-2.6.18-4-686).

But I think the driver you are looking for is already a built-in of the kernel, it should have been built as a module. Try :

find /lib/modules/$(uname -r)/* -name e1000*
to see if you have a module already compiled, if so just use the command :

modprobe e1000
as root to load it.
Old 05-01-2008, 09:49 AM   #3
LQ Guru
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
I agree that driver module should already be available.. that is the driver for an intel Gig network card, which is quite common

To answer your other question the easiest way I have found to get your build environment setup is this..

aptitude update
aptitude install build-essential module-assistant
m-a update
m-a prepare

That will install everything you need to compile, as well as download install the proper kernel headers for your running kernel.
Old 05-03-2008, 07:01 AM   #4
LQ Newbie
Registered: Apr 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Finaly I've installed the linux-header with the command: dpkg --install (aptitude is not install because i'm not connected to internet)
But when I run the install of the driver, I get this :
make -C /lib/modules/2.6.18-4-686/build SUBDIRS=/home/novauser/e1000- modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.18-4-686 »
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
CC [M] /home/novauser/e1000-
LD [M] /home/novauser/e1000-
Building modules, stage 2.
CC /home/novauser/e1000-
LD [M] /home/novauser/e1000-
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.18-4-686 »
gzip -c ../e1000.7 > e1000.7.gz
# remove all old versions of the driver
find /lib/modules/2.6.18-4-686 -name e1000.ko -exec rm -f {} \; || true
find /lib/modules/2.6.18-4-686 -name e1000.ko.gz -exec rm -f {} \; || true
install -D -m 644 e1000.ko /lib/modules/2.6.18-4-686/kernel/drivers/net/e1000/e1000.ko
/sbin/depmod -a || true
install -D -m 644 e1000.7.gz /usr/share/man/man7/e1000.7.gz
man -c -P'cat > /dev/null' e1000 || true
impossible d'écrire vers /var/cache/man/cat7/e1000.7.gz en mode catman

I've executed the comand in root.
Old 05-03-2008, 10:05 AM   #5
Senior Member
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,487

Rep: Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627

There should be no need to compile the e1000 driver in Debian as it is included.

Hvae you tried the command "modprobe e1000" as pointed out by thveillon? What was the result?

The best way to ruin Debian's packaging system is to install software using make/make install etc. In that way you are installing software which the packaging system does not know about, and in the long run you'll get into problems.

If the e1000 module really was not included, compile it using "m-a" as indicated by farslayer.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Intel 82557 NIC fails to connect in FC6 OstermanA Linux - Networking 0 04-24-2007 10:42 PM
NIC module fails to load in new Gentoo install pyrocrickett Linux - Networking 4 02-20-2004 03:18 PM
Debian & Intel I865PERL MB (ON BOARD NIC) tarndt Linux - Wireless Networking 4 02-14-2004 01:44 PM
IPCop install fails on 8139 NIC 2damncommon Linux - Networking 5 11-15-2003 03:35 AM
Intel Pro/100 VE make fails with slackware 4.0 andrewp_68 Linux - Software 1 08-20-2003 11:19 PM

All times are GMT -5. The time now is 07:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration