tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY:  NIC Speed
@ 1999-09-20 19:06 Leonard, Roger
  0 siblings, 0 replies; only message in thread
From: Leonard, Roger @ 1999-09-20 19:06 UTC (permalink / raw)
  To: tru64-unix-managers

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

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

only message in thread, other threads:[~1999-09-20 19:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-20 19:06 SUMMARY: NIC Speed Leonard, Roger

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