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 |
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 |
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?
|
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 |
I may sound dumb but what's a terminal window?
|
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 |
do a
su - before you copy them ... only root has write access to /lib and files/directories thereunder ... Cheers, Tink |
All times are GMT -5. The time now is 05:30 AM. |