PDA

View Full Version : Issue with bluetooth using virtual box



SuperPi
2022-04-03, 22:41
I am trying to use a 64x kali linux 2021.3 on virtual box and set up bluetooth. sudo systemctl status bluetooth says it is active and running, and hciconfig says there is an hci0 that is down. However hci0 up gives the error "Can't init device hci0: Input/output error (5) and I have not been able to find any information on this error.

Philip77
2022-04-28, 21:12
I have been trying to use bluetooth but is says Active: Failed!. I have recently installed Kali in a virtual machine.

The following is what i get:
$ systemctl status bluetooth.service
? bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2022-04-28 16:43:58 EDT; 5min ago
Docs: man:bluetoothd(8)
Process: 9516 ExecStart=/usr/libexec/bluetooth/bluetoothd (code=exited, status=226/NAMESPACE)
Main PID: 9516 (code=exited, status=226/NAMESPACE)
CPU: 19ms

Apr 28 16:43:58 kali systemd[1]: Starting Bluetooth service...
Apr 28 16:43:58 kali systemd[9516]: bluetooth.service: Failed to set up mount namespacing: /run/systemd/unit-root/var/lib/bluetooth: No such file or directory
Apr 28 16:43:58 kali systemd[9516]: bluetooth.service: Failed at step NAMESPACE spawning /usr/libexec/bluetooth/bluetoothd: No such file or directory
Apr 28 16:43:58 kali systemd[1]: bluetooth.service: Main process exited, code=exited, status=226/NAMESPACE
Apr 28 16:43:58 kali systemd[1]: bluetooth.service: Failed with result 'exit-code'.
Apr 28 16:43:58 kali systemd[1]: Failed to start Bluetooth service.


I have reinstalled bluez and bluetooth etc.. a lot of times but still the same.