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

Ping External Internet from End-Device nRF52840 DK + Raspberry Pi 3B+ on Thread Border Router

Hi,

I'm working on a structure based on a Raspi 3B+ with nRF52840 willing to connect to an IoT hub and working as a thread border router with 2 other nRF52840 connected on an Ubuntu 16.04 LTS. The main goal being the thread network working with MQTT-SN.

Following the tutorial: https://www.nordicsemi.com/DocLib/Content/SDK_Doc/Thread_SDK/v0-11-0/thread_mqttsn_example?135#thread_mqttsn_example_testing 

I have managed to ping 64:ff9b::808:808 from the End-Device serial console, ping the wpan0 IPs showing on the Raspi, and ping the End-Device IPs from the raspi.

The thing is, I want to bring the tests further and ping other IP addresses, like for example another raspi connected on the same network as my main Raspi (currently being my mobile phone shared network), but I don't know what to write, which IP to ping. (I do not really understand how all of this works, with all the prefixes and everything).

Thanks for the help.

Parents
  • Hello,

    I can recommend playing around with the Thread CLI example. Try to connect it to your network, and use the CLI commands to list all devices, ping different devices, find IP addresses and so on. This description only shows how to use a few of the commands, but openthread's github lists all of the commands, and also shows examples on how to use some of them.

    Note that to connect to the network, you must use the commands to set panid and channel correct before starting the radio (using "thread start"). 

    There are some useful commands:

    ipaddr - lists the ip addresses of the devices in the network.

    child - lists all children of a node.

    router list - lists the ID of all routers

    router table - lists all the routers with some more info.

    router <ID> - even more info.

    I hope that can give you a start of how to get familiar with the network.

    Of course, let me know if you have some specific questions, or if anything is unclear.

    BR,

    Edvin

  • Thanks for replying.
    I know those commands, I was more asking about understanding external internet pinging. I can ping all of my devices, from one to another, but except pinging 64:99fb::0808:0808, I don't know what to do, like how to ping a specific website or something like this. (for example ping another raspberry outside the thread network)

Reply Children
Related