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

RPi3: 6lowpan_control "Permission denied"

I am trying to use one of the example from NRF5 IoT SDK with RPi3 (kernel 4.9.41-v7+) but keep getting "permission denied" when execute command below:

echo "connect 00:5A:FD:06:8D:8E 1" > /sys/kernel/debug/bluetooth/6lowpan_control

Actual error I got:

bash: /sys/kernel/debug/bluetooth/6lowpan_control: Permission denied

I read and follow steps suggested using links below but pretty much stuck.

  1. devzone.nordicsemi.com/.../

  2. developer.nordicsemi.com/.../a00089.html

Parents
  • There is a typo in the last command, 6lowpan_contol instead of 6lowpan_control

    Could you try executing the commands in this order

    modprobe  bluetooth_6lowpan
    echo 1 > /sys/kernel/debug/bluetooth/6lowpan_enable
    
    # Enabling IPv6 Forwarding
    echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
    
    # Restart radvd service
    sudo service radvd restart
    
    echo "connect 00:6B:FD:06:8D:8E 1" > /sys/kernel/debug/bluetooth/6lowpan_control
    
Reply
  • There is a typo in the last command, 6lowpan_contol instead of 6lowpan_control

    Could you try executing the commands in this order

    modprobe  bluetooth_6lowpan
    echo 1 > /sys/kernel/debug/bluetooth/6lowpan_enable
    
    # Enabling IPv6 Forwarding
    echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
    
    # Restart radvd service
    sudo service radvd restart
    
    echo "connect 00:6B:FD:06:8D:8E 1" > /sys/kernel/debug/bluetooth/6lowpan_control
    
Children
Related