How about something in dmesg?
Just type   dmesg   at a prompt.  I would pipe it through more.

This is what the tulip driver puts in there for my NetGear cards in my
firewall.

tulip.c:v0.89H 5/23/98 [EMAIL PROTECTED]                      
eth0: Lite-On 82c168 PNIC at 0xd800, 00 a0 cc 50 73 a3, IRQ 10.         
eth0:  MII transceiver found at MDIO address 1, config 3000 status 7829.
eth0:  Advertising 01e1 on PHY 1, previously advertising 01e1.          
eth1: Lite-On 82c168 PNIC at 0xd400, 00 a0 cc 50 6f c8, IRQ 5.          
eth1:  MII transceiver found at MDIO address 1, config 3000 status 7829.
eth1:  Advertising 01e1 on PHY 1, previously advertising 01e1.          
eth0: Changing PNIC configuration to full-duplex, CSR6 812e0200.        
eth1: Changing PNIC configuration to half-duplex, CSR6 816e0000.        


it at least lets me know full or half duplex.  Also, most switches
have indicator lights that tell you if it's 10 or 100 and if it's
half or full duplex.


Charlie




-----Original Message-----
From: Darryl Harvey [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 03, 2000 12:30 AM
To: [EMAIL PROTECTED]
Subject: RE: 10/100mbs LAN, How is it configured?


At 17:11 3/04/00, Gregory Hosler wrote:

>On 03-Apr-00 Darryl Harvey wrote:
> > So I have a 10/100 LAN card installed, it is a RealTek 8139 derived card
> > and seems to work just fine with the rtl8139.o module.
> >
> > But what I want to know is how it has configured itself (It is an auto
> > configure card).  How can I chekc to see if it is 10Mbs/100Mbs Full or 
> half
> > duplex??
>
>when the module is loaded, it probably logs what you are looking for to 
>syslog,
>so grepping/tailing/moreing /var/log/messages will probably yield what you
are
>looking for. There might also be a /proc entry, but I couldn't find one
just
>now.
>
>-Greg

Hmm, the only entry in the syslog (/var/log/messages) is;

Apr  2 02:43:06 carton kernel: rtl8139.c:v1.07 5/6/99 Donald Becker 
http://cesdis.gsfc.nasa.gov/linux/drivers/rtl8139.html
Apr  2 02:43:06 carton kernel: eth0: SMC1211TX EZCard 10/100 (RealTek 
RTL8139) at 0x6c00, IRQ 11, 00:00:e8:8f:b7:68.

Which doesn't really tell me what it is set to as far as the LAN goes.

I can't find anything in /proc that helps either.


Darryl


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to