Results 1 to 4 of 4

Thread: No Bluetooth adapter with Raspperry Pi Zero W

  1. #1
    Join Date
    2017-Sep
    Location
    Holland
    Posts
    5

    No Bluetooth adapter with Raspperry Pi Zero W

    Hello,

    I have installed Kali Linux in my Zero W box from the default repository (https://www.offensive-security.com/k...nux-arm-images). I tested all these images for 2019.2 below:

    1. Kali Linux RPi0w Nexmon P4wnp1 Aloa
    2. Kali Linux RPi0w Nexmon
    3. Kali Linux RPi

    Right now I am using option 3, because of its full rich (desktop) feautures. Everything is working fine, except bluetooth. When I perform 'hciconfig', there is no adapter present. Here are some logs:

    PHP Code:
    root@xxx:~/Bluetooth# uname -a
    Linux xxx 4.19.29-Re4son#6 Wed Mar 27 17:20:18 AEDT 2019 armv6l GNU/Linux 
    PHP Code:
    root@xxx:~/# dmesg | grep Blue
    [   49.979503BluetoothCore ver 2.22
    [   49.979691BluetoothHCI device and connection manager initialized
    [   49.979722BluetoothHCI socket layer initialized
    [   49.979742BluetoothL2CAP socket layer initialized
    [   49.979796BluetoothSCO socket layer initialized 
    PHP Code:
    root@xxx:~/Bluetooth# systemctl enable bluetooth && systemctl enable hciuart
    Synchronizing state of bluetooth.service with SysV service script with /lib/systemd/systemd-sysv-install.
    Executing: /lib/systemd/systemd-sysv-install enable bluetooth
    Failed to enable unit
    Unit file hciuart.service does not exist
    Not sure if it wise to use option 3 since this image is quite heavy for the Zero W, but the question is if this image is suitable for the Zero W. Ofcourse I did the commands like 'apt-get update/upgrade/dist-upgrade'.

    I also checked the images at https://re4son-kernel.com/re4son-pi-kernel, so I preferred for the default Kali images. And yes, I used google as my best friend to find out if there are issues with bluetooth, but it didn't bring me far.

    The question is: what I experience with bluetooth, is this normal behaviour with the current image I am using or am I hitting an issue?

    If more information is needed, let me know.

    Thanks,

    Setzer0

  2. #2
    Join Date
    2014-Feb
    Posts
    309
    Code:
    systemctl enable bluetooth
    only enables it next boot, you need to
    Code:
    systemctl start bluetooth
    otherwise it won't start until the next boot.

    Also note that the rpi image itself does not install the bluetooth bits that are needed, so what you're going to want to do if you insist on using the rpi image over the 0w image is, on the 0w (via ssh, or on the desktop in a terminal):

    Code:
    wget https://gitlab.com/kalilinux/build-scripts/kali-arm/raw/master/misc/pi-bluetooth/pi-bluetooth+re4son_2.2_all.deb
    wget https://gitlab.com/kalilinux/build-scripts/kali-arm/raw/master/misc/pi-bluetooth/50-bluetooth-hci-auto-poweron.rules
    
    cp 50-bluetooth-hci-auto-poweron.rules /usr/lib/udev/rules.d/50-bluetooth-hci-auto-poweron.rules
    dpkg --force-all -i /root/pi-bluetooth+re4son_2.2_all.deb
    Then reboot, and you should have bluetooth available (assuming you left the bluetooth service enabled. The hciuart service was dropped a few releases of bluez ago.

    If you decide to go back to the 0w image, just running
    Code:
    systemctl enable bluetooth && systemctl start bluetooth
    should get bluetooth working for you.

  3. #3
    Join Date
    2017-Sep
    Location
    Holland
    Posts
    5
    Thanks for your help. I am sure that I have replied earlier, but it's weird that my post didn't get here.

    I did what you've told me, but it's not working. With the extra option of "systemctl enable hciuart" I get it working. I can use 'hciconfig'. With the default Kali Linux image, my external bluetooth Panda does do work, and that is important for me. Thanks again for your help for solving out the internal bluetooth issue.

  4. #4
    Join Date
    2014-Feb
    Posts
    309
    So are things working now for you, or not working? I'm not quite clear based on your message whether you're all set, or still having issues.

Similar Threads

  1. Raspberry Pi 4 cannot find the Bluetooth adapter
    By benjick in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2021-02-07, 05:57
  2. Help needed with Nethunter external bluetooth adapter
    By yesimxev in forum NetHunter General Questions
    Replies: 10
    Last Post: 2018-12-05, 09:17
  3. Compatible Bluetooth adapter for Kali Nethunter
    By Bugs78 in forum NetHunter General Questions
    Replies: 0
    Last Post: 2017-03-09, 17:40
  4. Bluetooth adapter for Kali?
    By TheSwede86 in forum General Archive
    Replies: 0
    Last Post: 2015-04-15, 14:25
  5. Need Bluetooth Adapter
    By airserpent in forum General Archive
    Replies: 1
    Last Post: 2014-11-10, 14:15

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •