mii-tool (media-independent interface status manipulation tool):
- # finding out which settings your network interface agreed on with your hub/router/switch/...:
sudo mii-tool
- # specify 10 mbps, full duplex:
sudo mii-tool --force=10baseT-FD eth0
- # specify 10 mbps, half duplex:
sudo mii-tool --force=10baseT-HD eth0
- # specify 100 mbps, full duplex:
sudo mii-tool --force=100baseTx-FD eth0
- # specify 100 mbps, half duplex:
sudo mii-tool --force=100baseTx-HD eth0