Jump to content

How to Fix Bluetooth Connectivity Issues in Ubuntu Linux - Other Helpful Tutorials - InviteHawk - The #1 Trusted Source for Free Tracker Invites

Buy, Sell, Trade, or Find Free Invites for top private trackers like redacted, blutopia, losslessclub, femdomcult, filelist, Chdbits, Uhdbits, empornium, iptorrents, hdbits, gazellegames, animebytes, privatehd, myspleen, torrentleech, morethantv, bibliotik, alpharatio, blady, passthepopcorn, brokenstones, pornbay, cgpeers, cinemageddon, broadcasthenet, learnbits, torrentseeds, beyondhd, cinemaz, u2.dmhy, Karagarga, PTerclub, Nyaa.si, Polishtracker, and many more.

Recommended Posts


  • Member ID:  53,629
  • Followers:  0
  • Topic Count:  3,075
  • Topics Per Day:  1.55
  • Content Count:  3,094
  • Content Per Day:  1.56
  • Reputation:   105
  • Achievement Points:  4,020
  • Days Won:  0
  • Joined:  01/24/2021
  • Status:  Offline
  • Last Seen:  

Although Ubuntu Linux is a stable and robust operating system, sometimes Bluetooth connections with external devices do not work properly.

If you have been using Bluetooth devices on your computer, you might have noticed that you need to reconnect your Bluetooth devices whenever the computer wakes up from sleep or hibernation. And that's just one problem to speak of.

This guide will show you how to fix common Bluetooth connectivity issues on Ubuntu Linux so that you do not have to reconnect Bluetooth devices whenever you want to work on your PC.

Enabling the Bluetooth Service

In Ubuntu Linux, there is a Bluetooth service that runs in the background to ensure that your Bluetooth system works perfectly. Here is how you can check whether the Bluetooth service is running.

sudo systemctl status bluetooth.service

The output above shows that the Bluetooth service is active. But if the Bluetooth status is inactive, for some reason, make sure to enable it so that it starts automatically whenever the system boots. You can do the same using the command below.

sudo systemctl enable bluetooth.service

After enabling the Bluetooth service, start the service again using systemctl.

sudo systemctl start bluetooth.service

Configuring Bluetooth on Ubuntu

On Ubuntu Linux, the /etc/bluetooth/main.conf file stores most of the Bluetooth configurations. There are a few parameters to configure in the file. You can open the configuration file with your favorite text editor. In this guide, we will be using vim.

sudo vim /etc/bluetooth/main.conf

Auto-Enable Bluetooth

Make sure that the AutoEnable configuration at the very bottom of the configuration file is set to true and not commented out. All lines that start with the Pound character (#) are comments. To uncomment a line, you need to delete # from the beginning.

The AutoEnable configuration makes sure that the Bluetooth module is enabled whenever your device restarts. In addition, it allows your Bluetooth adapter to recognize newly connected Bluetooth devices around you.

Enable Reconnect Attempt

You can configure the Bluetooth stack so that it tries to reconnect whenever a Bluetooth device and your computer lose the connection. To do so, just uncomment the line ReconnectAttempts=7 in the configuration file.

Instead of trying to re-connect to devices manually, your Bluetooth service will now try to reconnect to all the Bluetooth devices whose link has been broken.

Enable Fast Connect

Another configuration you should enable is FastConnectable. By setting this value to true you ensure that Bluetooth devices are able to connect to your PC much faster in case of a reboot or hibernation.

The FastConnectable feature only works if you have kernel 4.1 or newer. The major setback with the fast connectable feature is that it consumes more power on your PC.

If you are using vim, press the Esc key after making all the changes. Then, save the changes and quit the file by typing :wq.

Reinstalling the Bluetooth Stack

As a last resort action, you can reinstall Bluez, the official and default Bluetooth software protocol on Ubuntu Linux and most Linux distros. This guide will use APT for installing the software.

sudo apt install bluez

After re-installing the Bluetooth stack, make sure you enable and start the Bluetooth service using the commands below.

sudo systemctl enable bluetooth.service sudo systemctl start bluetooth.service

RELATED:How To Use APT And Say Goodbye To APT-GET In Ubuntu

Adding Bluetooth to Your Linux PC

If you're facing connectivity issues on your Linux machine, you might have to make some changes to the Bluetooth service. More people are now using Bluetooth devices such as keyboards, mice, and headphones on their PC.

If you have a computer that does not have Bluetooth built-in, there are a few workarounds that you can implement to connect Bluetooth devices to your system.


  • Member ID:  48,211
  • Followers:  60
  • Topic Count:  144
  • Topics Per Day:  0.06
  • Content Count:  30,040
  • Content Per Day:  13.21
  • Reputation:   2,202
  • Achievement Points:  38,182
  • Days Won:  11
  • Joined:  04/09/2020
  • Status:  Offline
  • Last Seen:  

Avoid unnecessary posts such as 'Thank you', 'Welcome', etc. Such posts will be deleted and user will be warned if it happens again. If caught spamming, the following actions are applicable -

  • First time - Warning
  • Second time - 5000 Points will be deducted
  • Third time - Ban for 7 days
  • Fourth time - Permanent Ban

If the post helped you, reward the user by reacting to the post like this -

1.jpg

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Read this before posting -
  • Only post if you have something valuable to contribute.
  • Avoid unnecessary posts such as 'Thank you', 'Welcome', etc. Such posts will be deleted and you will be warned if it happens again.
  • If the post helped you, reward the user by reacting to the post like this -                      1.jpg
Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Customer Reviews

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.