How to configure the network card speed in Linux?
To configure the speed of a Linux network card, you can use the ethtool tool. Make sure you have ethtool tool installed, then use the following command to check the current speed setting of the network card:
ethtool eth0
One of them, eth0, is the name of the network card you want to set. In the output, you can see the current speed setting. To change the speed setting of the network card, you can use the following command:
ethtool -s eth0 speed 1000 duplex full
The above command sets the speed of the eth0 network card to 1000Mbps and enables full duplex mode. Depending on the actual situation, the speed and duplex mode can be set to suitable values. After the settings are completed, you can run the “ethtool eth0” command again to confirm if the settings are successful.