6LoWPAN not working

Hi there!

I downloaded the latest release for 1043ND v4 and I can't seem to get it working for 6LoWPAN

Can anyone please help me?

root@LEDE:/# modprobe bluetooth_6lowpan
bluetooth_6lowpan is already loaded
root@LEDE:/# echo 35 > /sys/kernel/debug/bluetooth/6lowpan_psm
-ash: can't create /sys/kernel/debug/bluetooth/6lowpan_psm: Permission denied
root@LEDE:/# echo 1 > /sys/kernel/debug/bluetooth_enable
-ash: can't create /sys/kernel/debug/bluetooth_enable: Permission denied
root@LEDE:/# echo 35 > /sys/kernel/debug/bluetooth/6lowpan_enable
root@LEDE:/# echo 1 > /sys/kernel/debug/bluetooth/6lowpan_enable
root@LEDE:/# cat /sys/kernel/debug/bluetooth/6lowpan_enable
1
root@LEDE:/# hciconfig hci0 reset
root@LEDE:/# hciconfig
hci0: Type: BR/EDR Bus: USB
BD Address: 00:1A:7D:DA:71:07 ACL MTU: 310:10 SCO MTU: 64:8
UP RUNNING
RX bytes:3177 acl:0 sco:0 events:171 errors:0
TX bytes:1968 acl:0 sco:0 commands:160 errors:0
root@LEDE:/# hcitool lescan
LE Scan ...
00:46:5C:46:3D:11 TCP_Client
root@LEDE:/# echo "connect 00:46:5C:46:3D:11 1" > /sys/kernel/debug/bluetooth/6l
owpan_control
-ash: write error: Connection refused
root@LEDE:/# hcitool lecc 00:46:5C:46:3D:11
Connection handle 18432
root@LEDE:/# hcitool con
Connections:
root@LEDE:/#

Thank you

As I know, you should differentiate OpenWrt and LEDE.

If you flashed Openwrt in your router,
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
echo 35 > /sys/kernel/debug/bluetooth/6lowpan_psm

If you flashed LEDE in your router,
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
echo 1 > /sys/kernel/debug/bluetooth/6lowpan_enable