Comments (4)
Just for reference, the things I did to make it work:
git clone https://github.com/tailscale/tailscale-android.git
nano tailscale-android/cmd/tailscale/backend.go
change:
func (b *backend) Start(notify func(n ipn.Notify)) error {
b.backend.SetNotifyCallback(notify)
return b.backend.Start(ipn.Options{
StateKey: "ipn-android",
})
}
to:
func (b *backend) Start(notify func(n ipn.Notify)) error {
b.backend.SetNotifyCallback(notify)
prefs := ipn.NewPrefs()
prefs.ControlURL = "https://myheadscale.example.org"
opts := ipn.Options{
StateKey: "ipn-android",
UpdatePrefs: prefs,
}
return b.backend.Start(opts)
}
adjust the Dockerfile:
ARG GO_VERSION=1.17.1
and comment out or change the sha256sum to the 1.17.1 one.
save + exit
make dockershell
in the new docker:
make tailscale-debug.apk
you get the error: compile: version "go1.17.1" does not match go tool version "go1.17.1-ts097d128"
manual run these commands:
go run gioui.org/cmd/gogio -buildmode archive -target android -appid com.tailscale.ipn -o android/libs/ipn.aar github.com/tailscale/tailscale-android/cmd/tailscale
(cd android && ./gradlew assemblePlayDebug)
mv android/build/outputs/apk/play/debug/android-play-debug.apk tailscale-debug.apk
Copy the the apk to your mobile
Sign in with "other" and register the device
Done
from headscale.
Hi @khartahk we can't help you build the tailscale client, that's out of our ability to support.
The issue tracker is for tracking headscale issues.
from headscale.
可以做个linux的客户端的 项目吗
from headscale.
This worked for me, thank you so much.
from headscale.
Related Issues (20)
- Headscale crash with unknown cause HOT 1
- acl documentation inaccurate parameter
- CA Certificates missing HOT 15
- Headscale should retry gracefully when the OIDC provider is unavailable
- Integration tests for database migrations
- headscale crashes after what seems a successful start - latest master, alpha6,7+8 HOT 8
- Headscale logs in user A with user B's auth key HOT 2
- Missing Metrics for last machine contact HOT 1
- Likely ACL regression in 0.23-alphas HOT 1
- alpha9 takes 90 seconds to stop HOT 7
- [Bug] Tailscale Android beta app doesn't create routes when using Headscale HOT 1
- [Bug] OIDC not working with Authentik > 2024.2? HOT 20
- [Feature] Support tailscale serve HOT 3
- [Bug] latest upstream version is wrongly detected HOT 1
- [Bug] panic: public key moved between nodeIDs (dup node entry) HOT 1
- [Feature] strict config validation HOT 1
- [Bug] Minor issue, where headscale thinks alpha9 is newer than alpha11 HOT 2
- [Bug] restricted_nameserver is configured containing custom DNS records, clients do not resolve correctly HOT 2
- [Bug] Tailscale doesn't connect after phone reboot with Tailscale connection on HOT 1
- Received error: control server is too old; no noise key 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 headscale.