Closed 1orz closed 10 months ago
Hi, I run with -tun=userspace-networking
because I'm run with proxy tool https://github.com/taamarin/box_for_magisk
Because you mentioned
whithout
tun=userspace-networking
and-state=/data/local/tmp/tailscaled.state
--port=41641
it can still work properly.
Maybe i can separate this options into different zip file.
I run with cd /data/local/tmp/ && tailscaled -statedir=/data/local/tmp/
because of this Issue
If want to check tailscale status
you must go to /data/local/tmp/
directory then type tailscale status
or with this command cd /data/local/tmp/ && tailscale status
According to the test results. This module can also be used on KernelSU on my device. So it can also be used as KernelSU modules.
maybe you can modify workflow steps to distribute difference archtecture release and regular release file name
modules-tailscale-[ARCH]-[VERSION].zip it looks like followings:
eg:
modules-tailscale-arm64-v1.56.1.zip modules-tailscale-arm-v1.56.1.zip
it can shrink package size and easily & fast to download instead of current state(Keep all together.)
My mother tongue is Chinese .English may not be very good at for me :( I am currently in the final exam stage. So there is no working time to submit pr.
According to the test results. This module can also be used on KernelSU on my device. So it can also be used as KernelSU modules.
Thankyou brother for your info. I will update the README docs.
maybe you can modify workflow steps to distribute difference archtecture release and regular release file name
Great suggestion, I will do this later, currently I'm still learning git and Github, I apologize also my english is not good because my main language is not english, sometimes using translate and github copilot to revision my english 😁 , Hope your exam sucessfull brother.
Also apologize me for bad coding style, I'm learn programming only from this entire internet.
As for what you mentioned in the readme:
by default, when Tailscale runs in the Android environment, it does not meet any logical conditions, leading to falling back to the last 'return tailscale.sock.' This results in a situation where I cannot locate the socket file, thus preventing communication with Tailscaled. The solution may involve submitting a pull request to the official Tailscale repository, provided that an appropriate location for placing the sock file in the Android system can be identified.
here ↑
This should fixed, thankyou for the feedback.
https://github.com/anasfanani/Magisk-Tailscaled/releases/tag/v1.56.1.2
Maybe userspace-networking is not necessary on Android devices?
https://github.com/anasfanani/Magisk-Tailscaled/blob/d1c86707fababa6c32922d1ea73ad2352f07e081/service.sh#L21
I just edit it to
whithout
tun=userspace-networking
and-state=/data/local/tmp/tailscaled.state
--port=41641
it can still work properly.
Besides, in this case : when I use
sudo tailscale status
and other tailscals's commands ,tailscale cannot findtailtailscaled.sock
in default situtation because current work dir is not at state/data/local/tmp/
. andtailscaled.sock
file is here.any other solution can resolve this problem?