tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* [SUMMARY] ifconfig question
@ 1998-10-12 17:52 Sean O'Connell
  0 siblings, 0 replies; only message in thread
From: Sean O'Connell @ 1998-10-12 17:52 UTC (permalink / raw)
  To: tru64-unix-managers

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@ppsl.com>", 
"John F. Madden <root@tigger.cslc.org>",
"Mike Rademaeker <mrademae@jpi.com>",
"George Gallen <ggallen@slakinc.com>",
"Alan Angulo <alan@esu.com>",
"Erik Persson <erik@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@stat.Duke.EDU
Institute of Statistics and Decision Sciences   Phone: (919) 684-5419
Duke University                                 Fax:   (919) 684-8594

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-10-12 17:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-12 17:52 [SUMMARY] ifconfig question Sean O'Connell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox