I am trying to set up tailscale on my TRB142. But seems unstable. After eah reastart it re-connects with a different private IP. Tried with start up script. But no luck. Any idea?
"#!/bin/sh /etc/rc.common
Start/Stop tailscaled
START=99
STOP=10
start() {
/usr/bin/tailscaled --state=/var/lib/tailscale/tailscaled.state --socket=/run/tailscale/tailscaled.sock &
sleep 5
/usr/bin/tailscale up --authkey=your-auth-key --advertise-routes=10.10.0.0/32
}
stop() {
killall tailscaled
}
"