adyanth / openwrt-tailscale-enabler

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

Tailscale not getting downloaded #51

Open sunyoung1 opened 4 months ago

sunyoung1 commented 4 months ago

Hello, i'm running to an error which tailscale fails to complete the download for the setup i have attached the logs below

root@ax3000t:~# tailscale up --accept-dns=false --advertise-routes=10. 0.0.0/24 Downloading 'https://pkgs.tailscale.com/stable/' Connecting to 2607:f740:f::d19:443 (null) 0 - stalled - Connection reset prematurely Downloading Tailscale _arm64 .. Downloading 'https://pkgs.tailscale.com/stable/tailscale__arm64.tgz' Connecting to 2607:f740:f::d19:443 (null) 0 - stalled - Connection reset prematurely tar: invalid magic tar: short read

moyunkz commented 3 months ago

I got the same error as you. Here's how I solved it:

  1. Edit the file vi /usr/bin/tailscale
  2. Replace line 34:

wget -O- https://pkgs.tailscale.com/stable/tailscale_${version}.tgz | tar x -zvf - -C /tmp -T /tmp/tailscale_${version}_files.txt with curl -LJO https://pkgs.tailscale.com/stable/tailscale_${version}.tgz tar -xzvf tailscale_${version}.tgz -C /tmp -T /tmp/tailscale_${version}_files.txt

Hope this helps!

flier268 commented 1 month ago
 wget -O- https://dl.tailscale.com/stable/tailscale_${version}.tgz | tar x -zvf - -C /tmp -T /tmp/tailscale_${version}_files.txt