adyanth / openwrt-tailscale-enabler

Brings Tailscale to low powered OpenWRT devices
MIT License
1.2k stars 185 forks source link

How to persist openwrt-tailscale-enabler #57

Closed fgfg163 closed 4 days ago

fgfg163 commented 4 days ago

This script downloads tailscale to /tmp directory, which is in memory. This is a solution for small flash or read-only flash devices. So after reboot you need to re-download tailscale.

If the device has enough storage space, you can change the download path to /root/ or somewhere else to avoid re-downloading every time you restart.

Check /usr/bin/tailscale and /usr/bin/tailscaled, replace the path /tmp with /root/tailscale or other path, restart the device, and manually start the script again. Tailscale will be downloaded to the ROM and automatically enabled after restart.

adyanth commented 4 days ago

If you have enough space, please use the official opkg package: https://openwrt.org/docs/guide-user/services/vpn/tailscale/start