Page 1 of 1
Useful commands
Posted: 27 Mar 2015 13:02
by cpighin

Hello There,
please consideri that I'm new to Z-wave, so be "very elementary" in responding
I have recently purchased a Raspberry PI 2 and a RazBerry module and I tried everything: apparently hardware works a expected.
In the
Discussioni in Italiano Section, SolarFlor posted commands to stop and restart the z-way server .
I gave the command to stop the RPI2, by a Desktop terminal of Rasbberry, which I accessed from the PC, and I got the following response
Code: Select all
root @ raspberrypi: / # sudo /etc/init.d/Z-Way stop
sudo: /etc/init.d/Z-Way: command not found
I thought the command was wrong because, acting as Administrator from the terminal, there was no need of
sudo .
Then I changed the command and I got:
Code: Select all
root @ raspberrypi: / # /etc/init.d/Z-Way stop
bash: /etc/init.d/Z-Way: No such file or directory
Where am I wrong?
Claudio

Re: Useful commands
Posted: 27 Mar 2015 13:11
by pz1
The service name has changed since quite a while ago. So try
Code: Select all
sudo /etc/init.d/z-way-server stop
Re: Useful commands
Posted: 27 Mar 2015 13:44
by cpighin
Thanks pz1
you commands were successful
Code: Select all
root@raspberrypi:/# sudo /etc/init.d/z-way-server stop
Stopping z-way-server: done.
root@raspberrypi:/# sudo /etc/init.d/z-way-server start
Starting z-way-server: done.
root@raspberrypi:/#
A couple of questions:
where can I find updated list of commands?
Why it's used
sudo if in the terminal if we have root privileges (see
#)?
Claudio

Re: Useful commands
Posted: 27 Mar 2015 14:02
by pz1
cpighin wrote:
where can I find updated list of commands?
The Developers Documentation (see razberry.z-wave.me) It is the official documentation, but not complete and up to date yet.
Why it's used sudo if in the terminal if we have root privileges (see#)?
Sudo does give you elevated rights, if you do have sufficient rights, you don't need it
Re: Useful commands
Posted: 27 Mar 2015 16:58
by cpighin
cpighin wrote:
where can I find updated list of commands?
pz1 wrote:The Developers Documentation (see razberry.z-wave.me) It is the official documentation, but not complete and up to date yet.
Maybe I'm wrong, but I downloaded zwayDev.pdf (I think the most complete manual) and I couldn't find command to start and stop Z-wave.
Claudio

Re: Useful commands
Posted: 27 Mar 2015 17:29
by pz1
Latest version of
developers documentation from Github does not refer to that either. Found no other documents on that.
End user document nothing.