Need Help installing a Network card on Red Hat 9.0
Hey everyone,
I have a floppy disk that has the driver for a Netgear NP1100 network card, which I have copy the linux folder onto my home directory. Would someone please be kind enough showing me the steps I need to do install the drivers to allow my network card to work. The following files which contain in the linux folder I copy over from the floppy disk are: copying.txt kern_compat.h makefile np11004.c Any help would be much appreciated. |
Perhaps your linux might be able to see that network card on its own and you might not need to use the drivers on that floppy disk at all. That was the case with my Mandrake 9.0 linux (a cousin of your Red Hat 9.0). Have you installed the network card in your computer? If you haven't, try installing the network card and see if your linux finds it. You might have to go to Red Hat Control Center (or whatever program you use to change system configuration settings, etc.) and tell your linux to look for that network card.
If you do need the drivers on that floppy disk, the floppy disk, and the linux directory that you copied its contents to, contains the source code for that network card driver. You will need to use gcc (a compiler) to take that source code and produce a computer program called a kernel module, which you will then load into your linux kernel to allow your linux to see and use the network card. |
doesn't kudzu automatically detect and configure your network card?
if it doesn't recognizes your card or doesn't has a driver for it (yet), you can install the driver yourself. you just need to do a make on the driver files supplied. There must be a README or INSTALL file inside your floppy disk, read it, contains instructions on how you can build and use the driver supplied. |
Its really weird, I can see the light at the back but for some reason when I look at hardware browser my network card is not listed on the hardware browser page.
it keeps saying eth0 is currently not present Why is that? |
did you load the module you built?
|
I try following the intruction and compiling it by following intruction but the compile command doesn't seem to be working.
Would you be kind enough to help me over msn? my msn is tuannie@hotmail.com Here is what it say Code:
Linux driver for kernel 2.2.X |
did you build the module "np11004.o" and copied it to "/lib/modules/{kernel-version}/net"? Assuming you did it, now add this to your /etc/modules.conf or /etc/modprobe.conf (whichever one is present) "alias eth0 np11004" then do "modprobe np11004.o" and check if it got correctly loaded or not by doing "lsmod". the "np11004.o" should show up somewhere in the lsmod output. if it is there then do a "mii-tool" to see you have a link. next configure your network settings by doing "netconfig" and you are ready to go.
if you encounter any errors in the way post it along here. |
I havent compile it np11004.o yet I dont know how to, I try typing this this command in
gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c np11004.c to compile i get bash: gc: command not found In the instruction, it say that I can do the following: "Or you can use the Makefile included in the driver disk \LINUX." How would I go about int doing it? |
you will need to install 'gcc' package. go find your distribution cd and install gcc.
|
okay thanks, I will give it a go now, Can I ask why my card isn't working? shouldn't it work since there is LED light at the back?
I mean, there is a driver that was on this distrubution that has Rtl8039 each time I select it and try to activate it it keep saying: 8139cp device eth0 does not seems to be present, delaying initialization. |
Okay, I have just done what u have ask me to do, and try that gcc command again and there was alot of output.
np11004.c1492: dereferencing pointer to incomplete type |
type 'make' ,hit enter, see what happens.
|
it say confused with earlier errors, bailing out
|
ok do a
make clean make dist-clean then again try make |
Could it be my network card that is causing the problem? Because I have try lots of linux distrubution. But every distrubution the network card never work.
Shouldn't it automatically detect my network card with out me having to compile or make it? |
All times are GMT -5. The time now is 03:00 AM. |