GL-AXT1800 Tailscale update

I updated the script, please try again.
Disclaimer: Since I don’t own an ARMv7 device right now, I can’t test it. :fire:

1 Like

returns the error:

Not enough space available. Please free up some space and try again.
The script needs at least 130 MB of free space.

even tho I just re-flashed and started from scratch…

Can you advise how to free up some space?

Unfortunately, your router does not have enough space for automatically replacing the tailscale binaries.

You have to do it manually. During this procedure, Tailscale will stop!

Please execute these commands by using SSH - one by one.

/etc/init.d/tailscale stop
rm /usr/sbin/tailscaled
rm /usr/sbin/tailscale
mkdir /tmp/tailscale
TAILSCALE_VERSION_NEW=$(curl -s https://pkgs.tailscale.com/stable/#static | grep -o 'tailscale_[0-9]*\.[0-9]*\.[0-9]*_arm\.tgz' | head -n 1)
wget -qO /tmp/tailscale.tar.gz https://pkgs.tailscale.com/stable/$TAILSCALE_VERSION_NEW
tar xzf /tmp/tailscale.tar.gz -C /tmp/tailscale
rm /tmp/tailscale.tar.gz
mv /tmp/tailscale/*/tailscale /usr/sbin/tailscale
mv /tmp/tailscale/*/tailscaled /usr/sbin/tailscaled
rm -rf /tmp/tailscale
/etc/init.d/tailscale start
2 Likes

unfortunately this does not work for me…

What errors do you get?

Am I correct in that each of the following lines should be run individually, one after the other…?

/etc/init.d/tailscale stop

rm /usr/sbin/tailscaled

rm /usr/sbin/tailscale

TAILSCALE_VERSION_NEW=$(curl -s https://pkgs.tailscale.com/stable/#static | grep -o ‘tailscale_[0-9].[0-9].[0-9]*_arm.tgz’ | head -n 1)

wget -qO /tmp/tailscale.tar.gz https://pkgs.tailscale.com/stable/$TAILSCALE_VERSION_NEW

tar xzf /tmp/tailscale.tar.gz -C /tmp/tailscale

rm /tmp/tailscale.tar.gz

mv /tmp/tailscale/*/tailscale /usr/sbin/tailscale

mv /tmp/tailscale/*/tailscaled /usr/sbin/tailscaled

rm -rf /tmp/tailscale

/etc/init.d/tailscale start

Yup, that would be the best case so you can see the output of each command.

root@GL-AXT1800:~# /etc/init.d/tailscale stop

root@GL-AXT1800:~# rm /usr/sbin/tailscaled

root@GL-AXT1800:~# rm /usr/sbin/tailscale

root@GL-AXT1800:~# TAILSCALE_VERSION_NEW=$(curl -s https://pkgs.tailscale.com/st

able/#static | grep -o ‘tailscale_[0-9].[0-9].[0-9]*_arm.tgz’ | head -n 1)

root@GL-AXT1800:~# wget -qO /tmp/tailscale.tar.gz https://pkgs.tailscale.com/sta

ble/$TAILSCALE_VERSION_NEW

root@GL-AXT1800:~# tar xzf /tmp/tailscale.tar.gz -C /tmp/tailscale

tar: can’t change directory to ‘/tmp/tailscale’: No such file or directory

… i stop here as the rest just say No such file or directlry

My bad, I forgot some command. I updated the command block in my previous answer.

2 Likes

…removed…
this may have included personal id / info

Thank You for sticking with me… this works…

image

1 Like

Thanks for your input. I updated the main script to support the AXT1800 as well.

2 Likes

Sorry if this has been answered previously. I have an 1800 slate ax. Running Tailscale seems to work until I try and use a custom exit node. No traffic seems to pass. If tried altering the local DNS as mentioned in an older post, but it didn’t help. I’m running the latest beta 4.5 jan 24.

Has anyone made this work?

I don’t see why this workaround wouldn’t still work but I don’t use Tailscale:

Thank you. But i don’t want to use the router as an exit node. (Not yet anyway) I just want to connect to an exit node and have all my traffic route through it.

I know the exit nodes work as I can use them from regular tailscale clients.

1 Like

This fixed it for me. I noticed the router could ping through the exit node but nothing on the lan side of the axt1800 could. Added the firewall zone as described and suddenly the lan side could route all traffic via the exit node. Obvs something gl inet need to fix.

https://forum.openwrt.org/t/help-to-configure-tailscale-as-a-proxy-service/142428/2

Thank you admon! Just used the manual commands here to update tailscale on my GL-AXT1800. Tried to use your script but, as I suspected, not enough space. So, did the commands manually here and I’m now running the latest version of tailscale which as of 2/20/24 is 1.60.0.

I really appreciate your contribution! This is a really capable travel router made even better!

1 Like

You could use my script with --ignore-free-space :wink:

Manual mode worked for me - thanks!

1 Like

Any update on this? The 1.32.2 version that ships with the 4.5.0 firmware has a security issue, so it would be good to get this fixed.