From b7f24f48baf1591a7a2c7feb4c4fdf386ac5640c Mon Sep 17 00:00:00 2001 From: MickLesk Date: Sun, 5 Apr 2026 19:02:56 +0200 Subject: [PATCH] fix(otbr): remove stray quotes from TCP socat example The single quotes around the spinel+hdlc+forkpty URL in the comment example become part of the value when users copy it into the double-quoted OTBR_AGENT_OPTS string, causing 'spinel interface name is not supported' error. --- install/openthread-br-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/openthread-br-install.sh b/install/openthread-br-install.sh index 96dc8b81..f156e924 100644 --- a/install/openthread-br-install.sh +++ b/install/openthread-br-install.sh @@ -77,7 +77,7 @@ cat <<'EOF' >/etc/default/otbr-agent # USB example: # OTBR_AGENT_OPTS="-I wpan0 -B eth0 --vendor-name OpenThread --model-name BorderRouter --rest-listen-address 0.0.0.0 --rest-listen-port 8081 spinel+hdlc+uart:///dev/ttyACM0" # TCP via socat (for network-attached RCP like SLZB-06/SLZB-MR3): -# OTBR_AGENT_OPTS="-I wpan0 -B eth0 --vendor-name OpenThread --model-name BorderRouter --rest-listen-address 0.0.0.0 --rest-listen-port 8081 'spinel+hdlc+forkpty:///usr/bin/socat?forkpty-arg=-,rawer&forkpty-arg=tcp:IP:PORT' trel://eth0" +# OTBR_AGENT_OPTS="-I wpan0 -B eth0 --vendor-name OpenThread --model-name BorderRouter --rest-listen-address 0.0.0.0 --rest-listen-port 8081 spinel+hdlc+forkpty:///usr/bin/socat?forkpty-arg=-,rawer&forkpty-arg=tcp:IP:PORT trel://eth0" OTBR_AGENT_OPTS="-I wpan0 -B eth0 --vendor-name OpenThread --model-name BorderRouter --rest-listen-address 0.0.0.0 --rest-listen-port 8081 spinel+hdlc+uart:///dev/ttyACM0" EOF cat <<'EOF' >/etc/default/otbr-web