We help IT Professionals succeed at work.

Problem with a ethernet card...

Aquarius
Aquarius asked
on
Medium Priority
246 Views
Last Modified: 2010-03-18
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.
Comment
Watch Question

Commented:
How did you tell Linux to detect the card?

Author

Commented:
I used netconfig and told it what io port and irq to look for...

Commented:
What was the answer to the command?

Commented:
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?

Commented:
Is the card a Plug and Play device?

Author

Commented:
Adjusted points to 150

Commented:
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

Commented:
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
Make sure that you are using the correct network support when you compile the kernel. Another thing to check is whether you are using a mouse as sometimes the irq for the mouse and ethernet card are set to the same irq (ie 3 or 4) and sometimes causes Linux to not detect the network card. Try changing the ethernet card irq with the driver disk and then rebooting linux.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Commented:
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


Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.