From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079072816174.tru64-unix-managers.marc@archive.invalid> From: "Leonard, Roger" Date: Mon, 20 Sep 1999 19:06:09 +0000 To: tru64-unix-managers Subject: SUMMARY: NIC Speed X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079072816174 Original question: >How can I tell what speed/mode my 10/100 board in 4.0D 4100 is running at? Summary: most replied to check the ewa0_mode and the /var/adm/messages file, both of which I already knew. What I was really looking for was a magic command that I could run from the OS that would tell me what speed/mode I was running at that point. No such luck, but I did get some helpful replies. One: # ifconfig tu# down speed (10 = single 10, 20 = fd 10, 100 = single 100, 200 = fd 100) # ifconfig tu# up or # /usr/sbin/lan_config -i 'interface name' -s '10|100' lan_config changes do not remain when the system is rebooted. As soon as you reboot to console prompt try to set ewa0_mode to Auto-Negotiate. Two: You can set the speed explicitly using the 'speed' parameter in ifconfig. See the man page for details. three: Force the issue at both the NIC and the switch :) Seriously, these cards are really bad with autonegotiation, otherwise, you are likely to end up with a duplex mismatch, which just plain ugly: 1) in the SRM (>>> prompt) set ewa0_mode to the right value From memory: Twisted-Pair -> 10 half FastFD -> 100 full if you run: >>> set ewa0_mode = bogus it will spit out the options 2) add on a speed flag for the IFCONFIG_0 entry in /etc/rc.config IFCONFIG_0="10.0.0.1 netmask 255.255.255.0 speed 200" where: 10 => 10 half 20 => 10 full 100 => 100 half 200 => 100 full 3) set the same on the switch thanks for all the replies. Roger D. Leonard Roger D. Leonard Unix Systems Engineer HealthAmerica, Pgh PA rleonard@cvty.com