[3c509] how to use 3c5x9setup and el3-diag

John Terry johnandkatyterry@home.com
Mon, 5 Mar 2001 23:09:56 -0800


This is a multi-part message in MIME format.

------=_NextPart_000_0005_01C0A5C9.64B27380
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello.

After reading the section on www.scyld.com about Linux Ethercard Status, =
Diagnostic and Setup Utilities, I downloaded the source code for =
3c5x9setup and el3-diag and compiled them successfully, then tried to =
use them.  I'm not quite understanding the process.  I have two 3c509 =
cards in the same computer (one designated to connect to cable modem, =
the other designated to connect to the internal network).  I got the =
impression that I should use
el3-diag to see what the current configurations of my cards are, then =
reset them as needed using 3c5x9setup.  I tried several ways (with the =
programs transported from one of my computers to the other on a floppy), =
as follows:

/mnt/floppy/3c5x9setup -w -P 0x300 -Q 10

/mnt/floppy/3c5x9setup -w -P 0x300 -Q 10 eth0

/mnt/floppy/3c5x9setup -w -P 0x300        followed by      =
/mnt/floppy/3c5x9setup -w -Q 10

/mnt/floppy/3c5x9setup -w -P 0x300 eth0       followed by      =
/mnt/floppy/3c5x9setup -w -Q 10 eth0

/mnt/floppy/3c5x9setup -w -P 0x300, 0x310 -Q 10, 11 eth0, eth1

But no matter how I tried to do it, I ended up with el3-diag showing =
BOTH cards set to the exact same I/O port and IRQ setting, namely 0x310 =
and IRQ 11.  The el3-diag program reports both card 1 and card 2 as =
eth0, also.

Shouldn't there be a way to set one card to I/O 0x300 and IRQ 10 and set =
the other one to I/O port 0x310 and IRQ 11?  How can I do it?  I'm =
stumped.  By the way, I'm using Red Hat 7.0 on both the computer I =
compiled on and the other one I am trying to set up, if that makes any =
difference.  Also, the instructions on the web page say that the I/O =
port option is -P, but when I run 3c5x9setup -? it says it is -p.  Which =
should I use?

Thanks in advance

John Terry

------=_NextPart_000_0005_01C0A5C9.64B27380
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hello.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>After reading the section on <A=20
href=3D"http://www.scyld.com">www.scyld.com</A> about Linux Ethercard =
Status,=20
Diagnostic and Setup Utilities, I downloaded the source code for =
3c5x9setup and=20
el3-diag and compiled them successfully, then tried to use them.&nbsp; =
I'm not=20
quite understanding the process.&nbsp; I have two 3c509 cards in the =
same=20
computer (one designated to connect to cable modem, the other designated =
to=20
connect to the internal network).&nbsp; I got the impression that I =
should=20
use</FONT></DIV>
<DIV><FONT size=3D2>el3-diag to see what the current configurations of =
my cards=20
are, then reset them as needed using 3c5x9setup.&nbsp; I tried several =
ways=20
(with the programs transported from one of my computers to the other on =
a=20
floppy), as follows:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>/mnt/floppy/3c5x9setup -w -P 0x300 -Q =
10</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>/mnt/floppy/3c5x9setup -w -P 0x300 -Q 10 =
eth0</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;</DIV></FONT>
<DIV><FONT size=3D2>
<DIV><FONT size=3D2>/mnt/floppy/3c5x9setup -w -P=20
0x300&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; followed=20
by&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT size=3D2>/mnt/floppy/3c5x9setup =
-w -Q=20
10</FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV><FONT size=3D2>/mnt/floppy/3c5x9setup -w -P=20
0x300&nbsp;eth0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; followed=20
by&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT size=3D2>/mnt/floppy/3c5x9setup =
-w -Q 10=20
eth0</FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV><FONT size=3D2>/mnt/floppy/3c5x9setup -w -P 0x300<FONT size=3D2>, =
0x310 -Q 10,=20
11 eth0, eth1</FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>But no matter how I tried to do it, I ended up with el3-diag =
showing BOTH=20
cards set to the exact same I/O port and IRQ setting, namely 0x310 and =
IRQ=20
11.&nbsp; The el3-diag program reports both card 1 and card 2 as eth0,=20
also.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Shouldn't there be a way to set one card to I/O 0x300 and IRQ 10 =
and set=20
the other one to I/O port 0x310 and IRQ 11?&nbsp; How can I do it?&nbsp; =
I'm=20
stumped.&nbsp; By the way, I'm using Red Hat 7.0 on both the computer I =
compiled=20
on and the other one I am trying to set up, if that makes any =
difference.&nbsp;=20
Also, the instructions on the web page say that the I/O port option is =
-P, but=20
when I run 3c5x9setup -? it says it is -p.&nbsp; Which should I =
use?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks in advance</DIV>
<DIV>&nbsp;</DIV>
<DIV>John Terry</DIV></DIV></DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_0005_01C0A5C9.64B27380--