Solaris Specific Information


Using ndd, you can check/set the settings of your interfaces while the box is up and running. However, there is NO way to reset the statistics on the interface without a reboot. Even though you can set the proper configuration while the machine is running, you should also set it in the kernel config files and perform a reconfigured reboot.

You can set the network link parameters dynamically with the /usr/sbin/ndd tool. You need to select which interface you wish to modify, then what you want to set it to. Check which interfaces are configured on your box by using the dmesg command as follows :

Other values you can check on a running interface are as follows :

Finally, you can also check with the much easier but less safe command :

If you find that any of the above are not as they should be, you can change them by changing the "get" to "set" in the above ndd commands, and setting a value at the end of the line. Lets say the intefaces was configured for autonegotiation and you wanted to set the 100 Full-duplex instead, you could do the following :

You can also set it statically, at boot time, by modifying /etc/system for the same values that we probed, as follows (the preferred method) :

  ##
  # Set all HME's to 100 full-duplex
  ##
  set hme:hme_adv_autoneg_cap=0
  set hme:hme_adv_100T4_cap=0
  set hme:hme_adv_100fdx_cap=1
  set hme:hme_adv_100hdx_cap=0
  set hme:hme_adv_10fdx_cap=0
  set hme:hme_adv_10hdx_cap=0

  ##
  # Set all QFE's to 100 full-duplex
  ##
  set qfe:qfe_adv_autoneg_cap=0
  set qfe:qfe_adv_100T4_cap=0
  set qfe:qfe_adv_100fdx_cap=1
  set qfe:qfe_adv_100hdx_cap=0
  set qfe:qfe_adv_10fdx_cap=0
  set qfe:qfe_adv_10hdx_cap=0
  

You should probably set all of the ones you DONT want to "0" then set the one you do want to "1". Again, this is the safer bet.