Monday, October 23, 2017

How to configure 6lbr to make it can do ping6 to a CC26xx/CC13xx node from Raspberry Pi running 6lbr.

The following steps shows you how to configure 6lbr to make it can do ping6 to a CC26xx/CC13xx node from Raspberry Pi running 6lbr.

1. Run "sudo vi /etc/6lbr/6lbr.conf" on Raspberry Pi terminal and use the following bridge mode settings.

RAW_ETH=0
BRIDGE=1
CREATE_BRIDGE=0
DEV_BRIDGE=br0
DEV_TAP=tap0
DEV_ETH=eth0
DEV_ETH_FCS=0

DEV_RADIO=/dev/ttyACM0
BAUDRATE=115200

LOG_LEVEL=3

2. Run "sudo vi /etc/network/interfaces" on Raspberry Pi terminal and Make sure you have the following br0 settings (red lines) added.

auto lo
iface lo inet loopback

auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

#auto wlan1
#allow-hotplug wlan1
#iface wlan1 inet manual
#wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

iface eth0 inet static
address 0.0.0.0

auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_stp off
up echo 0 > /sys/devices/virtual/net/br0/bridge/multicast_snooping
post-up ip link set br0 address 'ip link show eth0 | grep ether | awk '{print $2}''


3. Restart your Raspberry Pi (sudo reboot) and 6lbr (sudo service 6lbr start) to apply those changes.

4. Make sure you enable IP64 on your 6lbr configuration page.


5. Run "sudo route -A inet6 add fd00::/64 gw bbbb::100" to add routing of fd00::/64 to bbbb::100


6. Check IPv6 address of your CC26xx/CC13xx node



7. Run "ping6 fd00::212:4b00:e00:cc0" to ping your CC26xx/CC13xx node and get responses.


5 comments:

  1. hello
    i'm trying to follow these steps but after i do sudo reboot i lose the internet connection to my raspberry pi (knowing that i'm connecting my rpi through Ethernet to my router)

    ReplyDelete
    Replies
    1. I'm running with the same issue. My R-pi 3B+ is stucked and it has lost the internet connection

      Delete
    2. Try to restart your system.

      Delete
  2. Hi,
    I follwoing this tutorial to install 6lbr [https://github.com/cetic/6lbr/wiki/Other-Linux-Software-Configuration].
    I have the issues that I don't see the configuration page. I put in [bbbb::100] in Chromiunm but the page isn't avalible. Did you ever have this issues?

    ReplyDelete