After posting my summary, I rec'd two add'l messages that I thought others
would be interested in, so I'm following up:
First, from David Hull:
------------------------
If snmpd is installed, you should be able to do
# snmp_request localhost public get 1.3.6.1.2.1.2.2.1.5.1
where public is the snmp community string. This on my box returned a value
of 10000000.
(note that
1.3.6.1.2.1.2.2.1.5.1
is your first nic,
1.3.6.1.2.1.2.2.1.5.2
is your second, and so on.
You can find out how many nics you have by querying 1.3.6.1.2.1.2.1.0 my
result of this query is 4. So, that means on the speed, the last number is
1 - 4. 1.3.6.1.2.1.2.2.1.2.1-4 will give you the names.
See the following session script:
# snmp_request localhost public get 1.3.6.1.2.1.2.1.0
1.3.6.1.2.1.2.1.0 = 4
# snmp_request localhost public get 1.3.6.1.2.1.2.2.1.2.1
1.3.6.1.2.1.2.2.1.2.1 = tu DEC TULIP (10/100) Ethernet Interface
# snmp_request localhost public get 1.3.6.1.2.1.2.2.1.2.3
1.3.6.1.2.1.2.2.1.2.3 = sl Serial Line Interface
# snmp_request localhost public get 1.3.6.1.2.1.2.2.1.5.1
1.3.6.1.2.1.2.2.1.5.1 = 10000000
# snmp_request localhost public get 1.3.6.1.2.1.2.2.1.5.2
1.3.6.1.2.1.2.2.1.5.2 = 10000000
# ifconfig tu1 down
# ifconfig tu1 speed 100 up
# snmp_request localhost public get 1.3.6.1.2.1.2.2.1.5.2
1.3.6.1.2.1.2.2.1.5.2 = 100000000
and voila, the speed did in fact go from 10Mb to 100Mb
------------------------------------------------------------
then, from Paul Henderson, for Tru64 version 5.0:
On V5.0 and up, run the SysMan Station (sysman -station). Click on the Hardware
view, then click the right mouse button over the icon for your network adapter,
and select Properties from the menu. This will bring up a dialog showing the
"media speed" and other info.
-------------------------------------------------------------
and also a note from Jim Jones on using lan_config, which looks like a
more direct way to do this than via ifconfig.
-------------------------------------------------------------
Thanks again...
--
Judith Reed
jreed_at_appliedtheory.com
(315) 453-2912 x5835
Received on Tue Apr 18 2000 - 13:01:14 NZST