[RELEASE] INADYN Service Add-on - Simple Dynamic DNS client.
#16
Did you try arch arm version of inadyn? İf it is working i can add it to add-on.
Reply
#17
I actually got the http://www.inatech.eu/inadyn/ working, or so I believe
Reply
#18
Then you can change binary file you are using with add-on binary file. You can use my add-on.
Reply
#19
Hi,

I am about to update this service add-on for frodo but I need your help guys. I change original inadyn with this: https://github.com/troglobit/inadyn

I build it for i386 but I need also x86_64 & ARM(for RPi) binary files for making this add-on more systems.

If you want to help just clone that git and build it then upload somewhere. Of course first control is it working or not.

Update: I build i686/x86_64_arm binary. It's ready to use.
Reply
#20
I dropped Eden support. Now all change log belongs to Frodo

Code:
version 2.0.3 (31.12.2012)
-i386/i686/x86_64/arm binary support
-cosmetic

version 2.0.2 (24.12.2012)
-use jsonrpc notification insted of executebuiltin
-updated to 1.98.1 from https://github.com/troglobit/inadyn
-cosmetic
Reply
#21
can you fix this to work with APPLE TV 1 as that can run the OPENELEC software, but of course has some differences.

Will also ask on the APPLE TV discussion forum of OPENELEC to see if it can be updated.
Reply
#22
I will check what can I do. I am not sure how to compile this for ATV.

But you have to wait until end of July. Holiday time :)
Reply
#23
(2013-07-02, 11:39)queeup Wrote: I will check what can I do. I am not sure how to compile this for ATV.

But you have to wait until end of July. Holiday time Smile

Understood about holiday time. Of course let me know when you are done, so I can experiment with the result.

Seems like a vital tool to have, if I want to FTP files into or remove from a remote ATV1.
Reply
#24
QUEEUP - let me know what I can find to help you with this. Will try to find what others use for compile tools in the ATV XBMC community and post links here.
Reply
#25
Queeup - thanks for creating an ATV1 version for this. but as stupid as I am, can not find the directory in my ATV1 that contains the inadyn.i386 file that needs to be replaced with inadyn.atv1 post installation of inadyn.

any tips on where to look? tried the ADDIN directory and the repository directory. The whole platform is running a version of linux if that helps in advice.
Reply
#26
Found the location and seem to have it working
Reply
#27
diff 2.0.5 <-> 2.0.6

Code:
service.inadyn: updated to v2.0.6
-inadyn binary updated to 1.99.4
-added --cachefile option
Reply
#28
Thank you very much. Have installed this on an openelec installation of atv1 with a command line vpn. Works brilliantly.
Macmini Server 2011 i7 Quad Core, OS 10.8.2, Amp Onkyo TX-SR308 USB WD drives 3x2TB TV Samsung Plasma 720p EyeTV Integration
There are only 10 kinds of people in this world, those who understand binary, and those who don't.



Reply
#29
Hi queeup,

I have a fatal error response [401 Unauthorized] badauth
Here is my log:

Sun Sep 14 15:43:48 2014: Inadyn version 1.99.9 -- Dynamic DNS update client.
Sun Sep 14 15:43:48 2014: Resolving hostname xxxxxxxx.no-ip.info => IP# 95.22.88.55
Sun Sep 14 15:43:48 2014: Checking for IP# change, connecting to ip1.dynupdate.no-ip.com(8.23.224.121:80)
Sun Sep 14 15:43:48 2014: Querying DDNS checkip server for my public IP#: GET / HTTP/1.0^M
Host: ip1.dynupdate.no-ip.com^M
User-Agent: inadyn/1.99.9 [email protected]^M
^M
Sun Sep 14 15:43:48 2014: Checked my IP, return code: 0
Sun Sep 14 15:43:48 2014: IP server response:
Sun Sep 14 15:43:48 2014: HTTP/1.1 200 OK^M
Server: nginx^M
Date: Sun, 14 Sep 2014 13:43:48 GMT^M
Content-Type: text/html^M
Connection: close^M
^M
95.22.73.85
Sun Sep 14 15:43:48 2014: Current public IP# 95.22.73.85
Sun Sep 14 15:43:48 2014: Update forced for alias xxxxxxxxx.no-ip.info, new IP# 95.22.73.85
Sun Sep 14 15:43:48 2014: Sending IP# update to DDNS server, connecting to dynupdate.no-ip.com(8.23.224.120:80)
Sun Sep 14 15:43:48 2014: Sending alias table update to DDNS server: GET /nic/update?hostname=xxxxxxxxx.no-ip.info&myip=95.22.73.85 HTTP/1.0^M
Host: dynupdate.no-ip.com^M
Authorization: Basic cmFpdmFuMjA6bW9mZXRhbWFuODE=^M
User-Agent: inadyn/1.99.9 [email protected]^M
^M
Sun Sep 14 15:43:49 2014: DDNS server response: HTTP/1.0 401 Unauthorized^M
Date: Sun, 14 Sep 2014 13:43:48 GMT^M
Server: Apache/2^M
Content-Location: update.php^M
Vary: negotiate^M
TCN: choice^M
WWW-Authenticate: Basic realm="No-IP DNS Update API"^M
Content-Length: 7^M
Connection: close^M
Content-Type: text/plain; charset=UTF-8^M
^M
badauth
Sun Sep 14 15:43:49 2014: Fatal error in DDNS server response:
Sun Sep 14 15:43:49 2014: [401 Unauthorized] badauth
Sun Sep 14 15:43:49 2014: Error response from DDNS server, exiting!

Thanks
Reply
#30
Just a small update / Bug report.

Symptom
Trying to run the add-on on Rasberry Pi 2 fails , producing a Script Failed Error message and no inadyn error log. You can enable debugging and tail the ~/.kodi/temp/kodi.log file if you need further details.

Cause
Line 62 of service py queries uname to guess the name of the executable to run based on host architecture.
Code:
self.INADYN_EXEC = '%s/bin/inadyn.%s' % (__path__, os.uname()[4])

The main issue is that Pi1 runs in armv6l architecture while Pi2 runs in armv7l. The executable file is fully compatible since v7 extends v6 and adds some extra instruction sets, so the program can run, but the python script is looking for a file that does not exit.

Fix
As a temporary fix I recommend that people just copy or create a symbolic link instead of messing with the service code.Ssh into the machine using default username and password and run either of the following lines:

Next plugin update could check for the existence of that file/link and remove update it, or use a regex maching trick on the python code, in order to not break the functionality of inadyn in systems who applied this fix.

Create symbolic link
Code:
ln -s ~/.kodi/addons/service.inadyn/bin/inadyn.armv6l ~/.kodi/addons/service.inadyn/bin/inadyn.armv7l
or
Code:
ln -s /storage/.kodi/addons/service.inadyn/bin/inadyn.armv6l /storage/.kodi/addons/service.inadyn/bin/inadyn.armv7l

Copy File
Code:
cp ~/.kodi/addons/service.inadyn/bin/inadyn.armv6l ~/.kodi/addons/service.inadyn/bin/inadyn.armv7l
or
Code:
cp /storage/.kodi/addons/service.inadyn/bin/inadyn.armv6l /storage/.kodi/addons/service.inadyn/bin/inadyn.armv7l
Reply

Logout Mark Read Team Forum Stats Members Help
[RELEASE] INADYN Service Add-on - Simple Dynamic DNS client.2