QueHow

A How-To and wiki Blog

  • Operating System
    • Windows
      • Windows 10
      • Windows 7
    • Linux
  • Software
    • Application Software
    • Microsoft Office
      • Outlook
      • Word
      • PowerPoint
  • Internet
    • Browsers
      • Mozilla Firefox
      • Google Chrome
    • CMS
    • Tips & Tricks
  • Website
    • ecommerce
    • Google
    • Social Networking
    • General Websites
  • Mobile
  • Email
    • Gmail
  • Wiki

How to Enable and Configure Bluetooth in Ubuntu

By Neha T 1 Comment

Bluetooth gives you control to transfer or share your files via wireless connection through a mobile, computer system, and any other Bluetooth enabled devices. It plays a versatile role in providing a faster and easy connectivity without any wired connection but within a specific range. It supports frequency between 2400 and 2483.5 MHz.

In the Linux based system, Bluez plays a key role to implement the Bluetooth wireless standards specifications, necessary to configure a Bluetooth. It is a stack protocol and must be installed in order to run Bluetooth on your Ubuntu system, mine is Ubuntu 14.04.

Want to enable and configure Bluetooth in Ubuntu system? Usually, the Bluetooth is disabled in a system, to make it effective for use, you should perform the following steps as listed below.

Steps to Enable and Configure Bluetooth in Ubuntu

Install Bluez and configure Bluetooth:

Step 1: Firstly install Bluez, which is a bluetooth stack protocol and for that, type “sudo apt-get install bluez”. Then press enter.

how-to-enable-bluetooth-in-ubuntu-step1

Step 2: In the figure, you may observe that the bluez is installed in the system.

how-to-enable-bluetooth-in-ubuntu-step2

Step 3: To check the version of “bluez” installed on your system, run: dpkg –status bluez | grep ‘^Version:’

how-to-enable-bluetooth-in-ubuntu-step3

Step 4: Now, in order to restart your networking devices, type : “sudo /etc/init.d/networking restart”, and press enter. Then you should provide the sudo password, in case you are not a root user.

The /etc/init.d contains the shell scripts that get initiated after kernel completes its initialization process, the init is the first which get invoked after it. These scripts are mainly responsible to start, restart, stop and reload the commands.

how-to-enable-bluetooth-in-ubuntu-step4

Step 5: In order to enable the Bluetooth service using ‘init’ daemon type: “sudo /etc/init.d/bluetooth start”.

how-to-enable-bluetooth-in-ubuntu-step5

Step 6: Now you can see that the Bluetooth is enabled on your system.

Type Bluetooth in the search bar and you’ll find its icon at the top of the screen.

how-to-enable-bluetooth-in-ubuntu-step6

Setup a connection and Share files with Bluetooth device using the Terminal:

Step 1: To know the adapter number of your device write “hciconfig”. The ‘hciconfig’ command is used to configure the Bluetooth devices.

Step 2: Now, to get the Mac address of the device pass the command “hcitool scan”, so as to detect the Bluetooth connections.

Step 3: In order to connect to a device use: “bluez-simple-agent hci# xx:xx:xx:xx:xx:xx”, in place of # put the adapter number, and xx:xx:xx:xx:xx:xx, the MAC address.

To Permanently unblock/block the Bluetooth:

Probably you people may agree with my perspective, that if the Bluetooth is not in use, then the power should not be wasted. Therefore, the following command is included in this tutorial, so that you would not see Bluetooth enabled on your system, every time when you log-in.

1. sudo gedit /etc/rc.local

rc.local is a text file that usually contains scripts related to startup instructions for various programs, it could be for the entire operating system.

2. Add a line “rfkill unblock bluetooth” at last to disable it.

Rfkill is preferably used to block/unblock the wireless devices. It stores the current state of radio frequency devices and tweaks with it according to the instructions given by the user.

You Might Also Like:

how-to-install-and-configure-apache-web-servers-in-ubuntuHow to Install and Configure Apache Web Server in Ubuntu How to Configure Sudo wait time in Ubuntu 14.04 how-to-install-and-configure-ssh-in-ubuntuHow to Install and Configure SSH (Secure SHell) in Ubuntu How to install and configure built In firewall in Ubuntu 14.04 How to install and configure uTorrent server in Ubuntu 14.04 how-to-install-and-configure-wine-in-ubuntuHow to Install and Configure Wine on Ubuntu How to configure ufw firewall in Ubuntu 14.04 How to install PHP and Apache Server in Ubuntu 14.04

Comments

  1. Lole says

    February 12, 2020 at 4:01 am

    Thanks for your information it really helps me

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Most Viewed

  • How to Install and Use TELNET in Ubuntu
  • How to install Hindi fonts in MS Word
  • How to Change a File Extension in Windows 10?
  • How to create a flipkart account in 3 simple steps
  • How to Change Monitor Refresh Rate in Windows 10?
  • How to install IIS on Windows 10
  • How to Insert Clickable Checkbox in MS Word 2016?
  • How to Set Auto Reply in Outlook 2016?
  • How to Login as Administrator in Windows 10?
  • How to Check RAM Size and System Type in Windows 10?

Recent Additions

  • How to Add Hyperlink to Another Sheet in Excel?
  • How to Add and Remove Watermark in Excel
  • How to use Relative and Absolute Cell Reference in Excel?
  • How to Enable and Disable Scroll Lock in Excel?
  • How to Use INDEX and MATCH Functions in Excel?
  • How to Make Bar Graph in Excel?
  • How to Count Duplicate Values in Excel?
  • How to Wrap Text in Excel?
  • How to Round off Numbers in Excel?
  • How to Create a Bell Curve in Excel?

Related Searches

  • How to View Module Positions in Joomla 3.x
  • How to Sync Bookmark in Google Chrome?
  • How to Display your Password while using Terminal in Ubuntu 14.04
  • How to add multiple accounts in gmail
  • How to Hide the Taskbar in Windows 10?

Copyright © 2023 · QueHow · Contact Us