Comments (5)
That does not look to be the issue in the blog. For some reason, tar is not able to extract the downloaded file.
Can you download "https://pkgs.tailscale.com/stable/tailscale_1.32.2_mipsle.tgz" on your machine and use tar to extract it successfully? If so, can you run the bowl commands manually on your router and share the output? How much RAM (free) does your router have?
du -sh /tmp
df -h
mount
free -mh
wget -O- https://pkgs.tailscale.com/stable/ | grep tailscale_ | head -1 | cut -d'_' -f 2
echo -e "tailscale_1.32.2_mipsle/tailscale" > /tmp/tailscale_1.32.2_mipsle_files.txt
wget -O- https://pkgs.tailscale.com/stable/tailscale_1.32.2_mipsle.tgz | tar x -zvf - -C /tmp -T /tmp/tailscale_1.32.2_mipsle_files.txt
from openwrt-tailscale-enabler.
That is correct behavior. It can start extracting files when the rest is still being piped, it will cause wget to pause for a while. But tar should not say unexpected end of file.
from openwrt-tailscale-enabler.
That does not look to be the issue in the blog. For some reason, tar is not able to extract the downloaded file.
Can you download "https://pkgs.tailscale.com/stable/tailscale_1.32.2_mipsle.tgz" on your machine and use tar to extract it successfully? If so, can you run the bowl commands manually on your router and share the output? How much RAM (free) does your router have?
du -sh /tmp df -h mount free -mh wget -O- https://pkgs.tailscale.com/stable/ | grep tailscale_ | head -1 | cut -d'_' -f 2 echo -e "tailscale_1.32.2_mipsle/tailscale" > /tmp/tailscale_1.32.2_mipsle_files.txt wget -O- https://pkgs.tailscale.com/stable/tailscale_1.32.2_mipsle.tgz | tar x -zvf - -C /tmp -T /tmp/tailscale_1.32.2_mipsle_files.txt
It seems when running wget -O- https://pkgs.tailscale.com/stable/tailscale_1.32.2_mipsle.tgz | tar x -zvf - -C /tmp -T /tmp/tailscale_1.32.2_mipsle_files.txt
, tar reads the output directly from the stdout, sees the binary "tailscale_1.32.2_mipsle/tailscale" and begins extraction while "tailscale_1.32.2_mipsle/tailscaled" is still being outputted, and hangs from that point on.
I'll test what you mentioned above and will get back asap.
from openwrt-tailscale-enabler.
That is correct behavior. It can start extracting files when the rest is still being piped, it will cause wget to pause for a while. But tar should not say unexpected end of file.
Running the command above several times does complete without problems, but when running the single line 'wget' command, it does still hang.
I'll include the commands above into the script, I appreciate your help.
from openwrt-tailscale-enabler.
It seems like the problem still occurs when running as a shell script.
from openwrt-tailscale-enabler.
Related Issues (20)
- Binary path change HOT 1
- failed to connect to local tailscaled; it doesn't appear to be running (sudo systemctl start tailscaled ?) HOT 3
- tailscale cert error HOT 4
- How do i uninstall it? HOT 1
- Disable auto-update HOT 3
- Headscale not able to access automatically HOT 3
- Unable to establish SSL connection when "tailscale up" HOT 2
- how to Uninstall tailscale on openwrt HOT 1
- can not up,when wget HOT 6
- it's keep downloading tailscale HOT 1
- Step error HOT 2
- Everytime reboot openwrt, tailscale can't work HOT 5
- Unusual use after openwrt restart HOT 3
- bug HOT 3
- requests & bug: stable version for architectures are differents
- unable to start the service, due to update probably
- Kenapa downloadingnya ke versi tailscale 1.52.1 ? padahal sy instal tgz dari link update terbaru ? HOT 1
- Can't install Tailscale - init.d permissions & bin/tailscaled - read-only HOT 2
- how to fix the client version != server version HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openwrt-tailscale-enabler.