HOWTO Manually set NIC speed on Sun Solaris

This article was first written in July 2004 for the BeezNest technical
website (http://glasnost.beeznest.org/articles/143).

Here is how to set manually speed and duplex parameters on network interfaces in Sun Solaris.
Adding the following code (comment lines start with ‘*’) to you /etc/system file and rebooting will put your hme type interfaces to 10 Mbits/s Half-Duplex:

*
* set hme driver modes
*
*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 = 1
set hme:hme_adv_autoneg_cap = 0

The same for eri type interfaces:

*
* set eri driver modes
*
*set eri:adv_100T4_cap = 0
*set eri:adv_100fdx_cap = 1
*set eri:adv_100hdx_cap = 0
*set eri:adv_10fdx_cap = 0
set eri:adv_10hdx_cap = 1
set eri:adv_autoneg_cap = 0

See also Manually setting nic speed / duplex problem Solaris 9 for a complete reference.

It's only fair to share...Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInShare on TumblrEmail this to someone

Leave a Reply

Your email address will not be published. Required fields are marked *