-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing for Go noobs #5
Comments
The command works inside a go module. Not sure if we can make it compatible with a GOPATH. |
So I should cd into the repository clone? And that clone has to be in src/tailscale.com? |
|
I think it should still work in GOPATH mode but I hadn't tried. |
I verified it works in GOPATH mode, after all the usual GOPATH-era pain of manually updating deps to required versions. (And of course it needs to be checked out at the right place in disk if using GOPATH mode) |
I have go 1.12.15 on this machine. Since GOPATH is apparently not a well-supported option, what are the other steps I have to take to build it in a better supported mode? I reviewed the README updates but this doesn't seem to be explained yet. (Also you have a typo, "vesions".) |
The following comment from above works, and it can be run from anywhere:
Go modules ensures you have the correct dependency versions. That command downloads all Go dependencies needed to build, builds the dependencies and the package in question, then installs (copies) the binary to your Go path's You can also download the repository, change to the directory, and run |
That does something, but it appears Go 1.12 is not supported:
I'll try again in a while after my distro upgrades to 1.13. |
@djc, no need to wait for your distro. You can use another Go compiler trivially:
Then:
|
So I have Go 1.13 now and I compiled tailscale and tailscaled. I then tried figuring out how to start. Here's some further feedback on next steps in the onboarding process; these maybe don't belong in this repository, but I do hope they're useful. If I sign up with an email address on a personal account (firstname@lastname.nl), after clicking the button "Sign up with email", the input field disappears and the button label changes to "Sign up another identity". I found this UX non-intuitive at least. Signing up with my GMail account does work. I found instructions here: https://tailscale.com/kb/1053/install-static (maybe also link this from the README). When I run
|
Agreed. That whole UI is being redone at the moment.
Do you have a
Clearly we need a better error message at least. Will do that now. |
I don't have |
I've pushed a better error message. |
You'll need CONFIG_TUN=y or =m in your kernel: https://cateee.net/lkddb/web-lkddb/TUN.html |
Alright, I've gotten it to work. Thanks! A minor question I was left with after reading the documentation, in https://tailscale.com/kb/1033/ip-and-dns-addresses it would be nice if there was a bit more clarity about how consistency of IP addresses is achieved within a single authentication. Is that just a randomly generated ID that's stored in the tailscaled.state, or is there something going on that will work with e.g. MAC addresses or other machine characteristics? |
(It might still be useful to explain the |
What are the magic incantations required to make this work (this is a Gentoo Linux box)?
The text was updated successfully, but these errors were encountered: