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

Configure 6lowpan router using Ubuntu 16.04 laptop with nRF52840 dongle.

Having trouble using a Raspberry Pi 3 as BLE/6LowPAN router in the IoT MQTT example project from nrf5_sdk_15.2.0 

I was recommended to use Ubuntu box instead of Raspian(it has not been updated for a long time!??)

Linux kernel version on Ubuntu box is 4.4.0 so it has build-in support for 6lowpan. 

root@toby:/home/plp# modprobe bluetooth_6lowpan

root@toby:/home/plp# service radvd restart

??? These echo works fine..

root@toby:/home/plp# echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
root@toby:/home/plp# echo 1 > /sys/kernel/debug/bluetooth/6lowpan_enable

?? Somehow this echo command is not supported as root. What is the difference!

root@toby:/home/plp# echo "connect 00:3e:e4:87:d3:fb 1" > /sys/kernel/debug/bluetooth/6lowpan_control
bash: echo: write error: Operation not supported
root@toby:/home/plp# sudo echo "connect 00:3e:e4:87:d3:fb 1" > /sys/kernel/debug/bluetooth/6lowpan_control
echo: write error: Operation not supported

In normal mode permission is denied! That was expected

plp@toby:~$ sudo echo 'connect 00:3e:e4:87:d3:fb 1' > /sys/kernel/debug/bluetooth/6lowpan_control
bash: /sys/kernel/debug/bluetooth/6lowpan_control: Permission denied


How can I get command to work: echo "connect 00:3e:e4:87:d3:fb 1" > /sys/kernel/debug/bluetooth/6lowpan_control   ???

What are the HW and SW components that Nordic used to verify this example project?

Have someone tried Ubuntu Core or Ubuntu Mate on Rpi3 to use if as 6lowpan router?

Related