Closed seagullanddog closed 2 years ago
@seagullanddog , it seems like otbr-agent
is not starting properly. Can you provide more of the log to help identify the root cause?
hi @jwhui , when I execute the"./script/bootstrap"commad ,the log shows following: +++ dirname ./script/bootstrap ++ cd ./script/.. ++ [[ ! -n '' ]] ++ grep -s 'BeagleBone Black' /sys/firmware/devicetree/base/model ++ case "${OSTYPE}" in ++ have_or_die lsb_release ++ have lsb_release ++ command -v lsb_release +++ lsb_release -i +++ cut -c17- +++ tr '[:upper:]' '[:lower:]' ++ PLATFORM=ubuntu ++ echo 'Current platform is ubuntu' Current platform is ubuntu ++ with BORDER_ROUTING ++ local value +++ printenv BORDER_ROUTING ++ value= ++ [[ -z '' ]] ++ [[ -f examples/platforms/ubuntu/default ]] +++ . examples/platforms/ubuntu/default ++++ NAT64=1 ++++ DNS64=0 ++++ DHCPV6_PD=0 ++++ NETWORK_MANAGER=0 ++++ BACKBONE_ROUTER=1 ++++ BORDER_ROUTING=1 ++++ WEB_GUI=1 ++++ REST_API=1 +++ eval echo '${BORDER_ROUTING-}' ++++ echo 1 ++ value=1 ++ [[ 1 == 1 ]] ++ with DHCPV6_PD ++ local value +++ printenv DHCPV6_PD ++ value= ++ [[ -z '' ]] ++ [[ -f examples/platforms/ubuntu/default ]] +++ . examples/platforms/ubuntu/default ++++ NAT64=1 ++++ DNS64=0 ++++ DHCPV6_PD=0 ++++ NETWORK_MANAGER=0 ++++ BACKBONE_ROUTER=1 ++++ BORDER_ROUTING=1 ++++ WEB_GUI=1 ++++ REST_API=1 +++ eval echo '${DHCPV6_PD-}' ++++ echo 0 ++ value=0 ++ [[ 0 == 1 ]] ++ with BORDER_ROUTING ++ local value +++ printenv BORDER_ROUTING ++ value= ++ [[ -z '' ]] ++ [[ -f examples/platforms/ubuntu/default ]] +++ . examples/platforms/ubuntu/default ++++ NAT64=1 ++++ DNS64=0 ++++ DHCPV6_PD=0 ++++ NETWORK_MANAGER=0 ++++ BACKBONE_ROUTER=1 ++++ BORDER_ROUTING=1 ++++ WEB_GUI=1 ++++ REST_API=1 +++ eval echo '${BORDER_ROUTING-}' ++++ echo 1 ++ value=1 ++ [[ 1 == 1 ]] ++ with NETWORK_MANAGER ++ local value +++ printenv NETWORK_MANAGER ++ value= ++ [[ -z '' ]] ++ [[ -f examples/platforms/ubuntu/default ]] +++ . examples/platforms/ubuntu/default ++++ NAT64=1 ++++ DNS64=0 ++++ DHCPV6_PD=0 ++++ NETWORK_MANAGER=0 ++++ BACKBONE_ROUTER=1 ++++ BORDER_ROUTING=1 ++++ WEB_GUI=1 ++++ REST_API=1 +++ eval echo '${NETWORK_MANAGER-}' ++++ echo 0 ++ value=0 ++ [[ 0 == 1 ]] ++ STAGE_DIR=/home/haiou/ot-br-posix/stage ++ BUILD_DIR=/home/haiou/ot-br-posix/build ++ [[ -d /home/haiou/ot-br-posix/stage ]] ++ [[ -d /home/haiou/ot-br-posix/build ]] ++ export PATH=/home/haiou/ot-br-posix/stage/usr/bin:/home/haiou/ot-br-posix/stage/usr/sbin:/home/haiou/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin ++ PATH=/home/haiou/ot-br-posix/stage/usr/bin:/home/haiou/ot-br-posix/stage/usr/sbin:/home/haiou/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin +++ basename ./script/bootstrap ++ TASKNAME=bootstrap ++ BEFORE_HOOK=examples/platforms/ubuntu/before_bootstrap ++ AFTER_HOOK=examples/platforms/ubuntu/after_bootstrap ++ [[ ! -f examples/platforms/ubuntu/before_bootstrap ]] ++ BEFORE_HOOK=/dev/null ++ [[ ! -f examples/platforms/ubuntu/after_bootstrap ]] ++ AFTER_HOOK=/dev/null
wget -4 --no-check-certificate https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-1310.80.1.tar.gz --2022-05-26 13:27:56-- https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-1310.80.1.tar.gz 正在解析主机 opensource.apple.com (opensource.apple.com)... 17.253.87.203, 17.253.87.206 正在连接 opensource.apple.com (opensource.apple.com)|17.253.87.203|:443... 已连接。 已发出 HTTP 请求,正在等待回应... 200 OK 长度: 2628286 (2.5M) [application/gzip] 正在保存至: ‘mDNSResponder-1310.80.1.tar.gz.2’
0K .......... .......... .......... .......... .......... 1% 118K 21s 50K .......... .......... .......... .......... .......... 3% 248K 15s 100K .......... .......... .......... .......... .......... 5% 20.3M 10s 150K .......... .......... .......... .......... .......... 7% 247K 10s 200K .......... .......... .......... .......... .......... 9% 9.33M 8s 250K .......... .......... .......... .......... .......... 11% 4.90M 6s 300K .......... .......... .......... .......... .......... 13% 27.2M 5s 350K .......... .......... .......... .......... .......... 15% 2.39M 5s 400K .......... .......... .......... .......... .......... 17% 277K 5s 450K .......... .......... .......... .......... .......... 19% 2.05M 4s 500K .......... .......... .......... .......... .......... 21% 1.20M 4s 550K .......... .......... .......... .......... .......... 23% 1.16M 4s 600K .......... .......... .......... .......... .......... 25% 14.3M 3s 650K .......... .......... .......... .......... .......... 27% 2.47M 3s 700K .......... .......... .......... .......... .......... 29% 600K 3s 750K .......... .......... .......... .......... .......... 31% 5.09M 3s 800K .......... .......... .......... .......... .......... 33% 695K 3s 850K .......... .......... .......... .......... .......... 35% 988K 3s 900K .......... .......... .......... .......... .......... 37% 1.21M 2s 950K .......... .......... .......... .......... .......... 38% 1.38M 2s 1000K .......... .......... .......... .......... .......... 40% 1.32M 2s 1050K .......... .......... .......... .......... .......... 42% 1.78M 2s 1100K .......... .......... .......... .......... .......... 44% 1.96M 2s 1150K .......... .......... .......... .......... .......... 46% 1.84M 2s 1200K .......... .......... .......... .......... .......... 48% 1.89M 2s 1250K .......... .......... .......... .......... .......... 50% 2.38M 2s 1300K .......... .......... .......... .......... .......... 52% 2.15M 1s 1350K .......... .......... .......... .......... .......... 54% 1.93M 1s 1400K .......... .......... .......... .......... .......... 56% 2.06M 1s 1450K .......... .......... .......... .......... .......... 58% 2.80M 1s 1500K .......... .......... .......... .......... .......... 60% 2.17M 1s 1550K .......... .......... .......... .......... .......... 62% 2.95M 1s 1600K .......... .......... .......... .......... .......... 64% 2.78M 1s 1650K .......... .......... .......... .......... .......... 66% 1.59M 1s 1700K .......... .......... .......... .......... .......... 68% 2.07M 1s 1750K .......... .......... .......... .......... .......... 70% 1007K 1s 1800K .......... .......... .......... .......... .......... 72% 804K 1s 1850K .......... .......... .......... .......... .......... 74% 1.18M 1s 1900K .......... .......... .......... .......... .......... 75% 1.11M 1s 1950K .......... .......... .......... .......... .......... 77% 947K 1s 2000K .......... .......... .......... .......... .......... 79% 1.15M 1s 2050K .......... .......... .......... .......... .......... 81% 1.16M 0s 2100K .......... .......... .......... .......... .......... 83% 1.32M 0s 2150K .......... .......... .......... .......... .......... 85% 1.28M 0s 2200K .......... .......... .......... .......... .......... 87% 1.33M 0s 2250K .......... .......... .......... .......... .......... 89% 1.75M 0s 2300K .......... .......... .......... .......... .......... 91% 1.97M 0s 2350K .......... .......... .......... .......... .......... 93% 1.96M 0s 2400K .......... .......... .......... .......... .......... 95% 2.08M 0s 2450K .......... .......... .......... .......... .......... 97% 1.89M 0s 2500K .......... .......... .......... .......... .......... 99% 2.56M 0s 2550K .......... ...... 100% 1.62M=2.4s
2022-05-26 13:27:59 (1.03 MB/s) - 已保存 ‘mDNSResponder-1310.80.1.tar.gz.2’ [2628286/2628286])
when i execute the "INFRA_IF_NAME=eth0 ./script/setup"command , the log shows following: +++ dirname ./script/setup ++ cd ./script/.. ++ [[ ! -n '' ]] ++ grep -s 'BeagleBone Black' /sys/firmware/devicetree/base/model ++ case "${OSTYPE}" in ++ have_or_die lsb_release ++ have lsb_release ++ command -v lsb_release +++ lsb_release -i +++ cut -c17- +++ tr '[:upper:]' '[:lower:]' ++ PLATFORM=ubuntu ++ echo 'Current platform is ubuntu' Current platform is ubuntu ++ with BORDER_ROUTING ++ local value +++ printenv BORDER_ROUTING ++ value= ++ [[ -z '' ]] ++ [[ -f examples/platforms/ubuntu/default ]] +++ . examples/platforms/ubuntu/default ++++ NAT64=1 ++++ DNS64=0 ++++ DHCPV6_PD=0 ++++ NETWORK_MANAGER=0 ++++ BACKBONE_ROUTER=1 ++++ BORDER_ROUTING=1 ++++ WEB_GUI=1 ++++ REST_API=1 +++ eval echo '${BORDER_ROUTING-}' ++++ echo 1 ++ value=1 ++ [[ 1 == 1 ]] ++ with DHCPV6_PD ++ local value +++ printenv DHCPV6_PD ++ value= ++ [[ -z '' ]] ++ [[ -f examples/platforms/ubuntu/default ]] +++ . examples/platforms/ubuntu/default ++++ NAT64=1 ++++ DNS64=0 ++++ DHCPV6_PD=0 ++++ NETWORK_MANAGER=0 ++++ BACKBONE_ROUTER=1 ++++ BORDER_ROUTING=1 ++++ WEB_GUI=1 ++++ REST_API=1 +++ eval echo '${DHCPV6_PD-}' ++++ echo 0 ++ value=0 ++ [[ 0 == 1 ]] ++ with BORDER_ROUTING ++ local value +++ printenv BORDER_ROUTING ++ value= ++ [[ -z '' ]] ++ [[ -f examples/platforms/ubuntu/default ]] +++ . examples/platforms/ubuntu/default ++++ NAT64=1 ++++ DNS64=0 ++++ DHCPV6_PD=0 ++++ NETWORK_MANAGER=0 ++++ BACKBONE_ROUTER=1 ++++ BORDER_ROUTING=1 ++++ WEB_GUI=1 ++++ REST_API=1 +++ eval echo '${BORDER_ROUTING-}' ++++ echo 1 ++ value=1 ++ [[ 1 == 1 ]] ++ with NETWORK_MANAGER ++ local value +++ printenv NETWORK_MANAGER ++ value= ++ [[ -z '' ]] ++ [[ -f examples/platforms/ubuntu/default ]] +++ . examples/platforms/ubuntu/default ++++ NAT64=1 ++++ DNS64=0 ++++ DHCPV6_PD=0 ++++ NETWORK_MANAGER=0 ++++ BACKBONE_ROUTER=1 ++++ BORDER_ROUTING=1 ++++ WEB_GUI=1 ++++ REST_API=1 +++ eval echo '${NETWORK_MANAGER-}' ++++ echo 0 ++ value=0 ++ [[ 0 == 1 ]] ++ STAGE_DIR=/home/haiou/ot-br-posix/stage ++ BUILD_DIR=/home/haiou/ot-br-posix/build ++ [[ -d /home/haiou/ot-br-posix/stage ]] ++ [[ -d /home/haiou/ot-br-posix/build ]] ++ export PATH=/home/haiou/ot-br-posix/stage/usr/bin:/home/haiou/ot-br-posix/stage/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin ++ PATH=/home/haiou/ot-br-posix/stage/usr/bin:/home/haiou/ot-br-posix/stage/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin +++ basename ./script/setup ++ TASKNAME=setup ++ BEFORE_HOOK=examples/platforms/ubuntu/before_setup ++ AFTER_HOOK=examples/platforms/ubuntu/after_setup ++ [[ ! -f examples/platforms/ubuntu/before_setup ]] ++ BEFORE_HOOK=/dev/null ++ [[ ! -f examples/platforms/ubuntu/after_setup ]] ++ AFTER_HOOK=/dev/null
#
#
#
#
. /lib/lsb/init-functions . /lib/init/vars.sh
case "$1" in start)
;;
*) echo "Usage: $0 start|stop" >&2 exit 3 ;; esac
cmake -GNinja /home/haiou/ot-br-posix -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=/usr -DOTBR_DBUS=ON -DOTBR_DNSSD_DISCOVERY_PROXY=ON -DOTBR_SRP_ADVERTISING_PROXY=ON -DOTBR_INFRA_IF_NAME=eth0 -DOTBR_MDNS=mDNSResponder -DOTBR_WEB=ON -DOTBR_BORDER_ROUTING=ON -DOTBR_REST=ON -DOTBR_BACKBONE_ROUTER=ON -- OTBR package name: OpenThread_BorderRouter fatal: unsafe repository ('/home/haiou/ot-br-posix' is owned by someone else) To add an exception for this directory, call:
git config --global --add safe.directory /home/haiou/ot-br-posix -- Version: 0.3.0 -- OpenThread Source Directory: /home/haiou/ot-br-posix/third_party/openthread/repo -- Package Name: OPENTHREAD -- Setting default package version: -- Package Version: -- OpenThread Config File: "openthread-core-posix-config.h" -- Readline: readline CMake Warning (dev) at third_party/openthread/repo/third_party/mbedtls/repo/CMakeLists.txt:39 (project): Policy CMP0048 is not set: project() command manages VERSION variables. Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy command to set the policy and suppress this warning.
The following variable(s) would be set to empty:
PROJECT_VERSION PROJECT_VERSION_MAJOR PROJECT_VERSION_MINOR PROJECT_VERSION_PATCH This warning is for project developers. Use -Wno-dev to suppress it.
CMake Deprecation Warning at third_party/cJSON/repo/CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.
Update the VERSION argument
CMake Warning (dev) at third_party/cJSON/repo/CMakeLists.txt:4 (project): Policy CMP0048 is not set: project() command manages VERSION variables. Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy command to set the policy and suppress this warning.
The following variable(s) would be set to empty:
PROJECT_VERSION
PROJECT_VERSION_MAJOR
PROJECT_VERSION_MINOR
PROJECT_VERSION_PATCH
This warning is for project developers. Use -Wno-dev to suppress it.
-- Checking for module 'libsystemd' -- No package 'libsystemd' found -- Configuring done -- Generating done -- Build files have been written to: /home/haiou/ot-br-posix/build/otbr
up to date, audited 8 packages in 2s
2 moderate severity vulnerabilities
To address issues that do not require attention, run: npm audit fix
To address all issues (including breaking changes), run: npm audit fix --force
Run npm audit
for details.
up to date, audited 8 packages in 2s
2 moderate severity vulnerabilities
To address issues that do not require attention, run: npm audit fix
To address all issues (including breaking changes), run: npm audit fix --force
Run npm audit
for details.
[6/6] Linking CXX executable src/agent/otbr-agent
up to date, audited 8 packages in 2s
2 moderate severity vulnerabilities
To address issues that do not require attention, run: npm audit fix
To address all issues (including breaking changes), run: npm audit fix --force
Run npm audit
for details.
[3/4] Install the project...
-- Install configuration: ""
-- Installing: /usr/sbin/otbr-agent
-- Up-to-date: /usr/sbin/ot-ctl
-- Up-to-date: /etc/dbus-1/system.d/otbr-agent.conf
-- Up-to-date: /lib/systemd/system/otbr-agent.service
-- Up-to-date: /etc/default/otbr-agent
-- Up-to-date: /usr/sbin/otbr-web
-- Up-to-date: /lib/systemd/system/otbr-web.service
-- Up-to-date: /usr/share/otbr-web/frontend/index.html
-- Up-to-date: /usr/share/otbr-web/frontend/join.dialog.html
-- Up-to-date: /usr/share/otbr-web/frontend/res
-- Up-to-date: /usr/share/otbr-web/frontend/res/css
-- Up-to-date: /usr/share/otbr-web/frontend/res/css/styles.css
-- Up-to-date: /usr/share/otbr-web/frontend/res/img
-- Up-to-date: /usr/share/otbr-web/frontend/res/img/icon-info.png
-- Up-to-date: /usr/share/otbr-web/frontend/res/img/openthread_logo.png
-- Up-to-date: /usr/share/otbr-web/frontend/res/img/ios-desktop.png
-- Up-to-date: /usr/share/otbr-web/frontend/res/img/borderrouter.png
-- Up-to-date: /usr/share/otbr-web/frontend/res/img/android-desktop.png
-- Up-to-date: /usr/share/otbr-web/frontend/res/img/favicon.png
-- Up-to-date: /usr/share/otbr-web/frontend/res/js
-- Up-to-date: /usr/share/otbr-web/frontend/res/js/app.js
-- Up-to-date: /usr/share/otbr-web/frontend/res/js/angular-animate.min.js
-- Up-to-date: /usr/share/otbr-web/frontend/res/js/angular-aria.min.js
-- Up-to-date: /usr/share/otbr-web/frontend/res/js/angular-material.min.js
-- Up-to-date: /usr/share/otbr-web/frontend/res/js/angular-messages.min.js
-- Up-to-date: /usr/share/otbr-web/frontend/res/js/angular.min.js
-- Up-to-date: /usr/share/otbr-web/frontend/res/js/d3.min.js
-- Up-to-date: /usr/share/otbr-web/frontend/res/js/material.min.js
-- Up-to-date: /usr/share/otbr-web/frontend/res/css/angular-material.min.css
-- Up-to-date: /usr/share/otbr-web/frontend/res/css/material.min.css
Can you provide the log output from otbr-agent
so we can see why the process might be exiting. In particular, can you provide the output of cat /var/log/syslog | grep otbr-agent
I am sorry , the "otbr-agent" log shows following: May 26 13:29:03 haiou-virtual-machine systemd[1]: otbr-agent.service: Scheduled restart job, restart counter is at 1196. May 26 13:29:04 haiou-virtual-machine otbr-agent[21294]: [NOTE]-AGENT---: Running 0.3.0 May 26 13:29:04 haiou-virtual-machine otbr-agent[21294]: [NOTE]-AGENT---: Thread version: 1.2.0 May 26 13:29:04 haiou-virtual-machine otbr-agent[21294]: [NOTE]-AGENT---: Thread interface: wpan0 May 26 13:29:04 haiou-virtual-machine otbr-agent[21294]: [NOTE]-AGENT---: Backbone interface: eth0 May 26 13:29:04 haiou-virtual-machine otbr-agent[21294]: [NOTE]-AGENT---: Radio URL: spinel+hdlc+uart:///dev/ttyUSB0 May 26 13:29:04 haiou-virtual-machine otbr-agent[21294]: [NOTE]-AGENT---: Radio URL: trel://eth0 May 26 13:29:04 haiou-virtual-machine otbr-agent[21294]: [INFO]-NCP-----: OpenThread log level changed to 4 May 26 13:29:04 haiou-virtual-machine otbr-agent[21294]: 49d.18:57:40.595 [I] Platform------: RCP reset: RESET_SOFTWARE May 26 13:29:04 haiou-virtual-machine otbr-agent[21294]: 49d.18:57:40.624 [N] Platform------: RCP API Version: 4 May 26 13:29:04 haiou-virtual-machine otbr-agent[21294]: 49d.18:57:40.635 [C] Platform------: platformBackboneInit() at backbone.cpp:62: Failure May 26 13:29:04 haiou-virtual-machine systemd[1]: otbr-agent.service: Main process exited, code=exited, status=1/FAILURE May 26 13:29:04 haiou-virtual-machine systemd[1]: otbr-agent.service: Failed with result 'exit-code'. May 26 13:29:09 haiou-virtual-machine systemd[1]: otbr-agent.service: Scheduled restart job, restart counter is at 1197. May 26 13:29:09 haiou-virtual-machine otbr-agent[21303]: [NOTE]-AGENT---: Running 0.3.0 May 26 13:29:09 haiou-virtual-machine otbr-agent[21303]: [NOTE]-AGENT---: Thread version: 1.2.0 May 26 13:29:09 haiou-virtual-machine otbr-agent[21303]: [NOTE]-AGENT---: Thread interface: wpan0 May 26 13:29:09 haiou-virtual-machine otbr-agent[21303]: [NOTE]-AGENT---: Backbone interface: eth0 May 26 13:29:09 haiou-virtual-machine otbr-agent[21303]: [NOTE]-AGENT---: Radio URL: spinel+hdlc+uart:///dev/ttyUSB0 May 26 13:29:09 haiou-virtual-machine otbr-agent[21303]: [NOTE]-AGENT---: Radio URL: trel://eth0 May 26 13:29:09 haiou-virtual-machine otbr-agent[21303]: [INFO]-NCP-----: OpenThread log level changed to 4 May 26 13:29:10 haiou-virtual-machine otbr-agent[21303]: 49d.18:57:46.359 [I] Platform------: RCP reset: RESET_SOFTWARE May 26 13:29:10 haiou-virtual-machine otbr-agent[21303]: 49d.18:57:46.389 [N] Platform------: RCP API Version: 4 May 26 13:29:10 haiou-virtual-machine otbr-agent[21303]: 49d.18:57:46.401 [C] Platform------: platformBackboneInit() at backbone.cpp:62: Failure May 26 13:29:10 haiou-virtual-machine systemd[1]: otbr-agent.service: Main process exited, code=exited, status=1/FAILURE May 26 13:29:10 haiou-virtual-machine systemd[1]: otbr-agent.service: Failed with result 'exit-code'.
The log shows that the backbone interface is not configured properly:
May 26 13:29:04 haiou-virtual-machine otbr-agent[21294]: 49d.18:57:40.635 [C] Platform------: platformBackboneInit() at backbone.cpp:62: Failure
This refers to the following code: https://github.com/openthread/openthread/blob/40484c94687163e60e44e3f23855b49e7dd911df/src/posix/platform/backbone.cpp#L61-L62
Is eth0
a valid network interface on your platform?
thanks jwhui , I have found the problem, my platform is "enp2s1" instead of "eth0"
hi,every one I refer to the link "https://openthread.google.cn/guides/border-router/build" guide to compile ot-br-posix on ubuntu22.04 and no errors are prompted. When I execute the commands "sudo service otbr-agent status" and "sudo service otbr-web status", the following errors appear respectively:
#systemctl start otbr-agent ● otbr-agent.service - OpenThread Border Router Agent Loaded: loaded (/lib/systemd/system/otbr-agent.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Wed 2022-05-25 18:32:58 CST; 3s ago Process: 31049 ExecStartPre=service mdns start (code=exited, status=0/SUCCESS) Process: 31055 ExecStart=/usr/sbin/otbr-agent $OTBR_AGENT_OPTS (code=exited, status=1/FAILURE) Main PID: 31055 (code=exited, status=1/FAILURE) CPU: 12ms # sudo service otbr-agent status ● otbr-web.service - Border Router Web Loaded: loaded (/lib/systemd/system/otbr-web.service; enabled; vendor preset: enabled) Active: active (running) since Wed 2022-05-25 18:02:46 CST; 55min ago Main PID: 27953 (otbr-web) Tasks: 1 (limit: 4588) Memory: 1.3M CPU: 5ms CGroup: /system.slice/otbr-web.service └─27953 /usr/sbin/otbr-web
May 25 18:02:46 haiou-virtual-machine systemd[1]: Started Border Router Web. May 25 18:02:46 haiou-virtual-machine otbr-web[27953]: otbr-web[27953]: [INFO]-WEB-----: Running 0.3.0 May 25 18:02:46 haiou-virtual-machine otbr-web[27953]: otbr-web[27953]: [INFO]-WEB-----: Border router web started on wpan0 May 25 18:02:46 haiou-virtual-machine otbr-web[27953]: otbr-web[27953]: [ERR ]-WEB-----: OpenThread daemon is not running. May 25 18:02:46 haiou-virtual-machine otbr-web[27953]: [INFO]-WEB-----: Running 0.3.0 May 25 18:02:46 haiou-virtual-machine otbr-web[27953]: [INFO]-WEB-----: Border router web started on wpan0 May 25 18:02:46 haiou-virtual-machine otbr-web[27953]: [ERR ]-WEB-----: OpenThread daemon is not running.
note: I'm sure my rcp is fine because I refer to the "https://openthread.google.cn/guides/border-router/docker" guide to run with ducker.Because I have successfully form the thread network.
my hardware: EFR32MG21.
My otbr-agent file is configured as follows: OTBR_AGENT_OPTS="-I wpan0 -B eth0 spinel+hdlc+uart:///dev/ttyUSB0 trel://eth0" OTBR_NO_AUTO_ATTACH=0
thanks a lot