adyanth / openwrt-tailscale-enabler

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

Something weird happens with binaries #20

Closed pentago closed 2 years ago

pentago commented 2 years ago

When I extract the archive and try running any binary, I get errors like:

root@OpenWrt:/tmp/ts/tailscale_1.30.2_mips# tailscale -h
/usr/sbin/tailscale: line 1: syntax error: unexpected "("

I downloaded the proper archive I think: https://pkgs.tailscale.com/stable/tailscale_1.30.2_mips.tgz

ANy idea what could be the issue?

adyanth commented 2 years ago

That usually happens when you try to run MIPS LE binaries on MIPS or vice versa. Please check your platform. The script in this repo determines the endianness and correctly downloads the needed binaries.

pentago commented 2 years ago

You're right, I used MIPS instead of MIPSLE binaries. All good now, thanks!