In this article, we will guide you through the process of installing the backported iwlwifi driver on Kubuntu 18.04 LTS. This is particularly useful for those who are experiencing wireless compatibility issues on their systems.
- Step 1: Installing Necessary Packages
- Step 2: Cloning the Backport-iwlwifi Repository
- Step 3: Navigating to the Backport-iwlwifi Directory
- Step 4: Configuring the Driver
- Step 5: Disabling a Specific Option in the Configuration File
- Step 6: Building the Driver
- Step 7: Installing the Driver
- Step 8: Rebooting the System
- Verifying the Installation
Before we begin, ensure that you have the following:
- A system running Kubuntu 18.04 LTS
- An internet connection
- Sudo or root privileges
Step 1: Installing Necessary Packages
First, we need to install some necessary packages. Open a terminal and run the following command:
sudo apt-get install git build-essential
This command installs
git, which we will use to clone the backport-iwlwifi repository, and
build-essential, which contains a list of packages essential for building Ubuntu packages including gcc compiler, make and more.
Step 2: Cloning the Backport-iwlwifi Repository
Next, we will clone the backport-iwlwifi repository by running the following command:
git clone https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git
This command uses
git to clone the repository from the given URL.
Step 3: Navigating to the Backport-iwlwifi Directory
After cloning the repository, navigate to the backport-iwlwifi directory by running:
This command changes the current directory to the backport-iwlwifi directory.
Step 4: Configuring the Driver
Next, we need to configure the driver. Run the following command:
make command is used to build and install packages from source. Here, it’s used to configure the iwlwifi driver.
Step 5: Disabling a Specific Option in the Configuration File
We need to disable a specific option in the configuration file. Run the following command:
sed -i 's/CPTCFG_IWLMVM_VENDOR_CMDS=y/# CPTCFG_IWLMVM_VENDOR_CMDS is not set/' .config
This command uses
sed, a stream editor for filtering and transforming text. It replaces the line
# CPTCFG_IWLMVM_VENDOR_CMDS is not set in the
Step 6: Building the Driver
Now, we can build the driver by running the following command:
-j4 option specifies the number of jobs (commands) to run simultaneously. If you have a multi-core processor, you can increase this number to speed up the building process.
Step 7: Installing the Driver
Once the driver is built, we can install it by running the following command:
sudo make install
This command installs the driver using
Step 8: Rebooting the System
Finally, reboot your system to ensure the changes take effect.
Verifying the Installation
After the reboot, you can check if the firmware is loaded by running the following command:
dmesg | grep iwl
dmesg command is used to print and control kernel ring buffer. This command will print all the messages related to iwlwifi driver.
By following these steps, you should have successfully installed the backported iwlwifi driver on your Kubuntu 18.04 LTS system. This should help in resolving any wireless compatibility issues you were experiencing. If you need to find the firmware, you can visit the Linux Kernel’s firmware git tree.
Remember, if you are using a newer version of Linux (version 5 or above), backporting iwlwifi may not be necessary and could potentially cause conflicts with other network adapters. Always check the compatibility of your system before proceeding with any driver installations.
The backported iwlwifi driver is installed to resolve wireless compatibility issues on systems running Kubuntu 18.04 LTS.
The prerequisites for installing the backported iwlwifi driver are a system running Kubuntu 18.04 LTS, an internet connection, and sudo or root privileges.
You can install the necessary packages by running the command
sudo apt-get install git build-essential in the terminal.
You can clone the backport-iwlwifi repository by running the command
git clone https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git in the terminal.
You can navigate to the backport-iwlwifi directory by running the command
cd backport-iwlwifi in the terminal.
Configuring the driver is necessary to set up the iwlwifi driver for installation.
You can build the driver by running the command
make -j4 in the backport-iwlwifi directory.
You can install the driver by running the command
sudo make install in the backport-iwlwifi directory.
Rebooting the system is necessary for the changes to take effect and for the driver to be properly loaded.
You can verify the installation by running the command
dmesg | grep iwl in the terminal to check for any iwlwifi-related messages.