蓝牙在 Kali Linux 上不起作用

Agu*_*ina 2 linux bluetooth kali-linux

好吧,我遇到了蓝牙总是关闭的问题。我转到配置-> 蓝牙,每次我尝试将其关闭时,都会在一段时间后返回关闭状态。我试过这个命令:

aptitude install bluetooth

然后跑了

/etc/init.d/bluetooth start

之后我跑了/etc/init.d/bluetooth status,这就是显示:

? 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.
Run Code Online (Sandbox Code Playgroud)

我的电脑是索尼 VAIO SVF15A17CLV。

谢谢!!

编辑:运行 service restart 命令后,你们中的一些人建议我得到以下输出:

? 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.
Run Code Online (Sandbox Code Playgroud)

看起来更好,但它仍然无法正常工作。当我进入蓝牙设置时,它总是关闭。按开始后,它保持如下图所示:

蓝牙设置关闭

PS:我知道这不是硬件问题,因为如果我使用 Windows 10 启动它可以正常工作。

小智 13

我相信我们遇到了同样的问题。我的蓝牙无法打开并保持在关闭位置。这是我为解决此问题所做的工作:

service bluetooth restart
Run Code Online (Sandbox Code Playgroud)

这重新启动了蓝牙服务,我能够打开它并保持打开状态。我还能够看到蓝牙设备并再次连接到我的耳机。