We are testing the rPi 3 and the piawere 3 to see if it make sense to upgrade all of our system that run the previous Pi/piaware. The red is located all over Baja California and the West side of Mexico on the Sea of Cortez and growing.
As we accessed all of the remotely we are using weaved and dyn.com. For the dyn.com and after loading the DNS service we always used this command:
sudo /etc/init.d/ddclient start # It always worked but NOT now.
Only if I do this now it works:
cd /etc/init.d
sudo ddclient start # It loads and refresh the iP on the dyn.com fine and I can see the down counter with:
sudo ps -ef | grep ddclient
My question is why the first command is not executing?
I need to place the command in the start-up, with:
sudo update-rc.d ddclient defaults But now it does not start at reboot.
These worked fine for all our 20 pi 2 and the previous piaware.
Any suggestions? I Think this is part of the new scheme of permissions and location of files and folders in piawere3. Very annoying.
If you are starting from the sdcard image it has a relatively minimal set of packages installed; you will need to add extra packages that you need yourself.
ddclient appears to be part of the “ddclient” package: try “sudo apt-get install ddclient”.
It’s not clear from your comment whether it’s missing or whether it’s there but your previous set of instructions no longer work.
The piaware 3 image (and more recent 2.1 images) are based on Raspbian jessie, not Raspbian wheezy, so the packages are more recent; you will need to investigate how they want to be configured. Maybe they are systemd based not init.d based now.
There is no “new scheme of permissions and location of files and folders in piawere3”, it’s just the usual Raspbian layout.
I am using the piawere 3 (latest ver …04) downloaded from FA. I did upload succesfuly the dyn client with same command you typed. Also I typed the config as I have done it 20 times before.
As I said ddclient LOADS and WORKS fine only when invoked from ITS directory, so you need to move to /etc/int.d first. But I need to invoke the command to load ddclient it after a reboot.
That is what I am after how to place the ddclient command on the update-rc.d to load the service automatcaly after a reboot. Or do I need to added to a cron instead.
Doesn’t the software author have procedures on installing and running their software on Debian Jessie?
I think your problem stems from the way Linux has migrated. The program author should have advice/instructions on running it in Jessie.
I’d start with the latest package and install that, and then fill in the blanks with your configuration, wherever their package install puts the config.
The way Jessie works is “service name-of-service start”
So that software probably has an equivalent after it is installed new.