
In this article, we will walk you through the process of installing the r8125 driver for Ethernet connection on a system running Ubuntu in a dual boot configuration. This driver is essential for the optimal functioning of your 2.5G Ethernet card.
To install the r8125 driver for Ethernet connection on Ubuntu dual boot, you need to disable secure boot and Windows fast boot in your BIOS settings. Then, check if the driver is unclaimed using the command "sudo lshw -C network". Download the r8125 driver from the Realtek website, unzip the file, and install the driver by running the installation script. Finally, restart your system for the changes to take effect.
Preparing Your System
Before you begin, make sure to disable secure boot and Windows fast boot in your BIOS settings. This is necessary to allow the installation of third-party drivers on your system.
Checking Your Driver Status
Firstly, you need to check if the Realtek driver is unclaimed. Open a terminal (Ctrl+Alt+T) and run the following command:
sudo lshw -C network
This command lists all network interfaces on your system. If the driver is unclaimed, it means it is not being used by the system and you can proceed with the installation.
Downloading the r8125 Driver
Next, download the r8125 driver from the official Realtek website. You can find the file here.
Unzipping the Downloaded File
Once downloaded, you need to unzip the file. This can be done by running the following command in the terminal:
unzip /path/to/your/downloaded/file.zip
Replace /path/to/your/downloaded/file.zip
with the actual path where your downloaded file is located.
Installing the Driver
Now, change into the directory where the driver files are located using the cd
command:
cd /path/to/your/unzipped/driver/files
Then, run the following command to execute the installation script:
sudo ./autorun.sh
The sudo
command is used to run the following command with root privileges, while ./autorun.sh
executes the installation script.
Restarting Your System
After the installation, restart your computer to ensure the new driver is properly loaded. You can do this by running the following command:
sudo reboot
Conclusion
By following these steps, you should be able to successfully install the r8125 driver for your Ethernet connection on a Ubuntu dual boot system. If you encounter any issues during the installation process, please refer to the official Ubuntu forums or the Realtek website for additional assistance. Remember, the specific steps may vary slightly depending on your system’s configuration.
To disable secure boot and Windows fast boot, you need to access your BIOS settings. Restart your computer and look for a prompt to enter the BIOS setup. This is usually displayed on the screen during the boot process and may vary depending on your system manufacturer. Once in the BIOS setup, navigate to the "Boot" or "Security" section and look for options related to secure boot and fast boot. Disable both options and save the changes before exiting the BIOS setup.
Open a terminal (Ctrl+Alt+T) and run the command sudo lshw -C network
. This command will list all network interfaces on your system. Look for the line that corresponds to your Ethernet card. If it shows "UNCLAIMED" next to the driver, it means the driver is not being used by the system.
You can download the r8125 driver from the official Realtek website. The download link can be found in the article above or by visiting the Realtek website and navigating to the "Network Interface Controllers" section. Look for the appropriate driver for your Ethernet card model and download the file.
To unzip the downloaded file, open a terminal and run the command unzip /path/to/your/downloaded/file.zip
. Replace /path/to/your/downloaded/file.zip
with the actual path where your downloaded file is located. This command will extract the contents of the zip file to the current directory.
After changing into the directory where the driver files are located (cd /path/to/your/unzipped/driver/files
), run the command sudo ./autorun.sh
to execute the installation script. The sudo
command is used to run the following command with root privileges, while ./autorun.sh
runs the installation script.
Restarting your system after installing the driver ensures that the new driver is properly loaded and takes effect. This allows the system to recognize and utilize the driver for your Ethernet connection.
If you encounter any issues during the installation process, you can seek additional assistance from the official Ubuntu forums or the Realtek website. These resources provide a wealth of information and community support to help troubleshoot and resolve any problems you may encounter. Remember to provide as much detail as possible about the issue you are facing to receive the most accurate and helpful support.