I had problem with hciconfig
not returning anything, until I realized that I hadn't enable bluetooth on the host machine. Then I tried all commands that i found on the internet but the problem still exists and here they are:
kali@kali:~$ rfkill list all 0: hci0: Bluetooth * Soft blocked: no * Hard blocked: no 1: phy0: Wireless LAN * Soft blocked: no * Hard blocked: no
kali@kali:~$ sudo hciconfig hci0 up Can't init device hci0: Function not implemented (38)
kali@kali:~$ sudo hciconfig hci0 nameCan't read local name on hci0: Network is down (100)
kali@kali:~$ sudo lshw -class network - *-network * description: Ethernet interface * product: 82545EM Gigabit Ethernet Controller (Copper) * vendor: Intel Corporation * physical id: 1 * bus info: pci@0000:02:01.0 * logical name: eth0 * version: 01 * serial: 00:0c:29:3a:d4:73 * size: 1Gbit/s * capacity: 1Gbit/s * width: 64 bits * clock: 66MHz * capabilities: pm pcix bus_master cap_list rom ethernet physical logical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation * configuration: autonegotiation=on broadcast=yes driver=e1000 driverversion=6.6.9->amd64 duplex=full ip=192.168.96.131 latency=0 link=yes mingnt=255 multicast=yes port=twisted pair speed=1Gbit/s * resources: irq:19 memory:fd5c0000-fd5dffff memory:fdff0000-fdffffff ioport:2000(size=64) memory:fd500000-fd50ffff - *-network * description: Wireless interface * physical id: 7 * bus info: usb@2:1 * logical name: wlan0 * serial: c8:3a:35:df:9a:87 * capabilities: ethernet physical wireless * configuration: broadcast=yes driver=rt2800usb driverversion=6.6.9-amd64 firmware=0.36 ip=192.168.100.24 link=yes multicast=yes wireless=IEEE 802.11
kali@kali:~$ sudo systemctl status bluetooth ● bluetooth.service - Bluetooth service Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: disabled) Active: active (running) since Wed 2024-02-14 14:58:13 EET; 7min ago Docs: man:bluetoothd(8) Main PID: 46361 (bluetoothd) Status: "Running" Tasks: 1 (limit: 9399) Memory: 812.0K (peak: 1.0M) CPU: 100ms CGroup: /system.slice/bluetooth.service └─46361 /usr/libexec/bluetooth/bluetoothd Feb 14 14:58:13 kali systemd[1]: Started bluetooth.service - Bluetooth service. Feb 14 14:58:13 kali bluetoothd[46361]: Starting SDP server Feb 14 14:58:13 kali bluetoothd[46361]: src/plugin.c:plugin_init() System does not support csip plugin Feb 14 14:58:13 kali bluetoothd[46361]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled Feb 14 14:58:13 kali bluetoothd[46361]: src/plugin.c:plugin_init() System does not support micp plugin Feb 14 14:58:13 kali bluetoothd[46361]: src/plugin.c:plugin_init() System does not support vcp plugin Feb 14 14:58:13 kali bluetoothd[46361]: src/plugin.c:plugin_init() System does not support mcp plugin Feb 14 14:58:13 kali bluetoothd[46361]: src/plugin.c:plugin_init() System does not support bass plugin Feb 14 14:58:13 kali bluetoothd[46361]: src/plugin.c:plugin_init() System does not support bap plugin Feb 14 14:58:13 kali bluetoothd[46361]: Bluetooth management interface 1.22 initialized
kali@kali:~$ sudo dmesg | grep Blue [ 16.794990] usb 1-2.1: Product: Virtual Bluetooth Adapter [ 26.140501] Bluetooth: Core ver 2.22 [ 26.140568] Bluetooth: HCI device and connection manager initialized [ 26.140576] Bluetooth: HCI socket layer initialized [ 26.140581] Bluetooth: L2CAP socket layer initialized [ 26.140591] Bluetooth: SCO socket layer initialized [ 26.911586] Bluetooth: hci0: unexpected cc 0x0c12 length: 2 < 3 [ 26.911630] Bluetooth: hci0: Opcode 0x0c12 failed: -38 [ 27.222600] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 27.222613] Bluetooth: BNEP filters: protocol multicast [ 27.222625] Bluetooth: BNEP socket layer initialized [ 389.145110] Bluetooth: hci0: unexpected cc 0x0c12 length: 2 < 3 [ 389.145169] Bluetooth: hci0: Opcode 0x0c12 failed: -38 [ 4003.635747] Bluetooth: hci0: unexpected cc 0x0c12 length: 2 < 3 [ 4003.635804] Bluetooth: hci0: Opcode 0x0c12 failed: -38 [ 5347.241462] Bluetooth: hci0: unexpected cc 0x0c12 length: 2 < 3 [ 5347.241509] Bluetooth: hci0: Opcode 0x0c12 failed: -38
kali@kali:~$ ps aux | grep bluetoothroot 46361 0.0 0.0 13216 6528 ? Ss 14:58 0:00 /usr/libexec/bluetooth/bluetoothd loay 53296 0.0 0.0 6872 2048 pts/0 S+ 15:11 0:00 grep --color=auto bluetooth
kali@kali:~$ sudo lsmod | grep bluetoothbluetooth 1134592 13 btrtl,btmtk,btintel,btbcm,bnep,btusb ecdh_generic 16384 1 bluetooth rfkill 40960 7 rt2x00lib,bluetooth,cfg80211 crc16 12288 2 bluetooth,ext4
kali@kali:~$ modinfo bluetooth filename: /lib/modules/6.6.9-amd64/kernel/net/bluetooth/bluetooth.ko.xz alias: net-pf-31 license: GPL version: 2.22 description: Bluetooth Core ver 2.22 author: Marcel Holtmann <marcel@holtmann.org> srcversion: 7AF85D939E1026BB00472E3 depends: rfkill,crc16,ecdh_generic retpoline: Y intree: Y name: bluetooth vermagic: 6.6.9-amd64 SMP preempt mod_unload modversions sig_id: PKCS#7 signer: Build time autogenerated kernel key sig_key: 7A:B1:8E:5D:DC:80:A8:5E:3E:0F:63:97:DE:AF:7B:38:8D:C4:80:87 sig_hashalgo: sha256 signature: 30:64:02:30:00:E6:46:0D:A1:5F:99:AD:1F:62:AC:54:19:88:1C:4C: A0:CB:43:3D:E6:F8:EF:5C:42:44:7C:12:BE:3E:30:3B:65:2D:6F:04: 04:FD:9D:7F:37:2F:1F:41:B8:06:C2:51:02:30:31:D1:F3:C2:D6:5D: 23:91:79:BF:D3:86:2B:0F:44:5E:73:C1:40:EB:CB:C0:11:3B:74:EA: 6E:CD:1E:C5:E4:FB:D0:F7:81:5B:F8:A2:46:39:46:14:89:12:9D:9C: 50:24 parm: disable_esco:Disable eSCO connection creation (bool) parm: disable_ertm:Disable enhanced retransmission mode (bool) parm: enable_ecred:Enable enhanced credit flow control mode (bool)
kali@kali:~$ uname -a Linux kali 6.6.9-amd64 #1 SMP PREEMPT_DYNAMIC Kali 6.6.9-1kali1 (2024-01-08) x86_64 GNU/Linux
kali@kali:~$ sudo blueman-applet [sudo] password for loay: blueman-applet 17.16.41 WARNING PluginManager:151 __load_plugin: Not loading DhcpClient because its conflict has higher priorityblueman-applet 17.16.41 WARNING PluginManager:151 __load_plugin: Not loading PPPSupport because its conflict has higher priorityblueman-applet 17.16.41 WARNING DiscvManager:119 update_menuitems: warning: Adapter is None(blueman-tray:114269): Gdk-CRITICAL **: 17:16:43.089: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed