Click to See Complete Forum and Search --> : How to get Ethernet card working
Muzzafarath
11-15-2000, 12:52 PM
Hello, I've got a D-Link DFE-530TX PCI ethernet card which I'd like to get working in Linux (Slackware 7.1, kernel 2.2.17). How do I get it working (ie which kernel module, stuff like that http://www.linuxnewbie.org/ubb/wink.gif)? I've noticed that it seems to share IRQ's with my video card (an ATI Rage Fury Pro). Could this cause trouble? My network card and video card both work fine in Windows 98 if it matters http://www.linuxnewbie.org/ubb/smile.gif Any help appreciated http://www.linuxnewbie.org/ubb/smile.gif
[This message has been edited by Muzzafarath (edited 15 November 2000).]
Luthor
11-15-2000, 05:24 PM
A few links to assist
http://www.linuxnewbie.org/ubb/Forum2/HTML/001747.html
http://www.linuxnewbie.org/ubb/Forum1/HTML/010775.html
http://www.linuxnewbie.org/ubb/Forum2/HTML/003107.html
------------------
Luthor St. James
(aka [AcK]BillTheCat)
Muzzafarath
11-16-2000, 10:52 AM
Okay, I've read those threads. I've tried the rtl8129 and via-rhine drivers. They don't work (might have to do some tweaking to get them to work). I don't think my card is a DFE-530TX+ (the manual doesn't say anything about it).
If I look in /proc/pci, I see "Ethernet Controller: VIA Technologies Unknown Device", so I think it uses the via-rhine driver. It's at IRQ 11, IO 0xd800 btw http://www.linuxnewbie.org/ubb/wink.gif
Quoting the manual:
Due to a fault in some Plug-n-Play BIOS programs, it happens occasionally that a newly installed adapter is assigned an Interrupt Number which is already assigned to another device. In such a case, the conflict of Interrupt Number will cause the faults in behavior of both devices. Then it is necessary to run the CMOS setup utility, and manually assign a non-conflicting IRQ.
My video card and ethernet card both use IRQ 11, but both work fine in Windows so that can't be the problem... Any other ideas? The rtl and via-rhine drivers fail with the error message "Device or resource busy. Hint: this error can be caused by incorrect module parameters...". How can I pass the IO and IRQ parameters to the module manually?
Wacko
11-16-2000, 11:22 AM
Originally posted by Muzzafarath:
How can I pass the IO and IRQ parameters to the module manually?
In you bios you can turn off PnP (Plug and pray http://www.linuxnewbie.org/ubb/biggrin.gif), maybe that helps.
Muzzafarath
11-16-2000, 03:20 PM
I set "PnP OS" to "No" in my BIOS, it makes no difference. http://www.linuxnewbie.org/ubb/frown.gif
I think I may have found the problem. The device id for my ethernet card is 3065 (it says so when the computer boots up anyway http://www.linuxnewbie.org/ubb/wink.gif). According to this site (http://www.scyld.com/network/ethercard.html) I will need the via-rhine driver v1.07 or higher to use this card. The version included in kernel 2.2.17 is v1.01. I'll download the new driver and will probably return with more questions on how to compile it http://www.linuxnewbie.org/ubb/wink.gif
Muzzafarath
11-17-2000, 03:00 AM
Yes!! Thank for all of your help, it works!
One last question http://www.linuxnewbie.org/ubb/wink.gif I don't know much about ethernet/networking, but will the ethernet card automatically know if I'm connected to a 100 mbit or 10 mbit LAN or will I have to set that manually? If I have to do it manually, how do I do it in Linux?
Paul Weaver
11-17-2000, 03:15 AM
It depdnds on the card and the driver, and also the network.
Some will autonegotiate, some default to 10, some to 100.
best way to see is to look at the light on the hub http://www.linuxnewbie.org/ubb/smile.gif
Luthor
11-17-2000, 12:43 PM
Some cards also have 100M LED on rear panel of card. If not lit, it is at 10M.
hmmm... There must be another way though...
/me scampers off to check...
------------------
Luthor St. James
(aka [AcK]BillTheCat)
Luthor
11-17-2000, 01:13 PM
Could not find any way to determine speed under Linux but there must be one.
Next best thing though - I looked up your card and sure enough it has the 10/100M light on the back panel...
http://www.dlink.com/products/adapters/dfe530tx/
http://www.linuxnewbie.org/ubb/smile.gif
------------------
Luthor St. James
(aka [AcK]BillTheCat)
Muzzafarath
11-17-2000, 01:38 PM
Ah yes, it has lights on the back. Should have checked it before asking http://www.linuxnewbie.org/ubb/wink.gif D'oh.
Now, if the card would think that it's connected at 100 mbit but it's actually connected to a 10 mbit LAN, that would cause a problem right? If this happens, how would I go about forcing it to the correct speed? http://www.linuxnewbie.org/ubb/smile.gif
[This message has been edited by Muzzafarath (edited 17 November 2000).]
Luthor
11-18-2000, 09:18 PM
I believe "ifconfig" has a way to setup the media.
The "mii-diag" allows for it as well since most cards have an interface to it. See details here: http://www.scyld.com/network/ethercard.html
Some drivers even allow you to pass configuration parameters at runtime.
Hope this helps http://www.linuxnewbie.org/ubb/smile.gif
------------------
Luthor St. James
(aka [AcK]BillTheCat)
[This message has been edited by Luthor (edited 18 November 2000).]