This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

cannot create bt0 in raspberry pi3

Hello all,

Environment:

  • Rpi with Raspbian Stretch (Release 9.8)
  • Kernel 4.14.8-v7+
  • Architecture armv7l

I have followed the below links to build BLE 6LoWPAN environment on my Rpi3

All commands were working fine until echo "connect <mac address of other device> 1" > /sys/kernel/debug/bluetooth/6lowpan_control. As seen from the websites, after this command execution, there should be bt0 interface created. But it is not visible in ifconfig -a.

Also the 6lowpan_control file is empty. But when I try to connect the other device using the command hcitool con after executing above command, I am able to see the desired connections in the terminal, still no bt0 device available. I have even tried with the command ifconfig bt0 add 2001:db8::1/64 but resulted with the error SIOGIFINDEX: No such device.

How to resolve this problem?

Note: I think I am facing this same issue.

Parents
  • Hi,

    Did you use the Raspbian distro straight from the webpage, or did you compile the kernel with bluetooth_6lowpan module as described in the documentation? The documentation is a bit outdated, and you should not have to do any kernel compilation with later versions, as bluetooth_6lowpan is included by default.

    Also, did you use sudo with the ifconfig command? Did you follow the instructions on this page?

    Best regards,
    Jørgen

  • Hi,

    Thanks for the response.

    Yeah, I have not compiled any new kernel as I came to know that bluetooth_6lowpan module available in downloaded Raspbian distro. I just used the command modprobe bluetooth_6lowpan to load the kernel module.

    Thanks for asking but I am working as a root so I have not used 'sudo'. And I followed all the steps from the mentioned link still unable to see bt0.

    Inserted a error screenshot  that I am facing below:

Reply
  • Hi,

    Thanks for the response.

    Yeah, I have not compiled any new kernel as I came to know that bluetooth_6lowpan module available in downloaded Raspbian distro. I just used the command modprobe bluetooth_6lowpan to load the kernel module.

    Thanks for asking but I am working as a root so I have not used 'sudo'. And I followed all the steps from the mentioned link still unable to see bt0.

    Inserted a error screenshot  that I am facing below:

Children
No Data
Related