This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

can't find bt0

Hello, I follow this page to start the rpi2 for 6lowpan.

when I tried to run RADVD Daemon as follow:

Set IPv6 forwarding (must be present).

sudo echo 1 > /proc/sys/net/ipv6/conf/all/forwarding

Run radvd daemon.

sudo service radvd restart

error: failed for bt0: No such device. But I can find the adapter on the GUI and can detect the bluetooth rpi0 by other devices

Parents
  • Ok. So you find a BR/EDR device in hciconfig. Can you scan for devices by writing hcitool lescan? If there is no bt0 interface when you write ifconfig, you can try to connect to one of the examples in the IoT SDK. Then it should appear, I haven't experinced RADVD reacting on it not being there before, but it is worth a try. You don't need RADVD to connect, you need RADVD to advertise global prefixes. Just do hcitool lescan-> echo “connect 00:11:22:33:44:55 1“ > /sys/kernel/debug/bluetooth/6lowpan_control -> hcitool con. If you have a connection there should be a bt0 interface in ifconfig. Follow this. If one of the steps doesn't work, please let me know.

Reply
  • Ok. So you find a BR/EDR device in hciconfig. Can you scan for devices by writing hcitool lescan? If there is no bt0 interface when you write ifconfig, you can try to connect to one of the examples in the IoT SDK. Then it should appear, I haven't experinced RADVD reacting on it not being there before, but it is worth a try. You don't need RADVD to connect, you need RADVD to advertise global prefixes. Just do hcitool lescan-> echo “connect 00:11:22:33:44:55 1“ > /sys/kernel/debug/bluetooth/6lowpan_control -> hcitool con. If you have a connection there should be a bt0 interface in ifconfig. Follow this. If one of the steps doesn't work, please let me know.

Children
No Data
Related