[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Check NIC for speed and promisc mode



Thanks a lot for the fast response Bart!

Man... just a few months away from playing with these tools and I forget
everything ;-)

Just for the curious:

sh-2.05# mii-tool
eth0: negotiated 100baseTx-FD, link ok

sh-2.05# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:00:21:D8:CA:34
          inet addr:xxx.xxx.xxx.xxx  Bcast:xxx.xxx.xxx.xxx
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:57608213 errors:0 dropped:0 overruns:0 frame:0
          TX packets:61894552 errors:0 dropped:0 overruns:5 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:2864521106 (2731.8 Mb)  TX bytes:3091168733 (2947.9 Mb)
          Interrupt:5 Base address:0xe800

Again, thanks.

Sincerely,
Jason

----- Original Message -----
From: "Bart-Jan Vrielink" <bartjan@vrielink.net>
To: "Jason Lim" <maillist@jasonlim.com>
Cc: <debian-isp@lists.debian.org>
Sent: Tuesday, June 19, 2001 6:51 PM
Subject: Re: Check NIC for speed and promisc mode


> On Tue, 19 Jun 2001, Jason Lim wrote:
>
> > How can I check the "real" connection speed of a NIC? These are
realtek
> > 8129/8139 network cards. The leds behind the NIC aren't exactly
> > informative. I was hoping there was some way to do this directly in
linux
> > through a hardware call. I checked /proc and i couldn't find anything
> > pertaining to this.
>
> mii-tool (Package: net-tools) or mii-diag (Package mii-diag).
>
> > On a related note, how can I check if the card is in "promisc" mode?
Some
> > software seems to leave it in promisc mode... so once I find out if it
IS
> > in promisc mode, how can i switch it back?
>
> ifconfig eth0 | grep PROMISC
> ifconfig eth0 -promisc
>
> --
> Tot ziens,
>
> Bart-Jan
>
> http://www.zentek-international.com/




Reply to: