tailscale / tailscale

The easiest, most secure way to use WireGuard and 2FA.
https://tailscale.com
BSD 3-Clause "New" or "Revised" License
18.76k stars 1.45k forks source link

Cannot get to work on Edgerouter-X #4608

Closed axiomdata closed 2 years ago

axiomdata commented 2 years ago

What is the issue?

When I run tailscale up I get this error:

bash: /usr/sbin/tailscale: cannot execute binary file: Exec format error This is on an EdgeRouter X running the latest firmware.

Steps to reproduce

configure set system package repository tailscale url '[signed-by=/usr/share/keyrings/tailscale-stretch-stable.gpg] https://pkgs.tailscale.com/stable/debian' set system package repository tailscale distribution stretch set system package repository tailscale components main commit comment "Add Tailscale repository" save; exit

sudo bash mkdir -p /config/scripts/firstboot.d curl -o /config/scripts/firstboot.d/tailscale.sh https://raw.githubusercontent.com/jamesog/tailscale-edgeos/main/firstboot.d/tailscale.sh chmod 755 /config/scripts/firstboot.d/tailscale.sh /config/scripts/firstboot.d/tailscale.sh /config/scripts/post-config.d/tailscale.sh

tailscale up --advertise-routes 192.0.2.0/24 --advertise-exit-node --authkey tskey-XXX

Are there any recent changes that introduced the issue?

No response

OS

Linux

OS version

EdgeOS 2.0.9.hotfix.2

Tailscale version

1.24

Bug report

No response

DentonGentry commented 2 years ago

Ubiquiti is not enthused about having third party packages installed on the Edgerouter. There is an existing issue https://github.com/tailscale/tailscale/issues/735 with some input from other users who have worked on this platform, but you should expect each OS update to delete the tailscale installation.

Duplicate of https://github.com/tailscale/tailscale/issues/735