SUMMARY: ndd on solairs 9 x86

From: Andrew Hall <halla3_at_corp.earthlink.net>
Date: Fri Feb 11 2005 - 10:58:33 EST
Greetings,

Solution:  Use kstat(1)

bash-2.05# kstat -p e1000g:0 | /usr/bin/egrep '(duplex)|(ifspeed)'
e1000g:0:e1000g0:duplex full
e1000g:0:e1000g0:ifspeed        100000000
bash-2.05#

Thank you very much to Loris Serena, Casper Dik, Ken Zachmann, Simon 
Burr, and David Harrington for there very fast and accurate replies.

This list should be an example for other mailing lists!

Thanks again,

Drew



<Original Post>

Greetings,

I have a suspicion that one of my sol 9 x86 servers is not linked at 
100/full.  I am unable to tell if it is in fact linked properly as ndd 
does not appear to be working as expected.

Here are my ints:

bash-2.05# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
         inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
         inet x.x.x.x netmask ffffff00 broadcast x.x.x.255
         ether 0:30:48:27:55:76
bash-2.05#

So using e1000g, I use ndd to get the list of read/write variables, but 
no such luck:

bash-2.05# ndd -get /dev/e1000g \?
operation failed: Invalid argument
bash-2.05#

So I then try a few that should be there:

bash-2.05# ndd -get /dev/e1000g adv_100fdx_cap
operation failed: Invalid argument
bash-2.05# ndd -get /dev/e1000g adv_100hdx_cap
operation failed: Invalid argument
bash-2.05# ndd -get /dev/e1000g adv_10fdx_cap
operation failed: Invalid argument
bash-2.05# ndd -get /dev/e1000g adv_10hdx_cap
operation failed: Invalid argument
bash-2.05# ndd -get /dev/e1000g adv_autoneg_cap
operation failed: Invalid argument
bash-2.05#

What am I missing here?  Do you not use ndd to set link state on sol 9 x86?

Thanks,

Drew
</>
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Feb 11 10:59:54 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:43 EST