Chinaunix首页 | 论坛 | 博客
  • 博客访问: 578414
  • 博文数量: 113
  • 博客积分: 3322
  • 博客等级: 少校
  • 技术积分: 1565
  • 用 户 组: 普通用户
  • 注册时间: 2006-01-04 11:38
文章分类

全部博文(113)

文章存档

2012年(21)

2010年(92)

分类: 系统运维

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

阅读(3311) | 评论(0) | 转发(0) |
0

上一篇:Fsck vxfs问题

下一篇:swap与Pseudo swap

给主人留下些什么吧!~~