Replies: 4 comments 2 replies
-
Sometimes there will be such a log, which also fails to open OTBR, can you tell me the reason? |
Beta Was this translation helpful? Give feedback.
-
It appears that |
Beta Was this translation helpful? Give feedback.
-
@jwhui Thank you for your answer. |
Beta Was this translation helpful? Give feedback.
-
Is it related to the network card name? The ifconfig log on the Raspberry PI is as follows. eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 otbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 veth2c1f8ff: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 Ubuntu20.04: lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 otbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 wlo1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 |
Beta Was this translation helpful? Give feedback.
-
Listed below are my debugging steps.
(1)Install Border Router by docker
sudo systemctl start docker
(2)Create IPV6 network for Border Router on docker
sudo docker network create --ipv6 --subnet fd11:db8:1::/64 -o com.docker.network.bridge.name=otbr0 otbr
(3)Download a compatible version of the OpenThread border Router docker image
sudo docker pull nrfconnect/otbr:a892bf7
(4)Ensure that packets sent to devices in the Thread network are routed through the OpenThread Border Router container in Docker
sudo ip -6 route add fd11:22::/64 dev otbr0 via fd11:db8:1::2
(5)Run modprobe to load the iptables kernel module
sudo modprobe ip6table_filter
(6)Start the OpenThread border router container
sudo docker run -it --rm --privileged --name otbr --network otbr -p 8080:80 \ --sysctl "net.ipv6.conf.all.disable_ipv6=0 net.ipv4.conf.all.forwarding=1 net.ipv6.conf.all.forwarding=1" \ --volume /dev/ttyACM0:/dev/radio nrfconnect/otbr:a892bf7 --radio-url spinel+hdlc+uart:///dev/radio?uart-baudrate=1000000
log run by the last command.
I don't know why sometimes it succeeds and sometimes it fails. In the web side, the network From thread will also fail. I believe it is because of the error of this last command, because if it is normal, after clicking the From button in the web side, it will be successful.
otbr_log.txt
Beta Was this translation helpful? Give feedback.
All reactions