Comments (6)
Your issue is due to running it on an ARM processor where the uname -m
does not match the package name. Hardcoding the architecture would not help much. Could you send a PR to specifically check for armv7l and set the arch to arm if so?
from openwrt-tailscale-enabler.
I just created PR now. Please checkout it.
#7
from openwrt-tailscale-enabler.
Yes indeed. I was assuming that the link will exist, but apparently not. Only the latest stable and unstable builds.
People at Tailscale hope to have historical versions available on pkgs.tailscale.com soon: https://tailscale.com/kb/1032/install-files-all-versions/
Meanwhile, I can look into making the script check for the latest version and use that.
from openwrt-tailscale-enabler.
I had the same problem. But, I avoided the problem by adding the temporary change to the script /usr/bin/tailscale
.
# diff /usr/bin/tailscale /tmp/usr/bin/tailscale
9c9
< version="${tailscale_version}_arm${endianness}"
---
> version="${tailscale_version}_${arch}${endianness}"
(/tmp/usr/bin/tailscale
is the original source code(v1.8.5-0897f11).)
In my environment, just worked.
I think the script needs to add an architecture name check.
In my environment, the result of uname -m
is like below.
# uname -m
armv7l
armv7l
is 32bit processor. It is expected that tailscale_1.8.5_arm.tgz
will be downloaded, but it will attempt to download tailscale_1.8.5_armv7l.tgz
.
from openwrt-tailscale-enabler.
I added a change to /usr/bin/tailscaled
that had a similar effect. I just had a successful authentication.
# diff /usr/bin/tailscaled /tmp/usr/bin/tailscaled
3c3
< arch=arm
---
> arch=`uname -m`
(This change is cleaner than the change I made in the previous post... I'm sorry for the disorganized message.)
from openwrt-tailscale-enabler.
For the initial problem in this issue, something like this works:
curl -q https://pkgs.tailscale.com/stable/ | grep tailscale_ -m 1 | cut -d'_' -f 2
Thinking of whether to implement this in the shell script (and breaking the auto releaser github workflow in the process) or add this as a workflow cron to update every other week or so.
from openwrt-tailscale-enabler.
Related Issues (20)
- Binary path change HOT 1
- Installation hangs while writing to stdout HOT 6
- 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.