LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   lan card problem (https://www.linuxquestions.org/questions/linux-networking-3/lan-card-problem-743946/)

pksuji 07-30-2009 11:39 AM

lan card problem
 
hi all
i ,using windows xp and rhel5 kernel2.6.x in same pc.
my lan card is working in xp and not detecting in rhel5. the driver supports only in kernel 2.4 and 2.5. i am using lancard of intex 10/100 Mbps ethernet card. model no.: LC81 (Silan SC92031 PCI Fast Ethernet Adapter).please help me to solve the problem.

TITiAN 07-30-2009 01:38 PM

Here it says that you just need the kernel module called 8139too. In order to see if that module is loaded, execute "lsmod | grep 8139" as root in a terminal. If the command does output something, it should be working, otherwise try "modprobe 8139" as root in a terminal; in the case that the module is loaded, please post the output of the commands "ifconfig" and "ifconfig -a" here (ideally in 'CODE' tags).

GrapefruiTgirl 07-30-2009 01:42 PM

http://cateee.net/lkddb/web-lkddb/SC92031.html

According to this link, the driver is included within the linux kernel, from kernel versions 2.6.21 to 2.6.30 inclusive (and likely subsequent kernels too).

I'm no RHEL expert by any means, but I think your kernel may be older than this. If that's the case, you'll either need to

A) get the driver code from a newer kernel and try to build it from the commandline using gcc (no idea if this will work)

or

B) update your kernel (which on RHEL may possibly mean upgrading the entire system-- I don't know for a fact either way).

If your kernel actually IS in that range, you'll need to rebuild it if this particular module is not built either statically into the kernel, or as a module. Check in /lib/modules/<kernel-name>/kernel/drivers to see if it is there. If it is, modprobe it; if it isn't, see above.

I also read that the module might be blacklisted. If that's the case, you will need to de-blacklist it inside your modules.conf or modprobe.conf or modprobe.d/blacklist file (exact filename may vary-- again, I'm not a RHEL expert or user).

Sasha

GrapefruiTgirl 07-30-2009 01:44 PM

EDIT: If TITiAN is correct about the 8139 module, go with his suggestion-- it looks MUCH simpler!

Sasha

TITiAN 07-30-2009 01:55 PM

If the driver is included with the new kernel, installing a new kernel rpm package should just solve this. I'm not sure how the package name for the kernel is, but from what I read here, it's just "kernel", so the solution looks like a simple
Code:

yum update kernel
(as root, of course)
Let's see what the OP says about this.

pksuji 07-30-2009 11:31 PM

my kernel version is 2.6.18-53.el5.
i want to download the driver intex 10/100 Mbps ethernet card. model no.: LC81 (Silan SC92031 PCI Fast Ethernet Adapter). .please send the link for downloading

vishesh 07-31-2009 03:02 AM

I think compile new kernel by selecting proper driver will solve your problem.

Thanks

pksuji 08-01-2009 01:57 AM

i have the driver cd. but it will work only with 2.4/2.5 kernel. but i am using kernel2.6.18.53-el5. how can compile it with the driver. is there any link for downloding the new driver version.

TITiAN 08-30-2009 06:24 AM

I don't know if you're still at it, but did you try to use your network card with a new kernel? The version 2.6.18 sounds a bit old to me. On http://www.kernel.org/ it says the newest stable kernel version is 2.6.30, but distributions might lag behind a bit, so a few minor versions below would still be "new". I am on Zenwalk right now (will probably switch again, but nevermind), which uses a 2.6.28 kernel. From what Grapefruitgirl said, upgrading the kernel might just solve the problem:

Quote:

http://cateee.net/lkddb/web-lkddb/SC92031.html

According to this link, the driver is included within the linux kernel, from kernel versions 2.6.21 to 2.6.30 inclusive (and likely subsequent kernels too).


All times are GMT -5. The time now is 07:40 AM.