[SUMMARY] ifconfig question

From: Sean O'Connell <sean_at_stat.Duke.EDU>
Date: Mon, 12 Oct 1998 13:52:16 -0400 (EDT)

Hi All-

Way back on 28th of September, I had fired off a missive asking
if there was anyway to dynamically determine the speed/duplex that
the NIC thinks that is currently set to.

Several kind folks responded telling me to look at the output
from the last boot either in /var/adm/messages or using uerf or
dia. These included:

"Nigel Gall <nigelg_at_ppsl.com>",
"John F. Madden <root_at_tigger.cslc.org>",
"Mike Rademaeker <mrademae_at_jpi.com>",
"George Gallen <ggallen_at_slakinc.com>",
"Alan Angulo <alan_at_esu.com>",
"Erik Persson <erik_at_ikp.liu.se>"

Unfortunately, it appears that Digital Unix lacks this handy
feature (found in FreeBSD). I was unable to decypher how to
get this info from an ioctl call, so I am just going to write
it off as a lack of a handy feature (anyone at Compaq listening? :).

The reason that I asked this question was two-fold: 1) my Cisco
switches couldn't figure out when my alphas were in 10BaseT,
full duplex (always rolled over to half) and 2) I had done an
'ifconfig tu0 speed 20' twice in a row, which had the net effect
of turning on and then off full duplex. I discovered this when
the network performance was less than stellar: consistent with
a duplex mismatch, but how could that be? I had set it. Many
hours and a patch cable later, I reissued the command, et voila,
network was happy. This would have been immediately obvious if when
doing an 'ifconfig tu0' it returned the current value...oh, well.
(I know that this was caused by pilot error, but some help from
the OS would have be nice).

Thanks for you ideas.
S
-- 
-------------------------------------------------------------------------
Sean O'Connell                                  Email: sean_at_stat.Duke.EDU
Institute of Statistics and Decision Sciences   Phone: (919) 684-5419
Duke University                                 Fax:   (919) 684-8594
Received on Mon Oct 12 1998 - 17:53:08 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT