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

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



Reply to: