[prev in list] [next in list] [prev in thread] [next in thread]
List: net-snmp-patches
Subject: [Net-snmp-patches] [ net-snmp-Patches-657808 ] Interface speed in Linux
From: "SourceForge.net" <noreply () sourceforge ! net>
Date: 2003-02-21 9:31:51
[Download RAW message or body]
Patches item #657808, was opened at 2002-12-23 11:10
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=312694&aid=657808&group_id=12694
Category: None
Group: None
Status: Closed
Resolution: Accepted
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Wes Hardaker (hardaker)
Summary: Interface speed in Linux
Initial Comment:
There's a known problem that usd-snmpd and net-snmpd
can't determine network interface speed, 10 Mbit/sec
is the hardcoded value. And the reason is clear: the
correct determination of the parameter is system- and
hardware specific, depends on Ethernat card model and
its driver.
Nevertheless I propose to determine the speed at list
for NICs with MII-tranceivers (media independent
interface). There's a free program "mii-diag" written
by Donald Becker (http://www.scyld.com) that works
upder Linux and shows some parameters of a card
including transfer mode and link status. The code was
adopted for usd-snmp ver. 4.2.3. The patch is attached
below.
The patch also allows to determine ifOperStatus
parameter (i.e. link status) correctly: in case of link
troubles ifOperStatus is set to "down"
----------------------------------------------------------------------
Comment By: Kirill Semenkov (semenkovk)
Date: 2003-02-21 09:31
Message:
Logged In: YES
user_id=675571
There are some things that are not taken into account by this patch: interface speed \
determination is wrong when there's problems with autonegociation but link partner, \
however, sent link beat. The second version of the patch fixes it.
----------------------------------------------------------------------
Comment By: Wes Hardaker (hardaker)
Date: 2003-02-20 05:45
Message:
Logged In: YES
user_id=76242
Thanks for the patch! It has been applied to the next release of
the
net-snmp package.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=312694&aid=657808&group_id=12694
-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Net-snmp-patches mailing list
Net-snmp-patches@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-patches
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic