Results 1 to 3 of 3

Thread: Help needed with Nethunter external bluetooth adapter

  1. #1
    Join Date
    2016-Nov
    Posts
    12

    Help needed with Nethunter external bluetooth adapter (and dbus)

    My new bt adapter has just arrived and it works with laptop but I would like to equip OTG on my OnePlus One - the Sena UD100-G03. Tried everything I could find online related to bluetooth.
    Re-flashed latest Kali nightly (2017.11-18-1618), with latest kernel on CM13.1.2.
    Linux version 3.4.112-cyanogenmod-g8fbc62e (root@nhbuild-box) (gcc version 4.7 (GCC) ) #3 SMP PREEMPT Fri Aug 12 19:57:27 CDT 2016
    Updated with apt-get update, dist-upgrade but still not getting it. Has the bluetooth package, bluez, blueman.

    with dbus running, bluetooth service/bluetoothd does not want to start. Seems like a permission issue to use the "external bt accessing" module for me. Couldn't find any solution for weeks now, hope there is a chance to get it working.
    Everything else is working like HID, wlan injection, etc.

    Code:
    [FAIL] bluetooth is not running ... failed!
    root@kali:~# bluetoothd -n
    bluetoothd[30492]: Bluetooth daemon 5.49
    bluetoothd[30492]: Failed to access management interface
    bluetoothd[30492]: Adapter handling initialization failed
    Also a strange thing that dbus struggles to start since the last few updates (not sure when). Takes about 3mins to start and seems like not doing it's job properly.

    Managed to see a dbus-monitor:
    Code:
    root@kali:/# dbus-monitor --system
    signal time=1532327145.748679 sender=org.freedesktop.DBus -> destination=:1.0 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
       string ":1.0"
    signal time=1532327145.754697 sender=org.freedesktop.DBus -> destination=:1.0 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
       string ":1.0"
    method call time=1532327345.837790 sender=:1.1 -> destination=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
    method return time=1532327345.837857 sender=org.freedesktop.DBus -> destination=:1.1 serial=1 reply_serial=1
       string ":1.1"
    signal time=1532327345.837901 sender=org.freedesktop.DBus -> destination=(null destination) serial=5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
       string ":1.1"
       string ""
       string ":1.1"
    signal time=1532327345.837962 sender=org.freedesktop.DBus -> destination=:1.1 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
       string ":1.1"
    method call time=1532327345.838793 sender=:1.1 -> destination=org.freedesktop.DBus serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RequestName
       string "org.bluez"
       uint32 4
    signal time=1532327345.838852 sender=org.freedesktop.DBus -> destination=(null destination) serial=6 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
       string "org.bluez"
       string ""
       string ":1.1"
    signal time=1532327345.838910 sender=org.freedesktop.DBus -> destination=:1.1 serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
       string "org.bluez"
    method return time=1532327345.838947 sender=org.freedesktop.DBus -> destination=:1.1 serial=4 reply_serial=2
       uint32 1
    method call time=1532327345.839649 sender=:1.1 -> destination=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
       string "type='signal',interface='org.freedesktop.DBus.Local',member='Disconnected'"
    method return time=1532327345.839698 sender=org.freedesktop.DBus -> destination=:1.1 serial=5 reply_serial=3
    signal time=1532327345.841698 sender=org.freedesktop.DBus -> destination=:1.1 serial=7 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
       string "org.bluez"
    signal time=1532327345.841757 sender=org.freedesktop.DBus -> destination=(null destination) serial=8 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
       string "org.bluez"
       string ":1.1"
       string ""
    signal time=1532327345.841820 sender=org.freedesktop.DBus -> destination=:1.1 serial=9 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
       string ":1.1"
    signal time=1532327345.841859 sender=org.freedesktop.DBus -> destination=(null destination) serial=10 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
       string ":1.1"
       string ":1.1"
       string ""
    When started it manually, the bluetooth service starts too but still not getting any info from dbus. You can see that in the next reply. I guess bt service starts because there is a not completely started dbus service, so doesn't make any difference.

    I tried many configs for avahi-dbus.conf to let everything through, but whenever I reload and start again, it is still slow, and bluetooth is not working.

    Thanks for reading!
    Last edited by yesimxev; 3 Weeks Ago at 08:13. Reason: Update about dbus

  2. #2
    Join Date
    2016-Dec
    Posts
    147
    service bluetooth start

  3. #3
    Join Date
    2016-Nov
    Posts
    12
    Quote Originally Posted by bigbiz View Post
    service bluetooth start
    Might not be obvious, I did that and doesn't work, except when I get the dbus service reloaded, then the bluetooth service starts. Still doesn't get bluetooth communication though, nor info in the rfkill list.

    Code:
    root@kali:~# service bluetooth start
    [ ok ] Starting bluetooth: bluetoothd.
    root@kali:~# service bluetooth status
    [FAIL] bluetooth is not running ... failed!
    root@kali:~# service dbus force-reload
    [....] Reloading system message bus config...    
    Failed to open connection to "system" message bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
    root@kali:~# service dbus status
    [ ok ] dbus is running.
    root@kali:~# service bluetooth start
    [ ok ] Starting bluetooth: bluetoothd.
    root@kali:~# service bluetooth status
    [ ok ] bluetooth is running.
    root@kali:~# hciconfig -a
    root@kali:~# hciconfig hci0 up
    Can't get device info: No such device
    root@kali:~# service bluetooth status
    [ ok ] bluetooth is running.
    root@kali:~# hciconfig hci0 up
    Can't get device info: No such device
    root@kali:~# rfkill list
    0: phy0: Wireless LAN
    	Soft blocked: no
    	Hard blocked: no

Similar Threads

  1. Airmon-ng on nethunter does not detect external wifi adapter
    By mordax in forum NetHunter General Questions
    Replies: 8
    Last Post: 4 Weeks Ago, 02:01
  2. Compatible Bluetooth adapter for Kali Nethunter
    By Bugs78 in forum NetHunter General Questions
    Replies: 0
    Last Post: 2017-03-09, 17:40
  3. External Bluetooth issue
    By pattap in forum NetHunter General Questions
    Replies: 0
    Last Post: 2017-02-22, 22:01

Posting Permissions

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