[SunHELP] NIC speed questions

-Mark- sunhelp at sunhelp.org
Tue Sep 25 13:23:30 CDT 2001


The NIC on the SS5 is only capable of 10Mbit.
You can add another Sbus card that has an hme port for
100Mbit.  Just use the hme instead of the le0.  Don't
assign any information to /etc/hostname.le0 and it is
basically disabled.

Here is a script that I use to check our servers.  You
will need to modify the interface name as required,
i.e. hme,le, qfe, etc.
Some where I have a fancier version, but this gives
you the basics.

Mark

#!/bin/sh
# Version 1.1
# This script will scan hme network interface
# for Solaris system.
# SUNW,hme Fast-Ethernet device driver


# Main Line
HOST_=`cat /etc/nodename`
HME_=`cat /etc/path_to_inst | grep hme | nawk '{print
$2}'`

for instance in ${HME_}
do

 ndd -set /dev/hme instance ${instance} >/dev/null
	echo "+-------------------------------+"

	if [ `ndd /dev/hme link_status` = 0 ];then
   		echo "hme${instance} status is down";else 
       echo "hme${instance} status is up"
  fi
  
  if [ `ndd /dev/hme link_speed` = 0 ];then
   		echo "hme${instance} link speed 10 Mbps";else 
   	echo "hme${instance} link speed 100 Mbps"
  fi
  
  if [ `ndd /dev/hme link_mode` = 0 ];then
   	echo "hme${instance} link mode Half-Duplex";else 
   echo "hme${instance} link mode Full-Duplex"
  fi
  
  if [ `ndd /dev/hme adv_autoneg_cap` = 0 ];then
   	echo "hme${instance} Auto-Negotiation-OFF";else 
   		echo "hme${instance} Auto-Negotiation-ON"
  fi
 
 
 done  
--- Shain Miley <smiley at tvdata.com> wrote:
> Hi,
> I was wondering if anyway knows how I can tell the
> current speed a NIC card in
> a Solaris 7/8 machine.  Right now be have a 10Mbit
> network but we are thinking
> of getting some new equipment so that we can upgrade
> to 100Mbit.  Also We have
> a SPARC Station 5 that has a NIC that looks built
> into the motherboard.  Is
> there any way to disable that NIC and install one
> capable of 100Mbits (if this
> one is not, as right now I don't know how to check
> what speed a card is capable
> of)?
> 
> Thanks.
> Shain
> 
> 
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp


__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com



More information about the SunHELP mailing list