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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-28-2004, 03:30 PM
|
#1
|
LQ Newbie
Registered: Apr 2004
Posts: 5
Rep:
|
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
|
|
|
04-28-2004, 03:33 PM
|
#2
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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
|
|
|
04-28-2004, 03:46 PM
|
#3
|
LQ Newbie
Registered: Apr 2004
Posts: 5
Original Poster
Rep:
|
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?
|
|
|
04-28-2004, 03:46 PM
|
#4
|
Member
Registered: Apr 2004
Location: Wales
Distribution: rh9, winxp
Posts: 411
Rep:
|
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.
|
|
|
04-28-2004, 03:54 PM
|
#5
|
LQ Newbie
Registered: Apr 2004
Posts: 5
Original Poster
Rep:
|
I may sound dumb but what's a terminal window?
|
|
|
04-28-2004, 04:14 PM
|
#6
|
LQ Newbie
Registered: Apr 2004
Posts: 5
Original Poster
Rep:
|
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
|
|
|
04-28-2004, 06:47 PM
|
#7
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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 07:03 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|