Cascoda provides an example Thread Border router platform for testing & development purposes. The software runs on a Raspberry Pi, using a Chili2S Pi Hat for communication.
Note: The Pi may lose connectivity during the setup process, so ideally don’t run this script over SSH - run it directly instead. A program such as tmux can be used to work around this.
After installing the border router and rebooting the Pi, a new Thread network can be formed by navigating to the OpenThread Web GUI. The URL of the Web GUI is printed during the final stage of the setup script. (It’s hosted on port 80 of the Raspberry Pi)
Nodes can be commissioned onto the network by following the Thread Commissioning Guide.
If your local network doesn’t already support IPv6, then you can enable the Raspberry Pi becoming the local IPv6 Router by
editing /etc/radvd.conf
and un-commenting the commented lines in the eth0 interface. The IPv6 prefixes are randomly
generated at install time, so yours will be different.
interface eth0
{
AdvSendAdvert on;
# prefix fdbe:7313:14d7:3::/64
# {
# AdvOnLink on;
# AdvAutonomous on;
# };
route fdbe:7313:14d7::/48
{
AdvRoutePreference high;
};
};