I have a Raspberry Pi 3 running a webserver on Ubuntu Snappy Core 16, and I'm usind dynamic DNS to address to my IP. I use NO-IP for a free dynamic DNS and it requires an update every 30 days or it expires. They offer packages for their own Dynamic DNS Update Client, but as far as I know, I'm not able to install these programs with the Snappy Core. My router doesn't support this, so I can't setup it that way.
Is there a way to setup these scheduled updates with Snappy Core 16? Still a bit new with these systems so simpler solutions are preferred.
wget
on a classic machine andscp
over. – kyrofa Dec 06 '16 at 20:57sudo snap install classic --devmode --edge
will get you the required snap, andsudo classic
will get you into a new shell with the ability to useapt
, etc. – kyrofa Dec 06 '16 at 21:15Solution 1: I installed the classic mode and required packages to make the install. However I didn't manage to do this this way as it errors when I try to build it.
(classic)myusername@localhost:/usr/local/src/noip-2.1.9-1$ sudo make
gcc -Wall -g -Dlinux -DPREFIX="/usr/local" noip2.c -o noip2 noip2.c:136:19: fatal error: stdio.h: No such file or directory compilation terminated. Makefile:25: recipe for target 'noip2' failed make: *** [noip2] Error 1
– Make465213 Dec 10 '16 at 13:35binaries
directory. Also, snaps are very confined regarding where they can write files, see Where can Ubuntu snaps write data for more information. You might have to customize the snap a little to your needs. – kyrofa Dec 10 '16 at 16:57