您好、
以下是我的 OTBR + RCP 设置的详细信息:
OTBR:RPI 4B、带 Ubuntu Server 22.04.2 LTS (64位)
RCP:CC2652R7 + simplelink_cc13xx_cc26xx_sdk_7_10_01_24\examples\rtos\LP_CC2652r7\thready\rcp
我按照指南: https://openthread.io/guides/border-router/build、尝试设置我的 Matter 边界路由器。
当我尝试执行步骤5: 验证服务时、我遇到一些错误:
我使用命令
sudo systemctl status
它会显示 降级 状态:● ubuntu State: degraded Jobs: 0 queued Failed: 1 units Since: Mon 2023-03-20 14:32:39 UTC; 5 months 10 days ago CGroup: / ├─user.slice │ └─user-1000.slice │ ├─user@1000.service … │ │ ├─app.slice │ │ │ ├─fluidsynth.service │ │ │ │ └─1386 /usr/bin/fluidsynth -is /usr/share/sounds/sf3/default-GM.sf3 │ │ │ └─dbus.service │ │ │ └─1403 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only │ │ └─init.scope │ │ ├─1379 /lib/systemd/systemd --user │ │ └─1380 (sd-pam) │ └─session-1.scope │ ├─1348 sshd: ubuntu [priv] │ ├─1500 sshd: ubuntu@pts/0 │ ├─1501 -bash │ ├─1510 sudo systemctl status │ ├─1511 sudo systemctl status │ ├─1512 systemctl status │ └─1513 less ├─init.scope │ └─1 /sbin/init fixrtc splash └─system.slice ├─irqbalance.service │ └─760 /usr/sbin/irqbalance --foreground ├─systemd-networkd.service │ └─742 /lib/systemd/systemd-networkd ├─systemd-udevd.service │ └─446 /lib/systemd/systemd-udevd ├─cron.service │ └─1132 /usr/sbin/cron -f -P ├─system-serial\x2dgetty.slice │ └─serial-getty@ttyS0.service │ └─1170 /sbin/agetty -o -p -- \u --keep-baud 115200,57600,38400,9600 ttyS0 vt220 ├─otbr-web.service │ └─1169 /usr/sbin/otbr-web ├─polkit.service │ └─770 /usr/libexec/polkitd --no-debug ├─networkd-dispatcher.service │ └─762 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers ├─bluetooth.service │ └─985 /usr/lib/bluetooth/bluetoothd ├─multipathd.service │ └─435 /sbin/multipathd -d -s ├─wpa_supplicant.service │ └─787 /sbin/wpa_supplicant -u -s -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf ├─ModemManager.service │ └─953 /usr/sbin/ModemManager ├─systemd-journald.service │ └─399 /lib/systemd/systemd-journald ├─unattended-upgrades.service │ └─963 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal ├─ssh.service │ └─1173 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups ├─NetworkManager.service │ └─756 /usr/sbin/NetworkManager --no-daemon ├─snapd.service │ └─781 /usr/lib/snapd/snapd ├─hciuart.service │ └─935 /usr/bin/hciattach /dev/serial1 bcm43xx 3000000 flow - ├─rsyslog.service │ └─773 /usr/sbin/rsyslogd -n -iNONE ├─update-notifier-download.service │ └─1520 /usr/bin/python3 /usr/lib/update-notifier/package-data-downloader ├─systemd-resolved.service │ └─744 /lib/systemd/systemd-resolved ├─otbr-agent.service │ └─1282 /usr/sbin/otbr-agent -I wpan0 -B wlan0 spinel+hdlc+uart:///dev/ttyACM0 trel://wlan0 ├─dbus.service │ └─755 @dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only ├─systemd-timesyncd.service │ └─688 /lib/systemd/systemd-timesyncd ├─system-getty.slice │ └─getty@tty1.service │ └─1172 /sbin/agetty -o -p -- \u --noclear tty1 linux ├─mdns.service │ └─1159 /usr/sbin/mdnsd ├─avahi-daemon.service │ ├─754 avahi-daemon: running [ubuntu-15.local] │ └─789 avahi-daemon: chroot helper └─systemd-logind.service └─783 /lib/systemd/systemd-logind
然后我检查一下服务:sudo systemctl --failed UNIT LOAD ACTIVE SUB DESCRIPTION ● iipsrv.service loaded failed failed IIPImage server LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 1 loaded units listed.sudo service mdns status ● mdns.service - LSB: Apple Multicast DNS / DNS Service Discovery daemon Loaded: loaded (/etc/init.d/mdns; generated) Active: active (running) since Tue 2023-08-29 09:31:41 UTC; 15h ago Docs: man:systemd-sysv-generator(8) Process: 1122 ExecStart=/etc/init.d/mdns start (code=exited, status=0/SUCCESS) Tasks: 1 (limit: 4416) Memory: 1.2M CPU: 478ms CGroup: /system.slice/mdns.service └─1159 /usr/sbin/mdnsdsudo service otbr-agent status ● otbr-agent.service - OpenThread Border Router Agent Loaded: loaded (/lib/systemd/system/otbr-agent.service; enabled; vendor preset: enabled) Active: active (running) since Wed 2023-08-30 00:41:06 UTC; 12min ago Process: 1276 ExecStartPre=/usr/sbin/service mdns start (code=exited, status=0/SUCCESS) Main PID: 1282 (otbr-agent) Tasks: 1 (limit: 4416) Memory: 1012.0K CPU: 1.518s CGroup: /system.slice/otbr-agent.service └─1282 /usr/sbin/otbr-agent -I wpan0 -B wlan0 spinel+hdlc+uart:///dev/ttyACM0 trel://wlan0sudo service otbr-web status ● otbr-web.service - Border Router Web Loaded: loaded (/lib/systemd/system/otbr-web.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2023-08-29 09:31:41 UTC; 15h ago Main PID: 1169 (otbr-web) Tasks: 1 (limit: 4416) Memory: 1.9M CPU: 15ms CGroup: /system.slice/otbr-web.service └─1169 /usr/sbin/otbr-web Aug 29 09:31:41 ubuntu systemd[1]: Started Border Router Web. Aug 29 09:31:41 ubuntu otbr-web[1169]: otbr-web[1169]: [INFO]-WEB-----: Running 0.3.0-thread-reference-20230119-276-g8299da302a Aug 29 09:31:41 ubuntu otbr-web[1169]: otbr-web[1169]: [INFO]-WEB-----: Border router web started on wpan0 Aug 29 09:31:41 ubuntu otbr-web[1169]: otbr-web[1169]: [ERR ]-WEB-----: OpenThread daemon is not running. Aug 29 09:31:41 ubuntu otbr-web[1169]: [INFO]-WEB-----: Running 0.3.0-thread-reference-20230119-276-g8299da302a Aug 29 09:31:41 ubuntu otbr-web[1169]: [INFO]-WEB-----: Border router web started on wpan0 Aug 29 09:31:41 ubuntu otbr-web[1169]: [ERR ]-WEB-----: OpenThread daemon is not running.
如何解决此问题?
此致、
Seamus