Skip to content
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

Missing Tools - Windows Binaries #587

Closed
tberto opened this issue Sep 18, 2017 · 6 comments
Closed

Missing Tools - Windows Binaries #587

tberto opened this issue Sep 18, 2017 · 6 comments

Comments

@tberto
Copy link

tberto commented Sep 18, 2017

I've scoured the documentation, but I cannot find the "Zerotier-idtool" executable on windows, nor can I find references to the controller SQL script. It looks like Mac and Linux have these.

Are the Windows tools missing? I'm looking to create controllers and moons on Windows devices but cannot figure out how to.

@janjaapbos
Copy link
Contributor

For windows, there is one cli executable in c:\ProgramData\ZeroTier\One called zerotier-one_x64.exe

It must be run as administrator. To see the options, use the -h switch.

With the -i switch it functions as the idtool.

@tberto
Copy link
Author

tberto commented Sep 20, 2017

@janjaapbos thank you for the quick response! It does work too! How about the controller scripts? Can you make a Windows PC a controller as well?

@janjaapbos
Copy link
Contributor

Yes, I think so. But there is no cli / script for the controller bundled. You can use JSON REST calls. See https://github.com/zerotier/ZeroTierOne/tree/master/controller

Since you are on windows, perhaps look at using Powershell for these calls. Something like https://www.lavinski.me/calling-a-rest-json-api-with-powershell

@tberto
Copy link
Author

tberto commented Sep 20, 2017

You're a steely eye'd missile man! I also found http://www.swensensoftware.com/im-only-resting which looks like it would work.

Is it safe to assume, if I'm trying to create a standalone deployment, I'd need to create a moon and that moon would know where the controller is for a certain network? Meaning if I'm in an air-gapped environment, the public root servers wouldn't know about my controller or network.

@janjaapbos
Copy link
Contributor

Air-gapped Windows? Just kidding... ;-)

Not sure how far you will get with no connection to public roots at all. I think for sure all the clients and controllers involved would then at least need to reference the same moon.

Just post again at Github when you encounter issues.

@fathermrsing
Copy link

@tberto @janjaapbos hello,for windows,i tried generate identity.public file with the way "With the -i switch it functions as the idtool",but nothing output ,could you please give me a hand and tell me how to do details ?thank you !!in the cmd ,my command :
zerotier-one_x64.exe -i generate identity.secret

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants