- ifconfig
- mii-tool
- ethtool
Example: ifconfig eth0 media 100baseTX
若出現 port: SIOCSIFMAP: Operation not supported ,可以改用 mii-tool,ethtool指令
mii-tool -F 100baseTx-FD eth0
ethtool -s eth0 speed 100 duplex full autoneg on
pi@ChunchaiRPI2:/tmp $ wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py --2023-06-26 10:4...