Suppose your laptop or computer has WiFi or Bluetooth hardware installed. In that case, there is a chance that Debian won’t recognize it automatically after you’ve installed Debian on your computer, as many other Linux distributions do. It’s because Debian does not include these drivers by default. But, you can easily install the required drivers from the official Debian non-free repository and get them to work on Debian.

In this article, I will show you how to enable and configure Bluetooth on Debian 10. So, let’s get started.

Table of Contents

  1. Installing Bluetooth Drivers
  2. Getting the Bluetooth Adapter Ready
  3. Using GNOME Bluetooth to Connect to Bluetooth Devices
  4. Using Bluedevil to Connect to Bluetooth Devices
  5. Using Blueman to Connect to Bluetooth Devices
  6. Conclusion
  7. References

Installing Bluetooth Drivers

Most laptops these days have one of the many versions of the Intel CNVi wireless adapters installed on them, and these adaptors usually provide WiFi and Bluetooth support for these devices. So, to get Bluetooth working on your Debian machine, you have to install the iwlwifi firmware on your computer.

NOTE: My test computer has the Intel Wireless-AC 9560D2W card installed. It provides Bluetooth and WiFi functionality for my test computer.

First, enable the Debian official non-free package repository with the following command:

$ sudo apt-add-repository non-free

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-01.png" data-lazy- height="150" src="data:image/svg xml,” width=”747″>

The Debian official non-free package repository should be enabled.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-02.png" data-lazy- height="204" src="data:image/svg xml,” width=”829″>

Update the APT package repository cache with the following command:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-03.png" data-lazy- height="158" src="data:image/svg xml,” width=”512″>

The APT package repository cache should be updated.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-04.png" data-lazy- height="643" src="data:image/svg xml,” width=”974″>

Now, install the iwlwifi firmware with the following command:

$ sudo apt install firmware-iwlwifi -y

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-05.png" data-lazy- height="145" src="data:image/svg xml,” width=”797″>

The iwlwifi firmware is being installed. It may take a few seconds to complete.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-06.png" data-lazy- height="666" src="data:image/svg xml,” width=”974″>

The iwlwifi firmware should be installed.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-07.png" data-lazy- height="522" src="data:image/svg xml,” width=”974″>

For the changes to take effect, reboot your computer with the following command:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-08.png" data-lazy- height="152" src="data:image/svg xml,” width=”510″>

Getting the Bluetooth Adapter Ready

You can use rfkill to find out whether your computer has detected the installed Bluetooth hardware of your computer.

First, install the rfkill package with the following command:

$ sudo apt install rfkill -y

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-09.png" data-lazy- height="154" src="data:image/svg xml,” width=”708″>

rfkill should be installed.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-10.png" data-lazy- height="558" src="data:image/svg xml,” width=”974″>

Run rfkill as follows:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-11.png" data-lazy- height="141" src="data:image/svg xml,” width=”510″>

All the wireless hardware (i.e., Wi-Fi and Bluetooth) installed on your computer should be listed.

As you can see, a Bluetooth device is available on the list. It has the ID 0 on my computer. On your computer, the ID may be something other than 0. So, make sure to replace it with yours from now on.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-12.png" data-lazy- height="306" src="data:image/svg xml,” width=”845″>

In some cases, Bluetooth may be blocked on your computer.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-13.png" data-lazy- height="245" src="data:image/svg xml,” width=”974″>

To use the Bluetooth hardware, you will have to unblock it as follows:

NOTE: Here, 0 is the ID of the Bluetooth device.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-14.png" data-lazy- height="145" src="data:image/svg xml,” width=”683″>

As you can see, the Bluetooth device is unblocked. Now, it’s ready to be used.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-15.png" data-lazy- height="295" src="data:image/svg xml,” width=”764″>

Using GNOME Bluetooth to Connect to Bluetooth Devices

GNOME Bluetooth is the default Bluetooth manager app for the GNOME 3 desktop environment. GNOME Bluetooth is tightly integrated with the GNOME 3 desktop environment. So, you will have an amazing experience using it.

You can install all the required packages to set up GNOME Bluetooth on Debian 10 with the following command:

$ sudo apt install Bluetooth gnome-Bluetooth bluez bluez-tools pulseaudio-module-Bluetooth

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-16.png" data-lazy- height="89" src="data:image/svg xml,” width=”974″>

To confirm the installation, press Y and then press .

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-17.png" data-lazy- height="372" src="data:image/svg xml,” width=”974″>

GNOME Bluetooth and all the required dependency packages are being installed. It may take a few seconds to complete.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-18.png" data-lazy- height="468" src="data:image/svg xml,” width=”974″>

At this point, GNOME Bluetooth and other required packages should be installed.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-19.png" data-lazy- height="433" src="data:image/svg xml,” width=”974″>

Now, check the status of the Bluetooth service as follows:

$ sudo systemctl status Bluetooth

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-20.png" data-lazy- height="152" src="data:image/svg xml,” width=”899″>

The Bluetooth service should be active/running and enabled as marked in the screenshot below.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-21.png" data-lazy- height="400" src="data:image/svg xml,” width=”974″>

