分类: 系统运维
2012-11-08 01:43:03
#grep '"ce"' /etc/path_to_inst
"/pci@1c,600000/network@2" 0 "ce"
"/pci@1f,700000/network@1" 1 "ce"
#TERM=vt100;export TERM
#vi /kernel/drv/ce.conf
name="ce" parent="/pci@1c,600000" unit-address="2"
adv_autoneg_cap=0
adv_1000fdx_cap=0
adv_1000hdx_cap=0
adv_100fdx_cap=1
adv_100hdx_cap=0
adv_10fdx_cap=0
adv_10hdx_cap=0;
name="ce" parent="/pci@1f,700000" unit-address="1"
adv_autoneg_cap=0
adv_1000fdx_cap=0
adv_1000hdx_cap=0
adv_100fdx_cap=1
adv_100hdx_cap=0
adv_10fdx_cap=0
adv_10hdx_cap=0;
:wq!
#sync
#vi /etc/rc2.d/S68net-tune
ndd -set /dev/ce instance 0
ndd -set /dev/ce adv_1000hdx_cap 0
ndd -set /dev/ce adv_1000fdx_cap 0
ndd -set /dev/ce adv_100hdx_cap 0
ndd -set /dev/ce adv_100fdx_cap 1
ndd -set /dev/ce adv_10fdx_cap 0
ndd -set /dev/ce adv_10hdx_cap 0
ndd -set /dev/ce adv_autoneg_cap 0
ndd -set /dev/ce instance 1
ndd -set /dev/ce adv_1000hdx_cap 0
ndd -set /dev/ce adv_1000fdx_cap 0
ndd -set /dev/ce adv_100hdx_cap 0
ndd -set /dev/ce adv_100fdx_cap 1
ndd -set /dev/ce adv_10fdx_cap 0
ndd -set /dev/ce adv_10hdx_cap 0
ndd -set /dev/ce adv_autoneg_cap 0
# chmod 744 /etc/rc2.d/S68net-tune
#sync
#reboot