Worked for me. updated to:
[gl-axt1800]
tailscale 1.60.1
Linux 4.4.60
Worked for me. updated to:
[gl-axt1800]
tailscale 1.60.1
Linux 4.4.60
Is there any way for this script to survive after a backup restore or firmware update like you did in adguard?
In Adguard, both updating and restoring backup it goes back to the last version and that is very good.
I will try to add this feature.
Works flawlessly on Flint 2 (4.5.7 release 6). Thanks Admon!
New version released!
I added the option to make all changes permanent. The script therefore only needs to be executed once, the effects are then permanent. Even across firmware updates.
On the downside, it might create trouble when you flash a way older firmware.
Working great on a GL-X3000 as well, thanks for your script !
Is there any way to update Tailscale on a Mudi v2 (e750v2) as well ?
Your script tells me the architecture is not supported but Iâve managed to install Tailscale on my Mudi v2 with the plugin page on the stock mudi v2 firmware. Itâs working so far but there might be a way to update to the latest Tailscale.
Thanks!
Could you please paste the output of uname -a
?
here it is :
Linux GL-E750 5.10.176 #0 Sun Apr 9 12:27:46 2023 mips GNU/Linux
Support for routers with MIPS architecture added.
Thought Iâd give this a whirl on my MT-3000 (Beryl AX) and make some comments, hopefully to help out / improve the experience for other folks.
Note that apart from some knowledge of SSH and WinSCP and being pretty good at following instructions I have a pretty low level of understanding of Linux etc.
So first off, thank you, it worked well!
I used the direct option âYou can run it without cloning the repository by using the following commandâ and it worked very well. The reason I used this option is because I had no idea where I should have put the update-tailscale.sh file, had I downloaded it, so as to be able to run it using that option.
In my ASUS Router I would guess it would go in /jffs/scripts, is there an equivalent on the GLiNET devices? I searched for the file and it appears to be in /overlay/upper/root/ ?
Having downloaded the script using that wget line, is it persistent i.e. stays in the router (whereabouts?) and can it then be run using the first command i.e. ./update-tailscale.sh [âignore-free-space] [âforce]
When I did a âlsâ I saw it at the root (along with a new tailscale.bak directory). Is it possible to have the script clean up (and delete) the backup files and directory please? I manually deleted the backups. They appear to be in the dir /overlay/upper/root/tailscale.bak ?
Thanks again!
k
You could download the file to anywhere on the router itself and then execute it. But by using the âwithout cloningâ method you did what is necessary, so all fine here.
/usr/sbin
for the tailscale binaries. The script itself is not needed anymore after first execution, see info below.
Likely itâs in /root
now. But I would not recommend using the script again and again - instead download a fresh copy each time you run it, so you will get the newest bug fixes and optimizations
No, since deleting the backup would make the whole backup process obsolete. If you donât need a backup you can use --ignore-free-space
or delete the backup afterward.
The /overlay
is just an, well, overlay. You can reach all files directly by ignoring /overlay/upper/
so itâs just /root/
Since you are using OpenWrt now, you should get a quick overview about Linux in general to understand the directories: An Introduction to Linux Directories and the PATH Variable
Ok thank you, was asking as to be able to run it with the âignore-free-space switch I understand it would need to be downloaded to my Windows PC first, then uploaded to somewhere on the Router (I use WinSCP for this).
OK.
OK thanks, makes sense (assuming I can put it anywhere and itâll just run via SSH). Wondering if however the script could be adapted to check for and download the updated one by itself?
OK, but as above I understand you can only run the script with the âignore-free-space switch once downloaded?
OK thank you ⌠definitely learning stuff here!
Ok thank you for the heads up on this.
Released new version 2024-03-17-01 which comes with UPX compression to save space!
(And fancy colors + restore feature as well)
It totally makes sense to run the script again, even if you are up-to-date already!
(But please download a fresh copy before or use the Quick-start from above)
tested, do you intend to do the same with adguard?
Hi, sorry to be a wee bit of a pest about this, but I tried to run just the update-tailscale script (both before and even after a successful âQuick Startâ run) and it says not found.
I downloaded a fresh copy again as stated above and put it in the root dir as shown. What am I doing wrong?
Executing shell scripts works differently.
sh filename
instead of just the filename
So in the case itâs in root: sh update-tailscale.sh
Cheers that works! thanks a lot!
@admon Thank you, so much for creating the script for the GLâ˘iNet community. It works flawlessly by the way.
Can you please elaborate what your new Permanent feature is designed to accomplish?
I have 2 GL routers:
*GL-MT3000
*GL-AXT1800
I made installation permanent on the 1800 but not the 3000. I wasnât really clear on this new UPGRADE PERSISTENCE within your new script.
Flashing a new fw will downgrade tailscale if itâs not permanent.