In case the Bluetooth service is not active/running, you can start it with the following command:

$ sudo systemctl start Bluetooth

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-22.png" data-lazy- height="150" src="data:image/svg xml,” width=”739″>

In case the Bluetooth service is not enabled, you can enable it with the following command:

$ sudo systemctl enable Bluetooth

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-23.png" data-lazy- height="154" src="data:image/svg xml,” width=”764″>

Once GNOME Bluetooth is installed and the Bluetooth service is active/running, you can navigate to the Bluetooth section of the GNOME Settings app and connect to your Bluetooth devices from there.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-24.png" data-lazy- height="691" src="data:image/svg xml,” width=”974″>

To learn how to use GNOME Bluetooth, read the Connecting to a Bluetooth Device using GNOME Bluetooth section of the article How to Connect to a Bluetooth Device on Arch Linux.

Using Bluedevil to Connect to Bluetooth Devices

Bluedevil is the default Bluetooth manager app for the KDE desktop environment. Bluedevil is tightly integrated with the KDE desktop environment. So, you will have an amazing experience using it.

You can install all the required packages to set up Bluedevil on Debian 10 with the following command:

$ sudo apt install Bluetooth bluedevil bluez bluez-tools pulseaudio-module-Bluetooth

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-25.png" data-lazy- height="85" src="data:image/svg xml,” width=”974″>

To confirm the installation, press Y and then press .

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-26.png" data-lazy- height="360" src="data:image/svg xml,” width=”974″>

Bluedevil and all the required dependency packages are being installed. It may take a few seconds to complete.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-27.png" data-lazy- height="454" src="data:image/svg xml,” width=”974″>

At this point, Bluedevil and other dependency packages should be installed.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-28.png" data-lazy- height="452" src="data:image/svg xml,” width=”974″>

Now, check the status of the Bluetooth service as follows:

$ sudo systemctl status Bluetooth

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-29.png" data-lazy- height="127" src="data:image/svg xml,” width=”974″>

The Bluetooth service may not be running.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-30.png" data-lazy- height="216" src="data:image/svg xml,” width=”974″>

The Bluetooth service should be enabled.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-31.png" data-lazy- height="214" src="data:image/svg xml,” width=”974″>

In case the Bluetooth service is not active/running, you can start it with the following command:

$ sudo systemctl start Bluetooth

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-32.png" data-lazy- height="143" src="data:image/svg xml,” width=”816″>

In case the Bluetooth service is not enabled, you can enable it with the following command:

$ sudo systemctl enable Bluetooth

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-33.png" data-lazy- height="135" src="data:image/svg xml,” width=”822″>

Once Bluedevil is installed and the Bluetooth service is active, you can click on the Bluetooth icon ( ) from the KDE panel to bring up the Bluetooth applet.

You can manage your Bluetooth devices from here.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-34.png" data-lazy- height="768" src="data:image/svg xml,” width=”856″>

You can also right-click (RMB) on the Bluetooth icon ( )  from the KDE panel and click on Configure Bluetooth… as marked in the screenshot below to bring up the Bluetooth System Settings window.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-35.png" data-lazy- height="193" src="data:image/svg xml,” width=”675″>

From this window, you can manage your Bluetooth devices from here as well.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-36.png" data-lazy- height="725" src="data:image/svg xml,” width=”974″>

To learn how to connect to Bluetooth devices with Bluedevil, read the Connecting to a Bluetooth Device using Bluedevil section of the article How to Connect to a Bluetooth Device on Arch Linux.

Using Blueman to Connect to Bluetooth Devices

Blueman is a third-party Bluetooth manager. If you want, you can also use it to manage your Bluetooth devices.

You can install Blueman on Debian 10 with the following command:

$ sudo apt install Blueman

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-37.png" data-lazy- height="145" src="data:image/svg xml,” width=”647″>

To confirm the installation, press Y and then press .

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-38.png" data-lazy- height="408" src="data:image/svg xml,” width=”974″>

Blueman is being installed. It may take a while to complete.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-39.png" data-lazy- height="664" src="data:image/svg xml,” width=”974″>

At this point, Blueman should be installed.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-40.png" data-lazy- height="664" src="data:image/svg xml,” width=”974″>

Once Blueman is installed, you can start it from the Application Menu of your computer.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-41.png" data-lazy- height="222" src="data:image/svg xml,” width=”974″>

The Blueman app should start. You can manage your Bluetooth devices from here.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/06/echo/Configure-Bluetooth-Debian-42.png" data-lazy- height="664" src="data:image/svg xml,” width=”829″>

To learn how to connect to Bluetooth devices with Blueman, read the Blueman for Connecting to a Bluetooth Device section of the article How to Connect to a Bluetooth Device on Arch Linux.

Conclusion

In this article, I have shown you how to install Bluetooth drivers on Debian and configure it. I have also shown you how to set up the GNOME 3 desktop environment and the KDE desktop environment for using Bluetooth. I have shown you how to install a third-party Bluetooth manager Blueman on Debian as well.

References

[1] Bluetooth – ArchWiki