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
05-26 03:55