Need Help installing a Network card on Red Hat 9.0
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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.
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.
Linux driver for kernel 2.2.X
The procedure to activate NP1100_R 10/100M WOL Fast Ethernet card
on linux is as follows:
step 01: Copy the driver source files to a convenient directory.
step 02: Compile
The instruction for compiling the driver is include at the
end of the driver file.If a compile-command is not there use
the following compile command:
(Run this instruction at /usr/src/linux)
*compile-command:
" gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c np11004.c "
Or you can use the Makefile included in the driver disk \LINUX.
step 03: Copy the module "np11004.o" to
"/lib/modules/{kernel-version}/net"
*The directory "{kernel-version}" stands for the Linux kernel
version you use.
step 04: Insert the driver as module:
insmod np11004.o
(Run 'lsmod' to see if the module is inserted)
step 05: Bind your card to an IP address
/sbin/ifconfig eth0 ${IPADDR} broadcast ${BROADCAST}
netmask ${NETMASK}
(Run 'netstat -i' to see if there is a interface 'eth0')
step 06: Add your card to IP routing table, then add gateway also
your card:
/sbin/route add -net ${NETWORK} netmask ${NETMASK} eth0
(Should be able to ping local network now)
gateway:
/sbin/route add default gw ${GATEWAY} netmask 0.0.0.0 metric 1
step 07: Start inet daemon.
/usr/sbin/inetd
(You are on the network now)
*make sure that your kernel is built with network, fast_ethernet and
module support. Otherwise, you have to rebuild your kernel.
( 01:Go to /usr/src/linux directory
02:Run "make menuconfig" or "make config"
03:Mark the options list above.
04:Exit and rebuild your kernel.
make dep;make clean;make zImage
the file "zImage" will be at
/usr/src/linux/arch/i386/boot/zImage
05:Modify /etc/lilo.conf.(this file specify where kernel image is)
06:Run "lilo" )
You can run "netconfig" which will do step 05,06,07 for you.
Then just add a line at the beginning of "/etc/rc.d/init.d/network".
" insmod /lib/modules/{kernel-version}/net/np11004.o "
*The directory "{kernel-version}" stands for the Linux kernel
version you use.
then your driver will work every time you boot.
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.