Link to home
Start Free TrialLog in
Avatar of Aquarius
Aquarius

asked on

Problem with a ethernet card...

I have a pentium-100 pc with 24meg RAM, a CD-ROM, an S3-Trio64+ display adapter with 2megs, and a SB16PnP.  I also have a Linksys EN-2420Px ethernet card.  Everything works just fine under win95 and there are no resource conflicts.  I have recently tried to install Red Hat 4.1 using NFS and it will not use my network card on any of the specified drivers.  It would not auto-detect and I even tried to tell each driver which io and irq to use.  The card uses standard NE2000 drivers under win95.  I then went to install Red Hat 4.0 from CD and to see if I could set up any cards manually.  This hasn't worked either.  If someone could tell me where a driver is or how I can write my own I would be grateful.  I do have moderate C/C++ ability.
Avatar of jlms
jlms

How did you tell Linux to detect the card?
Avatar of Aquarius

ASKER

I used netconfig and told it what io port and irq to look for...
What was the answer to the command?
A couple of quick things to determine where you are... 1) does dmesg show the eth0 device? 2) have you used ifconfig? and 3) has your kernel got network card support?
Is the card a Plug and Play device?
Adjusted points to 150
trry to boot with "your_image ether=irq,ioaddress,eth0" at the boot prompt. Linux don't probe certain adresses at the boot, so you do have to tell it where to find your card. Be sure you have ne2000 support in your kernel.

Bye
trry to boot with "your_image ether=irq,ioaddress,eth0" at the boot prompt. Linux don't probe certain adresses at the boot, so you do have to tell it where to find your card. Be sure you have ne2000 support in your kernel.

Bye
ASKER CERTIFIED SOLUTION
Avatar of unicorntech
unicorntech

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Dear friend,

I had exactly this problem and I solve it in this way:
   
1) Edit your /usr/linux/src/net/driver/ne.c and look for       "wordlen" in it. One of that is an "if" statement that       check wether wordlen=2 or not. Just add this line befor       thats line:      wordlen=2;

2) After step 1, You must lokking for "NEXXX" statement. Exactly like step 1, There is a conditional expresion which checks that wether NEXXX is true or not. Add this line befor it:
 NEXXX=1;
3) Edit /etc/rc.d/rc.modules and search for "modprobe ne". After finding , uncomment it and give this parameter to it:
irq=0xxxx io=0xxxx   . Note that one of these parameters is essential (irq) and if you give that, it is eonugh.
4) After it, You must type: "make modules" and then
"make modules_install" and in the edn, "make zlilo". and reboot.

Be happy!
Terabyte@emirates.net.ae
---Ghanbari