This page describes how to install and configure Tailscale on an OpenPLi set-top box using the ARM version of Linux.
Because OpenPLi is a lightweight distribution, the usual package manager method may not work. Instead, you may need to use Tailscale’s static binaries and configure an init.d service for automatic startup.
First, attempt to install Tailscale using the official script:
curl -fsSL https://tailscale.com/install.sh | sh- If this works, skip ahead to Step 4.
- If it fails (common on OpenPLi), continue with the manual installation below.
Go to Tailscale Stable Releases and download the ARM package.
For example:
wget https://pkgs.tailscale.com/stable/tailscale_1.86.2_arm.tgzExtract the archive and copy the executables into /usr/sbin:
tar zxvf tailscale_1.86.2_arm.tgz
cp tailscale_1.86.2_arm/tailscal* /usr/sbin/
chmod +x /usr/sbin/tailscal*This provides both tailscale (CLI) and tailscaled (daemon).
Since OpenPLi does not use systemd, we need to create an init.d service to start Tailscale at boot.
Create the service script:
cat << EOF >/etc/init.d/tailscaled
#!/bin/sh
DAEMON=/usr/sbin/tailscaled
PIDFILE=/var/run/tailscaled.pid
DAEMON_OPTS="--state=/var/lib/tailscale/tailscaled.state --socket=/var/run/tailscale/tailscaled.sock"
case "$1" in
start)
echo "Starting tailscaled"
start-stop-daemon --start --quiet --background --make-pidfile --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_OPTS
;;
stop)
echo "Stopping tailscaled"
start-stop-daemon --stop --quiet ---retry=TERM/9/KILL/11 --pidfile $PIDFILE
$DAEMON --cleanup
rm -f $PIDFILE
;;
restart)
$0 stop
$0 start
;;
status)
if [ -f $PIDFILE ] && kill -0 "$(cat $PIDFILE)" 2>/dev/null; then
echo "tailscaled is running"
else
echo "tailscaled is not running"
fi
;;
*)
echo "Usage: /etc/init.d/tailscaled {start|stop|restart|status}"
exit 1
;;
esac
exit 0
EOFMake the script executable and add it to startup:
chmod +x /etc/init.d/tailscaled
update-rc.d tailscaled defaultsCheck the service status (should be stopped):
service tailscaled statusStart the daemon:
service tailscaled startVerify it’s running:
service tailscaled statusYou can also check that the PID file exists:
cat /var/run/tailscaled.pidWith the daemon running, bring Tailscale online:
tailscale upYou will receive an authentication URL, for example:
To authenticate, visit:
https://login.tailscale.com/c/129a3b4e01e114a
Open this in your browser, log in, and the device will appear in your Tailscale network.
- The daemon will now automatically start on boot.
- You can stop or restart it anytime using:
service tailscaled stop
service tailscaled restart- From here, Tailscale should work like on any other Linux machine.
✅ Success! At this point, your OpenPLi ARM device is part of your Tailscale network.