修改网口速度mii-tool和ethtool

mii-tool

# mii-tool -F 100baseTx-FD
media: 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
posted @ 2017-02-11 17:18  thomas_blog  阅读(327)  评论(0编辑  收藏  举报