[SunHELP] NIC speed questions

Wally A. Alubankudi sunhelp at sunhelp.org
Thu Sep 27 10:47:32 CDT 2001


<html><div style='background-color:'><DIV>
<P>This script does not work. </P>
<P>From: -Mark- <N2JTW at YAHOO.COM></P></DIV>
<DIV></DIV>Reply-To: sunhelp at sunhelp.org 
<DIV></DIV>To: sunhelp at sunhelp.org 
<DIV></DIV>Subject: Re: [SunHELP] NIC speed questions 
<DIV></DIV>Date: Tue, 25 Sep 2001 11:23:30 -0700 (PDT) 
<DIV></DIV>MIME-Version: 1.0 
<DIV></DIV>Received: from [207.200.6.75] by hotmail.com (3.2) with ESMTP id MHotMailBD7A16ED00C44004370CCFC8064BDA070; Tue, 25 Sep 2001 11:24:47 -0700 
<DIV></DIV>Received: from ohno.mrbill.net (localhost [127.0.0.1])by ohno.mrbill.net (Postfix) with ESMTPid CE01B11C0D; Tue, 25 Sep 2001 13:21:28 -0500 (CDT) 
<DIV></DIV>Received: from web12806.mail.yahoo.com (web12806.mail.yahoo.com [216.136.174.41])by ohno.mrbill.net (Postfix) with SMTP id 9E9F811B6Efor <SUNHELP at SUNHELP.ORG>; Tue, 25 Sep 2001 13:20:27 -0500 (CDT) 
<DIV></DIV>Received: from [170.16.15.231] by web12806.mail.yahoo.com via HTTP; Tue, 25 Sep 2001 11:23:30 PDT 
<DIV></DIV>From sunhelp-admin at sunhelp.org Tue, 25 Sep 2001 11:25:36 -0700 
<DIV></DIV>Delivered-To: sunhelp at sunhelp.org 
<DIV></DIV>Message-ID: <20010925182330.81959.qmail at web12806.mail.yahoo.com> 
<DIV></DIV>In-Reply-To: <3BB0F4B6.3C4A7908 at tvdata.com> 
<DIV></DIV>Sender: sunhelp-admin at sunhelp.org 
<DIV></DIV>Errors-To: sunhelp-admin at sunhelp.org 
<DIV></DIV>X-BeenThere: sunhelp at sunhelp.org 
<DIV></DIV>X-Mailman-Version: 2.0.6 
<DIV></DIV>Precedence: bulk 
<DIV></DIV>List-Help: <mailto:sunhelp-request at sunhelp.org?subject=help>
<DIV></DIV>List-Post: <mailto:sunhelp at sunhelp.org>
<DIV></DIV>List-Subscribe: <HTTP: sunhelp listinfo mailman www.sunhelp.org>,<mailto:sunhelp-request at sunhelp.org?subject=subscribe> 
<DIV></DIV>List-Id: General discussion / help / chat about Sun machines and software <SUNHELP.SUNHELP.ORG>
<DIV></DIV>List-Unsubscribe: <HTTP: sunhelp listinfo mailman www.sunhelp.org>,<mailto:sunhelp-request at sunhelp.org?subject=unsubscribe> 
<DIV></DIV>List-Archive: <HTTP: sunhelp www.sunhelp.org pipermail />
<DIV></DIV>
<DIV></DIV>The NIC on the SS5 is only capable of 10Mbit. 
<DIV></DIV>You can add another Sbus card that has an hme port for 
<DIV></DIV>100Mbit. Just use the hme instead of the le0. Don't 
<DIV></DIV>assign any information to /etc/hostname.le0 and it is 
<DIV></DIV>basically disabled. 
<DIV></DIV>
<DIV></DIV>Here is a script that I use to check our servers. You 
<DIV></DIV>will need to modify the interface name as required, 
<DIV></DIV>i.e. hme,le, qfe, etc. 
<DIV></DIV>Some where I have a fancier version, but this gives 
<DIV></DIV>you the basics. 
<DIV></DIV>
<DIV></DIV>Mark 
<DIV></DIV>
<DIV></DIV>#!/bin/sh 
<DIV></DIV># Version 1.1 
<DIV></DIV># This script will scan hme network interface 
<DIV></DIV># for Solaris system. 
<DIV></DIV># SUNW,hme Fast-Ethernet device driver 
<DIV></DIV>
<DIV></DIV>
<DIV></DIV># Main Line 
<DIV></DIV>HOST_=`cat /etc/nodename` 
<DIV></DIV>HME_=`cat /etc/path_to_inst | grep hme | nawk '{print 
<DIV></DIV>$2}'` 
<DIV></DIV>
<DIV></DIV>for instance in ${HME_} 
<DIV></DIV>do 
<DIV></DIV>
<DIV></DIV>ndd -set /dev/hme instance ${instance} >/dev/null 
<DIV></DIV>echo "+-------------------------------+" 
<DIV></DIV>
<DIV></DIV>if [ `ndd /dev/hme link_status` = 0 ];then 
<DIV></DIV>echo "hme${instance} status is down";else 
<DIV></DIV>echo "hme${instance} status is up" 
<DIV></DIV>fi 
<DIV></DIV>
<DIV></DIV>if [ `ndd /dev/hme link_speed` = 0 ];then 
<DIV></DIV>echo "hme${instance} link speed 10 Mbps";else 
<DIV></DIV>echo "hme${instance} link speed 100 Mbps" 
<DIV></DIV>fi 
<DIV></DIV>
<DIV></DIV>if [ `ndd /dev/hme link_mode` = 0 ];then 
<DIV></DIV>echo "hme${instance} link mode Half-Duplex";else 
<DIV></DIV>echo "hme${instance} link mode Full-Duplex" 
<DIV></DIV>fi 
<DIV></DIV>
<DIV></DIV>if [ `ndd /dev/hme adv_autoneg_cap` = 0 ];then 
<DIV></DIV>echo "hme${instance} Auto-Negotiation-OFF";else 
<DIV></DIV>echo "hme${instance} Auto-Negotiation-ON" 
<DIV></DIV>fi 
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>done 
<DIV></DIV>--- Shain Miley <SMILEY at TVDATA.COM>wrote: 
<DIV></DIV>> Hi, 
<DIV></DIV>> I was wondering if anyway knows how I can tell the 
<DIV></DIV>> current speed a NIC card in 
<DIV></DIV>> a Solaris 7/8 machine. Right now be have a 10Mbit 
<DIV></DIV>> network but we are thinking 
<DIV></DIV>> of getting some new equipment so that we can upgrade 
<DIV></DIV>> to 100Mbit. Also We have 
<DIV></DIV>> a SPARC Station 5 that has a NIC that looks built 
<DIV></DIV>> into the motherboard. Is 
<DIV></DIV>> there any way to disable that NIC and install one 
<DIV></DIV>> capable of 100Mbits (if this 
<DIV></DIV>> one is not, as right now I don't know how to check 
<DIV></DIV>> what speed a card is capable 
<DIV></DIV>> of)? 
<DIV></DIV>> 
<DIV></DIV>> Thanks. 
<DIV></DIV>> Shain 
<DIV></DIV>> 
<DIV></DIV>> 
<DIV></DIV>> _______________________________________________ 
<DIV></DIV>> SunHELP maillist - SunHELP at sunhelp.org 
<DIV></DIV>> http://www.sunhelp.org/mailman/listinfo/sunhelp 
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>__________________________________________________ 
<DIV></DIV>Do You Yahoo!? 
<DIV></DIV>Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com 
<DIV></DIV>_______________________________________________ 
<DIV></DIV>SunHELP maillist - SunHELP at sunhelp.org 
<DIV></DIV>http://www.sunhelp.org/mailman/listinfo/sunhelp 
<DIV></DIV></mailto:sunhelp-request at sunhelp.org?subject=unsubscribe></mailto:sunhelp-request at sunhelp.org?subject=subscribe></mailto:sunhelp at sunhelp.org></mailto:sunhelp-request at sunhelp.org?subject=help></div><br clear=all><hr>Get your FREE download of MSN Explorer at <a href='http://go.msn.com/bql/hmtag_itl_EN.asp'>http://explorer.msn.com</a><br></html>



More information about the SunHELP mailing list