Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

Chapter 11. Connecting Bluetooth devices


You can wirelessly connect Bluetooth devices like keyboards, mouse, headsets, and other Bluetooth supported devices to your Red Hat Enterprise Linux system. Bluetooth settings in the GNOME desktop environment provide an interface to discover, pair, and manage your Bluetooth devices.

You can connect Bluetooth devices using the graphical user interface and the bluetoothctl command-line utility.

11.1. Connecting Bluetooth devices with GUI

Connect your Bluetooth devices from the Settings application in the GNOME desktop environment.

Prerequisites

  • The bluetooth.service unit is enabled.

Procedure

  1. On your Red Hat Enterprise Linux, go to Settings > Bluetooth.
  2. Toggle the button at the top-right corner to switch ON the Bluetooth. Your system automatically starts scanning for nearby discoverable devices.
  3. Put the device you want to connect within range of your system into pairing mode.
  4. When your device is discovered, click on it and follow the on-screen instructions to pair.
  5. Optional: Verify the PIN between your Bluetooth device and your system.
  6. Click Confirm.

    Note

    The devices you previously paired might connect automatically when they are turned on and within range.

Verification

  • When your device is connected, click on it. You can verify connection status, device type, physical address, and other information of your device.

11.2. Connecting Bluetooth devices with bluetoothctl

bluetoothctl is a command-line utility to scan for, pair, connect, and manage connections without relying on a graphical user interface.

Prerequisites

  • The bluetooth.service unit is enabled.

Procedure

  1. Enter into the bluetoothctl interactive prompt:

    $ bluetoothctl
    Copy to Clipboard Toggle word wrap
  2. Check the status of Bluetooth on your system:

    [bluetoothctl]# show
    Powered: no
    Discoverable: no
    DiscoverableTimeout: 0x000000b4
    Pairable: no
    Copy to Clipboard Toggle word wrap
    • If bluetoothctl is not powered on, enter:

      [bluetoothctl]# power on
      Copy to Clipboard Toggle word wrap
  3. Set the device you want to connect within range of your system into pairing mode and make your system discoverable and pairable:

    [bluetoothctl]# discoverable on
    Copy to Clipboard Toggle word wrap
    [bluetoothctl]# pairable on
    Copy to Clipboard Toggle word wrap
  4. Start scanning for Bluetooth devices:

    [bluetoothctl]# scan on
    Copy to Clipboard Toggle word wrap

    The list of discovered devices is displayed with their MAC addresses and names (if available).

  5. When you find your device, stop scanning:

    [bluetoothctl]# scan off
    Copy to Clipboard Toggle word wrap
  6. Note the MAC address of the device you want to connect.
  7. Pair the device:

    [bluetoothctl]# pair XX:XX:XX:XX:XX:XX
    Copy to Clipboard Toggle word wrap

    You might be prompted to confirm a pairing code on your system.

  8. Trust the device you paired:

    [bluetoothctl]# trust XX:XX:XX:XX:XX:XX
    Copy to Clipboard Toggle word wrap
  9. Optional: If you want this device to automatically connect in the future, you can set it as the default:

    [bluetoothctl]# default XX:XX:XX:XX:XX:XX
    Copy to Clipboard Toggle word wrap
  10. Quit bluetoothctl when you are done:

    [bluetoothctl]# quit
    Copy to Clipboard Toggle word wrap

Verification

  • Verify the status of device you connected:

    [bluetoothctl]# devices
    Device AA:BB:CC:DD:EE:FF Headphones (Connected: yes)
    Device 11:22:33:44:55:66 Keyboard (Connected: no)
    Copy to Clipboard Toggle word wrap
    [bluetoothctl]# info AA:BB:CC:DD:EE:FF
    <device information>
    Connected: yes
    Copy to Clipboard Toggle word wrap
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2026 Red Hat