Wednesday, December 9, 2009

How to change nic card from half duplex to full duplex?

Setting NIC speed and duplex

Solaris is often unable to correctly auto-negotiate duplex
settings with a link partner (e.g. switch), especially when
the switch is set to 100Mbit full-duplex. You can force the
NIC into 100Mbit full-duplex by disabling auto-negotiation
and 100Mbit half-duplex capability.

Example with hme0:

1. Make the changes to the running system.
# ndd -set /dev/hme adv_100hdx_cap 0
# ndd -set /dev/hme adv_100fdx_cap 1
# ndd -set /dev/hme adv_autoneg_cap 0

2. Make kernel parameter changes to preserve the speed and
duplex settings after a reboot.
# vi /etc/system

Add:
# set hme:hme_adv_autoneg_cap=0
# set hme:hme_adv_100hdx_cap=0
# set hme:hme_adv_100fdx_cap=1

No comments:

Post a Comment