summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-09-29 10:53:57 +0200
committerxengineering <me@xengineering.eu>2024-09-29 11:16:30 +0200
commitc4611a3fbefdbc974b384ca71133e2e6fbc98240 (patch)
treed7f78b8e23cb13d5565eca2cb58ef4ba79593881 /doc
parent77158b80a0e3d24ec7c70a1ad36b1f680c942940 (diff)
downloadsoundbox-c4611a3fbefdbc974b384ca71133e2e6fbc98240.tar
soundbox-c4611a3fbefdbc974b384ca71133e2e6fbc98240.tar.zst
soundbox-c4611a3fbefdbc974b384ca71133e2e6fbc98240.zip
doc: Fix soundbox script for IPv6
It used to listen on IPv4 requests only.
Diffstat (limited to 'doc')
-rw-r--r--doc/documentation.tex6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/documentation.tex b/doc/documentation.tex
index b605e58..bd02e9c 100644
--- a/doc/documentation.tex
+++ b/doc/documentation.tex
@@ -355,7 +355,7 @@ set -e
while true
do
- ffplay -autoexit tcp://0.0.0.0:5316?listen
+ ffplay -autoexit tcp://[<ip>%wlan0]:5316?listen
done' > /usr/local/bin/soundbox
chmod 755 /usr/local/bin/soundbox
@@ -363,6 +363,10 @@ chmod 755 /usr/local/bin/soundbox
lbu add /usr/local/bin/soundbox
\end{verbatim}
+\texttt{<ip>} has to be replaced by the IPv6 link-local address of the
+\texttt{wlan0} interface. It can be retrieved by calling \texttt{ip addr show}
+and starts with \texttt{fe80::}.
+
This makes the command \texttt{soundbox} available on the system.
\subsection{Service configuration}