修改网口速度mii-tool和ethtool

来源:互联网 发布:淘宝怎么发布宝贝 编辑:程序博客网 时间:2024/06/06 00:02

mii-tool

# mii-tool -F 100baseTx-FDmedia: 100baseT4, 100baseTx-FD, 100baseTx-HD, 10baseT-FD, 10baseT-HD, (to advertise both HD and FD) 100baseTx, 10baseT

ethtool

# ethtool -s eth0 speed 100 duplex full autoneg off

ethtool移植

# tar -xzf ethtool.tar.gz # ./configure  --host=arm-linux CC=arm-none-linux-gnueabi-gcc  LDFLAGS=-static# make
1 0
原创粉丝点击