Replies: 3 comments 1 reply
-
The more concerning error is in Please check if your target backbone network interface (i.e. the The |
Beta Was this translation helpful? Give feedback.
-
The -B option i.e wlan0 is connected to the internet. However I don't see the wpan interface in the ifconfig list. If you guide me on setting up the wpan interface then it would be great. |
Beta Was this translation helpful? Give feedback.
-
Have you checked the this section https://openthread.io/codelabs/openthread-border-router#2? After creating a network you should be able to see the wpan interface. |
Beta Was this translation helpful? Give feedback.
-
Hi guys,
I am running linux yocto kirkstone on my target arm64 device. I have added the ot-br-posix agent from the yocto layer meta-openembedded/meta-oe/recipes-connectivity/openthread/. When I run the service I notice the error below
root@se-704a0efeee5e:~# systemctl status otbr-agent
�● otbr-agent.service - OpenThread Border Router Agent
Loaded: loaded (8;;file://se-704a0efeee5e/lib/systemd/system/otbr-agent.service/lib/systemd/system/otbr-agent.service8;;; enabled; vendor preset: enabled)
Active: active (running) since Mon 2025-02-17 14:14:23 UTC; 3s ago
Main PID: 1974 (otbr-agent)
Memory: 872.0K
CGroup: /system.slice/otbr-agent.service
�└�─ 1974 /usr/sbin/otbr-agent -I wpan0 -B wlan0 spinel+hdlc+uart:///dev/ttyACM0 trel://wlan0
Feb 17 14:14:23 se-704a0efeee5e systemd[1]: Started OpenThread Border Router Agent.
Feb 17 14:14:23 se-704a0efeee5e otbr-agent[1999]: ipset v7.15: Kernel error received: Invalid argument
root@se-704a0efeee5e:~# sudo ot-ctl state
disabled
Done
I have connected the thread MGM24 dev board through the USB port of my device. I tried to run the logs and got the below error
root@se-704a0efeee5e:~# /usr/sbin/otbr-agent spinel+hdlc+uart:///dev/ttyACM0?uart-baudrate=115200 -v --debug-level 7
otbr-agent[2101]: [NOTE]-AGENT---: Running 0.3.0-thread-reference-20230710-543-ge2f3c1fe8f1-dirty
otbr-agent[2101]: [NOTE]-AGENT---: Thread version: 1.4.0
otbr-agent[2101]: [NOTE]-AGENT---: Thread interface: wpan0
otbr-agent[2101]: [NOTE]-AGENT---: Backbone interface is not specified
otbr-agent[2101]: [NOTE]-AGENT---: Radio URL: spinel+hdlc+uart:///dev/ttyACM0?uart-baudrate=115200
otbr-agent[2101]: [NOTE]-ILS-----: Infra link selected:
otbr-agent[2101]: [INFO]-RCP_HOS-: OpenThread log level changed to 5
otbr-agent[2101]: 49d.17:07:02.759 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:0, cmd:RESET
otbr-agent[2101]: 49d.17:07:02.759 [D] P-SpinelDrive-: Waiting response: key=0
otbr-agent[2101]: 49d.17:07:02.763 [D] P-SpinelDrive-: Received spinel frame, flg:0x2, iid:0, tid:0, cmd:PROP_VALUE_IS, key:LAST_STATUS, status:RESET_POWER_ON
otbr-agent[2101]: 49d.17:07:02.763 [I] P-SpinelDrive-: co-processor reset: RESET_POWER_ON
otbr-agent[2101]: 49d.17:07:02.764 [C] P-SpinelDrive-: Software reset co-processor successfully
otbr-agent[2101]: 49d.17:07:02.764 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:1, cmd:PROP_VALUE_GET, key:PROTOCOL_VERSION
otbr-agent[2101]: 49d.17:07:02.764 [D] P-SpinelDrive-: Waiting response: key=1
otbr-agent[2101]: 49d.17:07:02.768 [D] P-SpinelDrive-: Received spinel frame, flg:0x2, iid:0, tid:1, cmd:PROP_VALUE_IS, key:PROTOCOL_VERSION, major:4, minor:3
otbr-agent[2101]: 49d.17:07:02.768 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:1, cmd:PROP_VALUE_GET, key:NCP_VERSION
otbr-agent[2101]: 49d.17:07:02.768 [D] P-SpinelDrive-: Waiting response: key=2
otbr-agent[2101]: 49d.17:07:02.777 [D] P-SpinelDrive-: Received spinel frame, flg:0x2, iid:0, tid:1, cmd:PROP_VALUE_IS, key:NCP_VERSION, version:SL-OPENTHREAD/2.6.0.0_GitHub-7f6723ffb; EFR32; Dec4
otbr-agent[2101]: 49d.17:07:02.777 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:1, cmd:PROP_VALUE_GET, key:CAPS
otbr-agent[2101]: 49d.17:07:02.778 [D] P-SpinelDrive-: Waiting response: key=5
otbr-agent[2101]: 49d.17:07:02.783 [D] P-SpinelDrive-: Received spinel frame, flg:0x2, iid:0, tid:1, cmd:PROP_VALUE_IS, key:CAPS, caps:COUNTERS UNSOL_UPDATE_FILTER 802_15_4_2450MHZ_OQPSK CONFIG_R
otbr-agent[2101]: [INFO]-BA------: Ephemeral Key is: enabled during initialization
otbr-agent[2101]: 49d.17:07:02.784 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:1, cmd:PROP_VALUE_GET, key:HWADDR
otbr-agent[2101]: 49d.17:07:02.784 [D] P-RadioSpinel-: Wait response: tid=1 key=8
otbr-agent[2101]: 49d.17:07:02.789 [D] P-SpinelDrive-: Received spinel frame, flg:0x2, iid:0, tid:1, cmd:PROP_VALUE_IS, key:HWADDR, eui64:588e81fffe630b0d
otbr-agent[2101]: 49d.17:07:02.789 [D] P-RadioSpinel-: RCP supports crash dump logging. Requesting crash dump.
otbr-agent[2101]: 49d.17:07:02.789 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:2, cmd:PROP_VALUE_SET, key:RCP_LOG_CRASH_DUMP, log-crash-dump
otbr-agent[2101]: 49d.17:07:02.790 [D] P-RadioSpinel-: Wait response: tid=2 key=178
otbr-agent[2101]: 49d.17:07:02.795 [D] P-SpinelDrive-: Received spinel frame, flg:0x2, iid:0, tid:2, cmd:PROP_VALUE_IS, key:LAST_STATUS, status:OK
otbr-agent[2101]: 49d.17:07:02.795 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:3, cmd:PROP_VALUE_GET, key:RCP_API_VERSION
otbr-agent[2101]: 49d.17:07:02.795 [D] P-RadioSpinel-: Wait response: tid=3 key=176
otbr-agent[2101]: 49d.17:07:02.799 [D] P-SpinelDrive-: Received spinel frame, flg:0x2, iid:0, tid:0, cmd:PROP_VALUE_IS, key:STREAM_LOG, level:2, log:[C] Platform------: Reset info: 0x4 (PWR)
otbr-agent[2101]: 49d.17:07:02.799 [C] P-RadioSpinel-: RCP => [C] Platform------: Reset info: 0x4 (PWR)
otbr-agent[2101]: 49d.17:07:02.805 [D] P-SpinelDrive-: Received spinel frame, flg:0x2, iid:0, tid:0, cmd:PROP_VALUE_IS, key:STREAM_LOG, level:2, log:[C] Platform------: Extended Reset info: 0x401)
otbr-agent[2101]: 49d.17:07:02.805 [C] P-RadioSpinel-: RCP => [C] Platform------: Extended Reset info: 0x401 (HV )
otbr-agent[2101]: 49d.17:07:02.807 [D] P-SpinelDrive-: Received spinel frame, flg:0x2, iid:0, tid:3, cmd:PROP_VALUE_IS, key:RCP_API_VERSION, version:11
otbr-agent[2101]: 49d.17:07:02.807 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:4, cmd:PROP_VALUE_GET, key:RCP_MIN_HOST_API_VERSION
otbr-agent[2101]: 49d.17:07:02.807 [D] P-RadioSpinel-: Wait response: tid=4 key=177
otbr-agent[2101]: 49d.17:07:02.811 [D] P-SpinelDrive-: Received spinel frame, flg:0x2, iid:0, tid:4, cmd:PROP_VALUE_IS, key:RCP_MIN_HOST_API_VERSION, min-host-version:4
otbr-agent[2101]: 49d.17:07:02.811 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:5, cmd:PROP_VALUE_GET, key:RADIO_CAPS
otbr-agent[2101]: 49d.17:07:02.811 [D] P-RadioSpinel-: Wait response: tid=5 key=4619
otbr-agent[2101]: 49d.17:07:02.815 [D] P-SpinelDrive-: Received spinel frame, flg:0x2, iid:0, tid:5, cmd:PROP_VALUE_IS, key:RADIO_CAPS, caps:255
otbr-agent[2101]: 49d.17:07:02.822 [I] P-Netif-------: Sent request#1 to set addr_gen_mode to 1
otbr-agent[2101]: 00:00:00.000 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:6, cmd:PROP_VALUE_GET, key:PHY_CHAN_SUPPORTED
otbr-agent[2101]: 00:00:00.000 [D] P-RadioSpinel-: Wait response: tid=6 key=34
otbr-agent[2101]: 00:00:00.007 [D] P-SpinelDrive-: Received spinel frame, flg:0x2, iid:0, tid:6, cmd:PROP_VALUE_IS, key:PHY_CHAN_SUPPORTED, channelMask:0x07fff800
otbr-agent[2101]: 00:00:00.008 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:7, cmd:PROP_VALUE_SET, key:PHY_ENABLED, enabled:1
otbr-agent[2101]: 00:00:00.008 [D] P-RadioSpinel-: Wait response: tid=7 key=32
otbr-agent[2101]: 00:00:00.011 [D] P-SpinelDrive-: Received spinel frame, flg:0x2, iid:0, tid:7, cmd:PROP_VALUE_IS, key:PHY_ENABLED, enabled:1
otbr-agent[2101]: 00:00:00.012 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:8, cmd:PROP_VALUE_SET, key:MAC_15_4_PANID, panid:0xffff
otbr-agent[2101]: 00:00:00.012 [D] P-RadioSpinel-: Wait response: tid=8 key=54
otbr-agent[2101]: 00:00:00.016 [D] P-SpinelDrive-: Received spinel frame, flg:0x2, iid:0, tid:8, cmd:PROP_VALUE_IS, key:MAC_15_4_PANID, panid:0xffff
otbr-agent[2101]: 00:00:00.016 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:9, cmd:PROP_VALUE_SET, key:MAC_15_4_SADDR, saddr:0x0000
otbr-agent[2101]: 00:00:00.016 [D] P-RadioSpinel-: Wait response: tid=9 key=53
otbr-agent[2101]: 00:00:00.019 [D] P-SpinelDrive-: Received spinel frame, flg:0x2, iid:0, tid:9, cmd:PROP_VALUE_IS, key:MAC_15_4_SADDR, saddr:0x0000
otbr-agent[2101]: 00:00:00.020 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:10, cmd:PROP_VALUE_GET, key:PHY_RX_SENSITIVITY
otbr-agent[2101]: 00:00:00.020 [D] P-RadioSpinel-: Wait response: tid=10 key=39
otbr-agent[2101]: 00:00:00.023 [D] P-SpinelDrive-: Received spinel frame, flg:0x2, iid:0, tid:10, cmd:PROP_VALUE_IS, key:PHY_RX_SENSITIVITY, sensitivity:-100
otbr-agent[2101]: 00:00:00.024 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:11, cmd:PROP_VALUE_SET, key:RCP_MAC_KEY, keyIdMode:8, keyId:1, prevKey:, currKey:, nextKey:***
otbr-agent[2101]: 00:00:00.024 [D] P-RadioSpinel-: Wait response: tid=11 key=2048
otbr-agent[2101]: 00:00:00.033 [D] P-SpinelDrive-: Received spinel frame, flg:0x2, iid:0, tid:11, cmd:PROP_VALUE_IS, key:LAST_STATUS, status:OK
otbr-agent[2101]: 00:00:00.034 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:12, cmd:PROP_VALUE_SET, key:MAC_15_4_LADDR, laddr:b2415a378aa9a72b
otbr-agent[2101]: 00:00:00.034 [D] P-RadioSpinel-: Wait response: tid=12 key=52
otbr-agent[2101]: 00:00:00.040 [D] P-SpinelDrive-: Received spinel frame, flg:0x2, iid:0, tid:12, cmd:PROP_VALUE_IS, key:MAC_15_4_LADDR, laddr:b2415a378aa9a72b
otbr-agent[2101]: 00:00:00.040 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:13, cmd:PROP_VALUE_SET, key:MAC_15_4_SADDR, saddr:0xfffe
otbr-agent[2101]: 00:00:00.040 [D] P-RadioSpinel-: Wait response: tid=13 key=53
otbr-agent[2101]: 00:00:00.043 [D] P-SpinelDrive-: Received spinel frame, flg:0x2, iid:0, tid:13, cmd:PROP_VALUE_IS, key:MAC_15_4_SADDR, saddr:0xfffe
otbr-agent[2101]: 00:00:00.044 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:14, cmd:PROP_VALUE_SET, key:MAC_SRC_MATCH_SHORT_ADDRESSES, saddr:none
otbr-agent[2101]: 00:00:00.044 [D] P-RadioSpinel-: Wait response: tid=14 key=4868
otbr-agent[2101]: 00:00:00.047 [D] P-SpinelDrive-: Received spinel frame, flg:0x2, iid:0, tid:14, cmd:PROP_VALUE_IS, key:LAST_STATUS, status:OK
otbr-agent[2101]: 00:00:00.048 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:15, cmd:PROP_VALUE_SET, key:MAC_SRC_MATCH_EXTENDED_ADDRESSES, extaddr:none
otbr-agent[2101]: 00:00:00.048 [D] P-RadioSpinel-: Wait response: tid=15 key=4869
otbr-agent[2101]: 00:00:00.051 [D] P-SpinelDrive-: Received spinel frame, flg:0x2, iid:0, tid:15, cmd:PROP_VALUE_IS, key:LAST_STATUS, status:OK
otbr-agent[2101]: 00:00:00.052 [I] CslTxScheduler: Set frame request ahead: 15417 usec
otbr-agent[2101]: 00:00:00.052 [I] ChildSupervsn-: Timeout: 0 -> 190
otbr-agent[2101]: 00:00:00.052 [I] RoutingManager: Initializing - InfraIfIndex:0
otbr-agent[2101]: 00:00:00.052 [I] InfraIf-------: Init infra netif 0
otbr-agent[2101]: 00:00:00.052 [I] Settings------: Read BrUlaPrefix fdfc:e075:2eea::/48
otbr-agent[2101]: 00:00:00.052 [N] RoutingManager: BR ULA prefix: fdfc:e075:2eea::/48 (loaded)
otbr-agent[2101]: 00:00:00.052 [I] RoutingManager: Generated local OMR prefix: fdfc:e075:2eea:1::/64
otbr-agent[2101]: 00:00:00.052 [N] RoutingManager: Local on-link prefix: fdde:ad00:beef:cafe::/64
otbr-agent[2101]: 00:00:00.052 [I] RoutingManager: Enabling
otbr-agent[2101]: [INFO]-UTILS---: Set state callback: OK
otbr-agent[2101]: [INFO]-MDNS----: Avahi client state changed to 2
otbr-agent[2101]: [INFO]-MDNS----: Avahi client is ready
otbr-agent[2101]: [INFO]-BA------: Start Thread Border Agent
otbr-agent[2101]: [INFO]-BA------: Publish meshcop service OpenThread BorderRouter #A72B._meshcop._udp.local.
otbr-agent[2101]: 00:00:00.068 [I] Settings------: Read BorderAgentId {id:d793899eae3ced45882c848e3a563106}
otbr-agent[2101]: [INFO]-MDNS----: Commit avahi service OpenThread BorderRouter #A72B._meshcop._udp
otbr-agent[2101]: [EMERG]-NDPROXY-: FAILED /home/mohan/yoctoKirkstone/build/tmp/work/armv8a-poky-linux/ot-br-posix/git-r0/git/src/backbone_router/nd_proxy.cpp:117 - if_nametoindex failed
[ 255.690179][0 T0 .s] xhci-hcd-meson xhci-hcd-meson.0.auto: start stop ep=4, slot=1
[ 255.774160][0 T0 .s] xhci-hcd-meson xhci-hcd-meson.0.auto: start stop ep=2, slot=1
[ 255.858156][3 T0 .s] xhci-hcd-meson xhci-hcd-meson.0.auto: start stop ep=2, slot=1
[ 255.942156][0 T0 .s] xhci-hcd-meson xhci-hcd-meson.0.auto: start stop ep=2, slot=1
[ 256.026153][3 T0 .s] xhci-hcd-meson xhci-hcd-meson.0.auto: start stop ep=2, slot=1
[ 256.110257][0 T0 .s] xhci-hcd-meson xhci-hcd-meson.0.auto: start stop ep=2, slot=1
[ 256.194153][3 T0 .s] xhci-hcd-meson xhci-hcd-meson.0.auto: start stop ep=2, slot=1
Can you guys let me know what is causing this issue and how can I resolve it.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions