Comments (10)
Umm, maybe try copying over the tailscale.state
file from another device after performing tailscale up
? I am not sure if it would work because I remember it uses some device unique ID.
from openwrt-tailscale-enabler.
Thanks, this is a bright idea!
Until we didn't test it/have not instructions - should we edit Readme a bit to note about the RAM restrictions?
from openwrt-tailscale-enabler.
Hey @bam80 I have a device with 128MB RAM and it definitely uses more than 64MB.
Once the tailscale up
is run the first time, you can delete the tailscale
binary, leaving just the daemon running. It is only needed for configuration.
from openwrt-tailscale-enabler.
Hey! Unfortunately, it can't even pass the tailscale up
phase as the device gets stalled.. :(
So I don't know workaround for this, other than adding more memory by any mean or using remote mount.
If you have better idea please let me know.
from openwrt-tailscale-enabler.
Hi,
I have tailscale running on two 64MB boxes. And it runs without any problems.
I build my own images with image-builder and running 21.2.1 on a "Netgear WNDR3700" and a "TP-Link CPE210 v3"
This is my PACKAGES list:
diffutils luci-ssl zram-swap diffutils luci-ssl curl vim-full bash -vimi mtr ethtool tcpdump -luci-proto-ppp -ppp -ppp-mod-pppoe block-mount kmod-fs-ext4 kmod-usb-storage kmod-usb-ohci kmod-usb-uhci ca-bundle kmod-tun
No special configuration, it simply works.
@bam80 Have build the you image your self, any extra packages installed? What Version of OpenWRT?
from openwrt-tailscale-enabler.
Thanks for reply @JensKuehnel!
I run vendor firmware based on OpenWRT 19.07, the Tailscale package was not backported there so I created a request:
openwrt/packages#17088
Meanwhile, do you think I could easily build the package myself? I'm not sure where to start from..
(Also, you probably don't need to build custom image as the package is already there for your OpenWrt version: openwrt/packages#15539)
from openwrt-tailscale-enabler.
That's a great idea, you could try compiling it yourself and see if it fits then. Also, the package on openwrt installs tailscale to flash rather than RAM, so if you have enough flash (>32MB) and less RAM, definitely go that route.
from openwrt-tailscale-enabler.
Well, I tried on another router with 128MB RAM/8MB flash so no chances to fit packaged Tailscale there either:
Why it so big I wonder? Any chance to rebuild it smaller?
Also, even with 128MB RAM it couldn't run, so I had to install zram-swap
package to solve that.
I think it worth to be mentioned in Readme.
from openwrt-tailscale-enabler.
Also, the package on openwrt installs tailscale to flash rather than RAM
I wish I could force it to install to RAM, as it doesn't fit to flash but packaged version is still smaller..
from openwrt-tailscale-enabler.
The difference in size between the ipk version and the one this package downloads is shown below. I downloaded the latest version available on both.
IPK Version: 14M after extraction (even though the ipk size is 4.9MB), dynamically linked binary, depends on libc.
❯ file tailscaled
tailscaled: ELF 32-bit MSB executable, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-mips-sf.so.1, Go BuildID=1649416067, stripped
❯ ls -alh tailscaled
-rwxr-xr-x@ 1 adyah staff 14M Dec 20 14:57 tailscaled
This package version: 20MB, statically linked binary with no dependencies.
❯ file tailscaled
tailscaled: ELF 32-bit MSB executable, MIPS, MIPS32 version 1 (SYSV), statically linked, Go BuildID=mQBLllo7XjQZM7G-WI-4/AYM9SvzjrByCuadLpzlE/79z0Ilt18IDEc6vdrteF/UBXBXKqgGyLlaD1Y1XtY, not stripped
❯ ls -alh tailscaled
-rwxr-xr-x 1 adyah staff 20M Apr 10 11:37 tailscaled
Overall, it is the same size requirements at the end of the day. Installing an ipk to RAM is not something I am familiar with. But there is nothing this package can do to reduce the size IMO. Let me know if you figure something out.
from openwrt-tailscale-enabler.
Related Issues (20)
- 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
- Got error: Failed to connect to local Tailscale daemon for /localapi/v0/status HOT 1
- Please teach me! HOT 1
- not issue but a question HOT 1
- please support openwrt version with nftbales HOT 1
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.