LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-13-2003, 07:20 PM   #1
tarballed
Member
 
Registered: Jun 2002
Distribution: RH, FC, FreeBSD,OpenBSD
Posts: 326

Rep: Reputation: 30
Compiling a module for a NIC card...


hello everyone.

Well, I wanted to ask some questions on compiling a module for a network card. It has been awhile since I have compiled a module, that I pretty much forgot.

Let me lay some foundation:

Running Red Hat 7.3
Card: Intel® PRO/1000 Family of Adapters, version 4.2.x
It is a Gig driver (e1000)

Ok. I followed the directions accordingly, but I cant seem to get it working the way I like.

Here is the directions:

tar zxf e1000-4.2.17.tar.gz
cd e1000-4.2.17/src
make install

For Linux 2.4.x systems: /lib/modules/[KERNEL_VERSION]/kernel/drivers/net/e1000.o

insmod e1000 (parameters)

ifconfig eth0 <ip address>

Everything seems to work. I can assign the IP address and ping it and it works.

however, when I go to make static entries for ifcfg-eth0, only problem is, its not there.

Sooo, I need to figure out a couple of things:

1) How to make sure the module loads upon boot
2) How to make sure my ifcfg-eth0 is in /etc/sysconfig/networking-scripts directory.

Anyone care to lend a hand?

I appreciate it.

Tarballed
 
Old 05-14-2003, 12:10 AM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
If I remember correctly you need to adjust /etc/sysconfig/ifcfg-eth0 ... but has been awhile since I used a RedHat system ...
 
Old 05-14-2003, 11:36 AM   #3
tarballed
Member
 
Registered: Jun 2002
Distribution: RH, FC, FreeBSD,OpenBSD
Posts: 326

Original Poster
Rep: Reputation: 30
Ok. So I am having a little trouble getting the NIC module installed correctly. I followed the manufactures directions to the "T", but it's not working.

Here is what I get when I type depmod:


depmod: *** Unresolved symbols in /lib/modules/2.4.18.3/kernel/drivers/net/e1000.o

I'm a little clueless now. I can't even get the ethernet interface up now.

Anyone have a suggestion?

I need to figure out how to get the module working for the NIC card.

Any advice?

Tarballed
 
  


Reply



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
eth0 NIC Card Not Working! 3com 3c501 NIC. Mustard010 Linux - Networking 16 08-15-2007 02:22 AM
What modprobe module should I load for my netgear nic card? abefroman Linux - Hardware 1 11-25-2005 01:07 PM
NIC card works - how do i find which module its using? crazytigger Linux - Hardware 3 09-02-2005 08:38 AM
Compiling source code for a network card module WindowsBurner Linux - General 12 02-16-2005 04:22 PM
compiling rtl8139.c driver for NIC card stielinc Linux - Networking 4 02-11-2005 10:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:02 PM.

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