Unfortunately my joy at kernel mode was relatively short lived, was hopeful there for a wee while.
Stayed up a good part of the day but then logged itself out.
Even restarting S06tailscaled, then checking the status says exactly that:
Code:
tailscale status
Logged out.
Log in at: https://login.tailscale.com/a/xxxxxxxxxxxxxx
Have reverted back to userspace mode for now. If I can capture logs for you somehow let me know, I will see what I can do.
Double checked I ran this to make firewall-start executable:
Code:
chmod a+rx /jffs/scripts/firewall-start
and had only this in firewall-start
Code:
#!/bin/sh
if [ -x /opt/bin/tailscale ]; then tailscale down; tailscale up; fi
and only added this to s06tailscaled
Code:
PRECMD="modprobe tun"
PREARGS="nohup"
NOTE: Was on 1.64.0 though, I can try again on 1.58.2-1 if you think it helps.
k.
[EDIT]
Just uninstalled Tailscale again (thanks to Wiki) and reinstalled using
kernel mode. In doing so I realised I had omitted to leave the ARGS= line unchanged (I had #'d it out) when I amended/added the PRECMD and PREARGS lines, so am trying again. This is my kernel mode S06tailscaled file, with the (original) ARGS (now) left operable:
Code:
#!/bin/sh
ENABLED=yes
PROCS=tailscaled
ARGS="--state=/opt/var/tailscaled.state" # Orig 158.2-1 Entware Install - leave as is for Kernel Mode only #
#ARGS="--tun=userspace-networking --state=/opt/var/tailscaled.state" # from Viktor Jaep and ColinTaylor for Userspace Mode only #
PRECMD="modprobe tun" # from Colin Taylor for Kernel Mode Only #
PREARGS="nohup" # from Colin Taylor for both Kernel and Userspace Mode #
DESC=$PROCS
PATH=/opt/sbin:/opt/bin:/opt/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
. /opt/etc/init.d/rc.func
Will let it run on 1.58.2-1 for a wee while, then if OK try the tailscale update.