Hello, after cloning the repo and sudo make, I can sudo ./zerotier-one -d and so on, but I've noticed how the service doesn't run on boot.
I've looked in /lib/systemd/system and there are no zerotier services at all.
Am i missing something after just sudo make?
Here is my name os info:
PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Thanks!
You would have to run,
sudo systemctl enable zerotier*
sudo systemctl start zerotier*
On May 23, 2017 12:36 AM, "Ángel" notifications@github.com wrote:
Hello, after cloning the repo and sudo make, I can sudo ./zerotier-one -d
and so on, but I've noticed how the service doesn't run on boot.
I've looked in /lib/systemd/system and there are no zerotier services at
all.Am i missing something after just sudo make?
Thanks!—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/zerotier/ZeroTierOne/issues/510, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABJpRN_vJZBgfVrloHeQhUNcwmvJ3fOtks5r8n5rgaJpZM4NjPF6
.
I just get
$ sudo systemctl enable zerotier*
Failed to execute operation: No such file or directory
The service files are not there, am I missing a step where I gotta create them?
Do you have a Pi version 1 or other older ARM processor? The current version has a known issue with older ARM chips that will be fixed in the next. I can give you a working binary for now if you want.
I have a Pi Zero W with an ARM11.
This seems to be one of the older processors, so you might be right about this.
I'll be happy to try whatever you have, if it helps :)
Try the attached binary. Replace /usr/sbin/zerotier-one. Tell me if it works.
Hey @adamierymenko, I didn't even have a zerotier-one file in /usr/sbin
I've put it there and made it executable, but still get the same result when I run:
$ sudo systemctl enable zerotier* Failed to execute operation: No such file or directory
I tried $ sudo systemctl daemon-reload but nothing changes.
How was it installed originally?
I just cloned the repo and sudo make.
Running sudo ./zerotier-one -d manually works fine, so it seems to be only related to the service.
Ahh... the make install command doesn't install service files. There are three different init systems on Linux (at least), so packages do that.
&*%$#@ Linux and their init systems!
Good to know. how should I install the services then?
The file templates are in ext/installfiles/linux and debian/ and if you're using systemd can be dropped in the right place... which may differ by distribution.
That did the trick!
$ sudo cp /YOUR_ZERO_TIER_FOLDER/debian/zerotier-one.service /lib/systemd/system/$ sudo chmod 644 /lib/systemd/system/zerotier-one.service$ sudo systemctl daemon-reload$ sudo systemctl enable zerotier-one.service$ sudo systemctl start zerotier-one.serviceDONE!
Thanks, @adamierymenko!
I may be running into the same issue. Trying to install on old raspberry pi gen 1. (armv6). It hangs at * Waiting for identity generation...
Going to try build and install.
Build succeeded and @Mifulapirus instructions worked like a charm!
I'm glad it worked for you, @paulrd!
One last step was to do:
sudo systemctl enable zerotier-one.service
to have it work after reboot.
Thanks for the note, @paulrd. I added it to the instructions.
This didn’t work for me. I am using the latest version of RPi debian on Zero W.
I did the following:
$ make all
$ make install
....The same commends on the instruction above...
What did I miss? Is there a specific branch or tag working for the RPi?
@kbumsik, the complete solution which worked for me on Zero W was:
/usr/sbin/For me this worked nicely on a Raspberry Pi B and Raspberri Pi Zero W:
curl -s https://install.zerotier.com/ | sudo bashCtrl+C when it freezes at Waiting for identity generationwget https://github.com/zerotier/ZeroTierOne/files/1023887/zerotier-one.gz (patch from @adamierymenko above)gzip -d zerotier-one.gzchmod +x zerotier-onesudo chown root:root zerotier-onesudo mv zerotier-one /usr/sbin/zerotier-onesudo systemctl start zerotier-oneIf everything went okay sudo zerotier-cli status should now say 200 info XXXXXXXXXX 1.2.5 ONLINE
Fixed in dev
works on Raspberry Pi 1
Thanks all!
Is this solved in the most recent release?
I have Raspberry Pi Zero W running Stretch and when I run:
curl -s https://install.zerotier.com | sudo bash
it still hangs at:
* Waiting for identity generation...
@reluctantgithubuser, can you make a new issue for 1.4.2 ?
Most helpful comment
For me this worked nicely on a Raspberry Pi B and Raspberri Pi Zero W:
curl -s https://install.zerotier.com/ | sudo bashCtrl+Cwhen it freezes atWaiting for identity generationwget https://github.com/zerotier/ZeroTierOne/files/1023887/zerotier-one.gz(patch from @adamierymenko above)gzip -d zerotier-one.gzchmod +x zerotier-onesudo chown root:root zerotier-onesudo mv zerotier-one /usr/sbin/zerotier-onesudo systemctl start zerotier-oneIf everything went okay
sudo zerotier-cli statusshould now say200 info XXXXXXXXXX 1.2.5 ONLINE