LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-28-2004, 03:30 PM   #1
klennepette
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Rep: Reputation: 0
Can't install drivers of a second NIC


I installed red hat linux 9.0 a day ago on a pc that i use as dedicated server. my first NIC (used for internet) was recognized without problems, my second NIC however is not, I have a floppy with linux drivers of the NIC but i don't know how to install them.

there are 3 files : makefile, r8169.c and a readme.

in the readme i read that the first step is compiling r8169.c using "makefile"
and that i have to assignt "NEW_INCLUDE_PATH" in makefile according to linux kernel.

I have no idea how to do this. i see what i think is a script when i open makefile but i don't know how to run it or use it in any way please help me
 
Old 04-28-2004, 03:33 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Find out where your Linux source lives
(commonly in /usr/src/linux)

Edit Makefile, add the variable you mentioned.

Makefiles aren't executable, they get
processed by
make

Just type make in the directory where Makefile and source live.



Cheers,
Tink
 
Old 04-28-2004, 03:46 PM   #3
klennepette
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Original Poster
Rep: Reputation: 0
thanks for your reply i edited makefile but I'm still a bit lost when it comes to the make part where exactly should I type it?
 
Old 04-28-2004, 03:46 PM   #4
mermxx
Member
 
Registered: Apr 2004
Location: Wales
Distribution: rh9, winxp
Posts: 411

Rep: Reputation: 30
u can try dragging and dropping the files from ur floppy to ur home folder...or right click inside ur home folder create a new folder and drop them in there.

open a terminal window as root then
# cd /home/newfolder/ ( enter)
# make

or if there is a README file with install commands then go with that

Last edited by mermxx; 04-28-2004 at 03:48 PM.
 
Old 04-28-2004, 03:54 PM   #5
klennepette
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Original Poster
Rep: Reputation: 0
I may sound dumb but what's a terminal window?
 
Old 04-28-2004, 04:14 PM   #6
klennepette
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Okay i found it, now I have an r8169.o file that i have to copy to
/lib/modules/<kernel>/kernel/drivers/net
but it says i can't put any files in that directory because of the file rights
 
Old 04-28-2004, 06:47 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
do a
su -
before you copy them ... only root has write access
to /lib and files/directories thereunder ...


Cheers,
Tink
 
  


Reply


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
How to install NIC drivers? corruptor Linux - Networking 1 07-27-2004 11:29 AM
HOWTO install device drivers wireless nic hnash53 Linux - Wireless Networking 19 05-06-2004 10:17 AM
NIC drivers gone on boot brew1brew Linux - Hardware 2 08-29-2003 06:33 AM
Trying to install drivers for Linksys WUSB11 NIC v2.5 on RedHat 9 Golbez Linux - Newbie 5 04-08-2003 03:46 PM
NIC Drivers - How do I install them? feaz Linux - Networking 3 04-24-2002 10:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:03 AM.

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