Solution to Ethernet Speed Limitation in Ubuntu 22.04
- Published on
- • 20 minutes read
In some cases, Ubuntu users may find that their Ethernet connection is limited to 100 Mb/s instead of the expected 1 Gb/s. This can significantly impact network performance, especially for tasks that require high bandwidth, such as transferring large files, streaming high-definition video, and other network-intensive activities.
The solution to this problem involves checking and adjusting the Ethernet network interface settings to ensure it is using the correct speed and duplex. Below is a step-by-step guide to resolve this issue.
ethtool
ethtool
is a command-line tool for configuring and querying Ethernet interfaces. If it is not installed on your system, you will need to install it.
Open a terminal.
Run the following command to update the package list:
sudo apt update
Then, install ethtool
by running:
sudo apt install ethtool
Once ethtool
is installed, you can use it to check the current configuration of your network interface.
In the terminal, run the following command (replace enp4s0
with the name of your network interface if different):
sudo ethtool enp4s0
This command will display detailed information about the network interface configuration, including speed and duplex.
To configure the network interface to use 1 Gb/s and full duplex, follow these steps:
In the terminal, run the following command to set the speed and duplex:
sudo ethtool -s enp4s0 speed 1000 duplex full autoneg on
This will set the speed to 1000 Mb/s (1 Gb/s) and the duplex to full with auto-negotiation enabled.
To ensure the changes are applied correctly, restart the network service.
In the terminal, run the following command:
sudo systemctl restart NetworkManager
After restarting the network service, verify the network interface configuration again to ensure the changes have been applied correctly.
In the terminal, run the following command again:
sudo ethtool enp4s0
You should see that the speed is set to 1000 Mb/s and the duplex is set to full.
By following these steps, you should be able to resolve the issue of Ethernet speed limitation on Ubuntu. Ensuring that your network is correctly configured is crucial for getting the best performance from your internet connection and local network.
We hope this guide has been helpful. If you have any additional questions or issues, please feel free to leave a comment.