2

Well I had the problem that bluetooth was always off. I go to configuration->Bluetooth and everytime I tried to put it off just returnes to off a while after. I tried with this command:

aptitude install bluetooth

and then run

/etc/init.d/bluetooth start

after that I runed /etc/init.d/bluetooth status and this is what shows:

● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; disabled; vendor preset: disabled)
   Active: active (running) since Tue 2017-01-17 21:13:47 UTC; 29s ago
     Docs: man:bluetoothd(8)
 Main PID: 7939 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bluetooth.service
           └─7939 /usr/lib/bluetooth/bluetoothd

Jan 17 21:13:47 kali bluetoothd[7939]: Error adding Link Loss service
Jan 17 21:13:47 kali bluetoothd[7939]: Not enough free handles to register ...ce
Jan 17 21:13:47 kali bluetoothd[7939]: Not enough free handles to register ...ce
Jan 17 21:13:47 kali bluetoothd[7939]: Not enough free handles to register ...ce
Jan 17 21:13:47 kali bluetoothd[7939]: Current Time Service could not be re...ed
Jan 17 21:13:47 kali bluetoothd[7939]: gatt-time-server: Input/output error (5)
Jan 17 21:13:47 kali bluetoothd[7939]: Not enough free handles to register ...ce
Jan 17 21:13:47 kali bluetoothd[7939]: Not enough free handles to register ...ce
Jan 17 21:13:47 kali bluetoothd[7939]: Sap driver initialization failed.
Jan 17 21:13:47 kali bluetoothd[7939]: sap-server: Operation not permitted (1)
Hint: Some lines were ellipsized, use -l to show in full.

My computer is a sony VAIO SVF15A17CLV.

Thank you!!

Edited: After running the service restart command some of you suggested I got the following output:

● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; disabled; vendor preset: disabled)
   Active: active (running) since Thu 2018-05-03 23:44:12 UTC; 5min ago
     Docs: man:bluetoothd(8)
 Main PID: 3882 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bluetooth.service
           └─3882 /usr/lib/bluetooth/bluetoothd

May 03 23:44:12 kali systemd[1]: Starting Bluetooth service...
May 03 23:44:12 kali bluetoothd[3882]: Bluetooth daemon 5.36
May 03 23:44:12 kali systemd[1]: Started Bluetooth service.
May 03 23:44:12 kali bluetoothd[3882]: Starting SDP server
May 03 23:44:12 kali bluetoothd[3882]: Bluetooth management interface 1.12 ...ed
Hint: Some lines were ellipsized, use -l to show in full.

Seems better but it is still not working. When I go to bluetooth settings its always off. After I press start it stays like the following image:

image

PS: I know is not a hardware issue because if I boot with windows 10 it works properly.

9

I believe we were having the same problem. My Bluetooth would not turn on and would remain in the off position. Here is what I did to fix this problem:

service bluetooth restart

This restarted the Bluetooth service and I was able to turn it on and it stay on. I was also able to see Bluetooth devices and connect to my headphones again.

| improve this answer | |
  • I runned the command you said but it's still not working properly. Although the messages now seem to be better than before. I'll update the question with the new info. – Agustin Barrachina May 4 '18 at 2:53
2

I had the same problem a few minutes ago, until I restarted the Bluetooth service from the terminal as a root user. I fix it by by typing on the terminal:

sudo service bluetooth restart

On systemd systems:

sudo systemctl restart bluetooth

Then go back to settings and under bluetooth menu, you will have the available devices.

| improve this answer | |
2

This link may help you. I tried and my bluetooth was on after restart too..

https://techrevelations.de/2018/07/15/fix-bluetooth-kali-linux/

| improve this answer | |
1

I've made a little newbie script to get Bluetooth on your device automated.

  • Open Leafpad and copy&paste this text and save as bt without extension e.g., .sh or anything else into the folder /bin.

  • Go to the folder /bin/ and look for bt.  Right-click the file, choose propereties, and make the file executable.

  • Then open terminal @root and type bt.

and you're good to go.

#!/bin/bash   


if [ $(id -u) != "0" ]; then
    echo
    echo -e "!! You need to be logged in as \e[101m"!!Superuser!!"\e[0m" "\e[39m to run this script !!" >&2 "\e[0m" 
    echo
exit 1
fi
read -p "Are you sure you want to start Bluetooth y/n ? " -n 1 -r
    echo    
    if [[ ! $REPLY =~ ^[Yy]$ ]]
    then
    [[ "$0" = "$BASH_SOURCE" ]] && exit 1 || return 1
fi
    echo
    echo -n
    read -t 1
    echo -n -e "\e[39m"!! Starting "\e[34m \e[5m"Bluetooth "\e[25m \e[39m"Manager !!"\e[0m"
    echo
    read -t 1
    echo
    echo -n -e "!! Take the \e[34m"Blue "\e[39m"pill and Enjoy the Ride !! "\e[0m"
    echo
    read -t 1
    echo -n "!! working on it !! "
    echo
    read -t 1
    echo
    echo -n "!! Loading Update !! "
    echo
    read -t 1
    echo
    sudo apt-get update
    echo
    echo -n -e "\e[31m"!! "\e[39m"installing missing drivers  "\e[31m"!! "\e[0m"
    echo
    read -t 2
    echo
    sudo apt-get install bluetooth
    echo
    echo -n -e "unblocking bluetooth using \e[101m"Rfkill"\e[0m" unblock all"\e[0m"
    echo
    read -t 2
    echo
    sudo rfkill unblock all
    sudo /etc/init.d/bluetooth start
    echo
    echo -n -e "\e[31m"!! "\e[32m"You re good to "\e[34m \e[5m"Go "\e[25m \e[31m"!! "\e[0m"
    echo
    read -t 1
    echo
exit 1
fi
| improve this answer | |
  • i dont know how that works ,, – Virtual Insanity Dec 29 '18 at 0:02
  • well i was just about to post it with the code blocks thx annyways ;) – Virtual Insanity Dec 29 '18 at 0:13
  • looks fantastic well i didnt see that @ first lol i never posted annything on anny forum like a code li was already saying damn why is my text so big , :) – Virtual Insanity Dec 29 '18 at 0:16
1

For me, starting the service worked.

/etc/init.d/bluetooth start

I was able to find the bluetooth device and connect.
Then I had tried to enable it using

bluetooth manager / bluetooth adapter - no go
service was not running for me. 
| improve this answer | |
1

I did the following to fix the issue.

I started with a service restart:

 $ sudo service bluetooth restart

Then system control restart:

 $ sudo systemctl restart bluetooth

Went to the bin directory:

 $ cd //bin

Then ran the service file as an exec found in bin

 $ sudo ./bluetoothctl

With bluetoothctl, use terminal commands in blutoothctl to scan (by turning it on)

 $ scan on

Then connect the device (use the digit ID of the device without the name, copy and paste is quick):

 $ connect 00:00:00:00:00

*Note, double check rfkill and make sure it is unblocked. If blocked the following (assuming bluetooth ID is listed as device 0) will unblock it:

 $ sudo rfkill unblock 0
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.