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

Thread Border Router networking fail

Hello Nordic Taam:

I follow the WEB steps below

https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_tz_v4.1.0%2Fthread_ot_performance_measurement.html

Software Development Kit > nRF5 SDK for Thread and Zigbee v4.1.0 > Thread > Thread tools > Thread Border Router

nRF52840 DK Version:nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8\examples\thread\ncp\ftd\uart\hex

Raspberry Pi 3 Version:RaspPi_OT_Border_Router_Demo_v4.1.0-1.alpha

Use nRF52840 DK UART connect Raspberry Pi 3 to get the following information

wpan0 => [
"NCP:State" => "associating"
"Daemon:Enabled" => true
"NCP:Version" => "OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr 5 2020 21:51:18"
"Daemon:Version" => "0.08.00d (; Apr 21 2020 19:11:43)"
"Config:NCP:DriverName" => "spinel"
"NCP:HardwareAddress" => [F4CE363EC3C45B0E]
]


pi@raspberrypi:~ $ sudo wpanctl status
wpan0 => [
"NCP:State" => "uninitialized"
"Daemon:Enabled" => true
"NCP:Version" => ""
"Daemon:Version" => "0.08.00d (; Apr 21 2020 19:11:43)"
"Config:NCP:DriverName" => "spinel"
"NCP:HardwareAddress" => [F4CE363EC3C45B0E]
]

If I have the wrong steps or have not completed, please give me some pointers, thank you.

Also, can you teach me how to set up the Thread Border Router successfully on Raspberry Pi 3?

Best Regards

Rick.

Parents
  • Hi,

    The instructions on Thread Border Router is the latest and should be correct. It also looks like you are using the correct versions of the firmware and border router image. 

    I have tested this multiple times before, and have not had any issues with getting the network up and running.

    Are you using a revision 1 DK or later? Did you have the DK connected to the RPi before you booted it? Did you run 'erase all' command on the DK before flashing the NCP FW? You did not run any other commands on the border router prior to the "sudo wpanctl status" command?

    If nothing works, I would suggest that you start over and flash the DK and border router image again to the devices to see if that solves any issues.

    Best regards,
    Jørgen

  • Hi Jørgen:

    How are you today!

    Is there any update?

    Pls kindly help advise how to solve it?

    Best Regards,

    Rick.

  • Hi,

    I do not have this router available, so unfortunately I'm not able to help you with configuration of this. You should contact the manufacturer of the router (Asus) to get help on configuration and details about whether this router can support larger address spaces. I have only been able to get this to work with a router running OpenWRT firmware, but I have not tested on a large number of devices..

    Best regards,
    Jørgen

  • Hi Jørgen,

    Thank you for your reply.

    now i don't have OpenWRT device,

    Could you Support me "RaspPi_Thread_Border_Router_Demo_v0.11.0-1.alpha.img", because it looking can support OpenWRT in Rpi?


    I get the information from the website" https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.threadsdk.v0.11.0%2Fthread_border_router.html "

    Best Regards,

    Rick.

  • Hi,

    I do not think that "RaspPi_Thread_Border_Router_Demo_v0.11.0-1.alpha.img" is setup to work as a router, even though it runs on the OpenWRT firmware. This is a very old version of the border router, and it is not compatible with the latest SDK. I would not recommend using this.

    It would probably be much simpler to get a router that supports this, instead of having to do a lot of setup/hacking to make this work on a Raspberry Pi/Custom router. Unfortunately, we cannot provide any support on this. You will have to get help from some open-source communities if you want to go down that road.

    Best regards,
    Jørgen

  • Hi Jørgen

    Thank you for your reply.

    now I go to contact the manufacturer of the router (Asus) to get help on configuration and details about whether this router can support larger address spaces.
    Thanks.
    Best Regards.
    Rick.

  • Hi Jørgen

    How can I setting enable DHCPv6 service for Rpi and disable autoconfig?

    The Thread Border Router WEB steps description,

    When dealing with the native IPv6 connectivity, make sure you use the DHCPv6 service and not the popular Stateless Address Autoconfiguration (SLAAC) tool. This autoconfig tool will only provide a 64-bit long prefix that is not sufficient to delegate a new 64-bit long prefix for the Thread network.

    nRF52840 DK Version:nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8\examples\thread\ncp\ftd\uart\hex

    Raspberry Pi 3 Version:RaspPi_OT_Border_Router_Demo_v4.1.0-1.alpha

    Best Regards.
    Rick.

Reply
  • Hi Jørgen

    How can I setting enable DHCPv6 service for Rpi and disable autoconfig?

    The Thread Border Router WEB steps description,

    When dealing with the native IPv6 connectivity, make sure you use the DHCPv6 service and not the popular Stateless Address Autoconfiguration (SLAAC) tool. This autoconfig tool will only provide a 64-bit long prefix that is not sufficient to delegate a new 64-bit long prefix for the Thread network.

    nRF52840 DK Version:nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8\examples\thread\ncp\ftd\uart\hex

    Raspberry Pi 3 Version:RaspPi_OT_Border_Router_Demo_v4.1.0-1.alpha

    Best Regards.
    Rick.

Children
  • This must be configured in the router, not in the RPi. See this page about configuring IPv6 in Asus routers.

    Try setting the config to Native, and set "Stateful" Auto Configuration Setting.

    Like I said, I'm not sure if the Asus routers are able to support non-SLAAC setup. This is something you should check with Asus.

  • Hi Jørgen

    Thank you for your reply.

    My ISP support static IPv6 information, So I setting the config to static IPv6, I try setting  "Stateful" and "Stateless" , it not share /62  prefix.

    Best Regards.
    Rick.

     

  • If you have a WAN prefix of 64, you will not be able to make the router set a 56 prefix for the LAN address, the WAN subnet needs to be large in order to provide larger subnets.

    When I have tested this, I was assigned a 48 prefix address from my ISP, and was able to get a 56 subnet to the Border Router.

  • Hi Jørgen

    This is my Router Setting, Pls looking it and check the green block it, this you say WAN prefix of 64?
    So I need ISP support WAN prefix of 48?

  • Yes, you need ISP to provide you with a WAN prefix same or lower than the one you want assigned to the subnet. If you want /56 subnet to border router/LAN prefix, you need at least /56 prefix from ISP.