From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078724211798.tru64-unix-managers.marc@archive.invalid> From: Sean O'Connell Date: Mon, 12 Oct 1998 17:52:16 +0000 To: tru64-unix-managers Subject: [SUMMARY] ifconfig question X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078724211798 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 ", "John F. Madden ", "Mike Rademaeker ", "George Gallen ", "Alan Angulo ", "Erik Persson " 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