Click to See Complete Forum and Search --> : Ethernet not recognized


franklucito
09-25-2002, 12:09 AM
Okay... here's my problem. I'm running Red Hat 7.3. I have an ASOUND 8139 NIC. I have the drivers and mod to install, but I can't figure out how this process is done.
This is what the readme says to do:

Installation:

1. copy the source code fealnx.c to Linux,

2. compile the source code, the instruction for compiling the driver is
as follows:

#gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall
-Wstrict-prototypes -O6 -c fealnx.c

3. insert the driver as module,

#insmod fealnx.o

4. bind your card to an IP address

#ifconfig eth0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}

5. add your card to IP routing table,

#route add -net ${NETWORK} netmask ${NETMADK} eth0

6. now, you should be able to ping local network.

The fealnx.c is the source code and the fealnx.o is the mod.
I've tried this but something isn't quite right. Someone help me please.:(

mdwatts
09-25-2002, 06:19 AM
I would think Redhat 7.3 would already include the fealnx.o module by default. My distro does.

Have you tried loading the module?

modprobe fealnx

Ensure PnP OS is disabled in the bios.

franklucito
09-25-2002, 10:41 AM
Yeah, I have but it says kernel mismatch. And the PnP OS is disabled.

Lorithar
09-25-2002, 03:11 PM
Okay .

when you modprobe -dv fealnx *now* you get a kernel version mismatch??

OR ..

before you built the new driver when you modprobe -dv fealnx you got a kernel version mismatch?

franklucito
09-25-2002, 05:04 PM
tried doing the modprobe. Mod doesn't exist. I have it on a floppy though. And the mismatch occured when I tried insmod from the floppy.

Lorithar
09-25-2002, 05:13 PM
Okay ...

This is because that module on the floppy was compiled for a different kernel than the one you are running...

If you have your redhat CD's about, and you haven't rebuilt your kernel from external sources, the redhat CD should have this module on it ... and it will match your kernel.

*sorry* I don't use redhat, so I don't know where the module would be on the CD, nor do I know if there is a utility to automagically grab it off the CD.... It should however exist and you should be able to copy it to
/lib/modules/[kernelversion/kernel/net/
(replace [kernelversion] with the numeric string for your kernel)
then run depmod -A
and then you will be able to modprobe this device into existence...

(all the above should be done as root)

franklucito
09-25-2002, 11:42 PM
if the mod exsists on one of the discs, I couldn't find it. I just DLed the 3 main discs and not the RPM image discs. Don't know if that would make a difference.

Lorithar
09-26-2002, 08:17 AM
Can a redhat expert tell this fellowhow to get the rpm for the kernel modules???


FrankL --> at the command line, as root can you type
uname -a
and post the result?? (that way the response will be a little more precise)

franklucito
09-26-2002, 01:10 PM
Linux localhost 2.4.18-3 #1 Thu Apr 18 07:32:41 EDT 2002 i686 unknown