免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1536 | 回复: 3
打印 上一主题 下一主题

[网络管理] Speed Duplex - From Half Duplex to Full Duplex [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-01-06 12:42 |只看该作者 |倒序浏览
Hi All,

    I would like ask is any way change the NIC speed from half Duplex to Full Duplex on RH4.0.  I have done the following:

add the following to modules.conf:

alias eth0 e1000
alias eth1 e1000
options e1000 Speed=100,100 Duplex=2,2

After reboot the Server,

vi "/etc/modprobe.conf"
alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptscsih
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
alias scsi_hostadapter2 megaraid_mm
alias scsi_hostadapter3 megaraid_mbox
alias eth0 e1000
alias eth1 e1000
options e1000 Speed=100,100 Duplex=2,2


[root@RHAPS1 ~]# shutdown -r now
Broadcast message from root (pts/0) (Fri Jan  6 11:48:15 2006):
The system is going down for reboot NOW!
.
.
.
[root@RHAPS1 ~]# ethtool eth0
Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Half
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: umbg
        Wake-on: d
        Current message level: 0x00000007 (7)
        Link detected: yes

Urgent need help.

论坛徽章:
0
2 [报告]
发表于 2006-01-06 14:30 |只看该作者
write two line in /etc/rc.local

/usr/sbin/ethtool -s eth1 speed 100 duplex full autoneg off
/usr/sbin/ethtool -s eth2 speed 100 duplex full autoneg off

论坛徽章:
0
3 [报告]
发表于 2006-01-08 21:27 |只看该作者
Hi Ippen.

   Instead the every time type command, is any way permanent set the aut neg off ?  Thanks for that.


Leon

论坛徽章:
0
4 [报告]
发表于 2006-01-09 13:58 |只看该作者
no need type command erery time,you can write command in file /etc/rc.local
so when you reboot server, netword card is setting to speed 100 and duplex full
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP