Giter VIP home page Giter VIP logo

Comments (4)

tediorelee avatar tediorelee commented on June 3, 2024 2

There is no need to repackage it as a tar.
It seems to be that the tailscaled service has not started, so the tailscale cli cannot connect to its socket. Sadly, the init system wont show much when it fails, but you can check the dmesg to see if anything went wrong starting the tailscale daemon.
Can you try to use the same tar but then edit the files in openwrt and then follow the rest of the steps?

Also, you seem to have enough space in disk running on an x64 platform. This was for running it on routers whose flash is not large enough for the tailscale binary. You can actually extract the binaries from here https://pkgs.tailscale.com/stable/#static and copy them to /usr/bin/tailscale and /usr/bin/tailscaled instead of using the bootstrap scripts I wrote. Then, you can proceed to use the init scripts from here since procd scripts are not provided by tailscale.

thanks a lot, I will try this evening and to see if it works😊

from openwrt-tailscale-enabler.

adyanth avatar adyanth commented on June 3, 2024

This repo was targeted towards mips based processors running openwrt. What are you running it on? Seems to be arm?

The output of uname -m would give you that. Use your processor architecture in the version field of /usr/bin/tailscale and /usr/bin/tailscaled files.

The valid architectures for tailscale are: 386, amd64, arm, arm64, mips, mipsle. See the tailscale package repo for info.

from openwrt-tailscale-enabler.

tediorelee avatar tediorelee commented on June 3, 2024

thanks for your reply
after I change the version field based on my processor architecture, version='1.6.0_amd64',
and I repacked the .tgz file, after all of this I get this error
image

from openwrt-tailscale-enabler.

adyanth avatar adyanth commented on June 3, 2024

There is no need to repackage it as a tar.
It seems to be that the tailscaled service has not started, so the tailscale cli cannot connect to its socket. Sadly, the init system wont show much when it fails, but you can check the dmesg to see if anything went wrong starting the tailscale daemon.
Can you try to use the same tar but then edit the files in openwrt and then follow the rest of the steps?

Also, you seem to have enough space in disk running on an x64 platform. This was for running it on routers whose flash is not large enough for the tailscale binary. You can actually extract the binaries from here https://pkgs.tailscale.com/stable/#static and copy them to /usr/bin/tailscale and /usr/bin/tailscaled instead of using the bootstrap scripts I wrote. Then, you can proceed to use the init scripts from here since procd scripts are not provided by tailscale.

from openwrt-tailscale-enabler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.