Official Xtreamer Forums: inadyn package discussion - Official Xtreamer Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

inadyn package discussion

#1 User is offline   TheHijacker 

  • App Installer Guru
  • View blog
  • Group: Developers
  • Posts: 3525
  • Joined: 26-August 09
  • Country:Slovenia

Posted 21 April 2010 - 07:13

This is a nice dynamic IP update tool for dyndns DNS provider.

Before you run it you have to configure it by editing configuration file /etc/inadyn.conf which looks like this:

# let it run in background as daemon
background

# but lets log into log file
log_file /var/log/inadyn.log

# Check for a new IP every 600 seconds
update_period_sec 600

# Enter your DynDNS.com username and password here

# your DynDNS.com username
username YOURLOGIN

# your DynDNS.com password
password YOURPASSWORD

# What kind of host is being updated? Choices are dyndns@dyndns.org, statdns@dyndns.org, custom@dyndns.org
dyndns_system dyndns@dyndns.org

# and the domains you need to update
# alias examplexxx.dyndns.org
alias example1.homeip.net


It think the file is self explained. Basicly you need to edit your username and password and at the bottom the alias domains that you are using. Can be one or many. If you have more then one then just repeat the alias lines and add your domains.

You can eventualy also change the period in which should try to update from default 600 second. Its smart and it will not do the update unless the IP actualy changed. At least thats something it says in manual, but I am unable to test this since I have static IP.

But I did make a test account and some bogus domain. And it sucessfuly updated the IP. This is a nice alternative to myetrayz DDNS since as I read on forum, that domain doesn't get automaticly updated with dynamic IP.
My projects:

APP Installer - easily install additional application and extend the basic usage of your Xtreamer product.
tvheadend guide - guide on how to use the tvheadend TV backend on OpenELEC OS for Ultra

Follow me on my blog.
Subscribe to APP Installer packages RSS feed: eTRAYz, Prodigy/SW3.


If you like my project and want to contribute, you can show your appreciation with a small donation.
0

#2 User is offline   vpeter 

  • Developer and Modder
  • View blog
  • Group: Moderators
  • Posts: 3135
  • Joined: 09-October 09
  • City:basement
  • Country:Slovenia

Posted 21 April 2010 - 07:31

Be carefull with updaters for dynamic IP's. I know few people who configure it wrong and theirs's account has been blocked or deleted because of too many wrong updates.
ShairPort emulates AirPort Express to receive AirPlay audio streams
Please vote for coreboot support on Xtreamer Ultra - coreboot replaces the proprietary BIOS with much faster one - would be great with OpenELEC -- seems this will newer happen
Projects: BBC iPlayer , SVTPlay, my OpenELEC version
normal user, software developer and integrator
You can support my work with paypal donation


#3 User is offline   mccar75287 

  • Former Global Moderator
  • Group: Members
  • Posts: 1369
  • Joined: 17-September 09
  • City:Cork
  • Country:Ireland (Republic)

Posted 22 April 2010 - 12:58

Hi Highjacker , I just wanted to update you on this. I've installed this yesterday morning and my IP changes every 24 hours from my ISP. Within a few minutes of the change this morning, dyddns was showing it had been updated. So this works brilliantly. And unlike ddclient which I previously uninstalled, it doesnt keep my disks awake. My disks still sleep after 10 minutes of inactivity and the inadyn still worked as expected.

Again, brilliant work. Thank you. :ugeek:
HP Proliant Microserver 13TB usable as NAS shared using NFS
Xtreamer mk1 v2.7.0 Wired 100Mb,
iXtreamer v2.7.0, Wired Gbit, HDMI to TH50PZ80-B, 2GB FAT32 usb key
Xtreamer Ultra with 16GB SSD for Openelec, Ultra OS And Boxee, Wired Gbit
Router Hauwuei HG556a 802.11n
NetGear 1000Mbps Switch G5608 v3 Qty 2
Belkin Powerline HD model (1000Mbps) F5D4076-S V2 qty 8
0

#4 User is offline   -=))(( Xtreamer ))((=- 

  • Director
  • Group: Administrators
  • Posts: 1653
  • Joined: 10-April 09
  • Country:Korea South

Posted 22 April 2010 - 14:47

This is very nice addon - but totally useless !!!!

Why on earth you need to use dyndns which is free but limited instead of the DNS name come built in the device.

what more easy than xxxx.myetrayz.net for access ?

it is not limited and totally free.

anyway, THJ is proving himself capable of practically anything on the ET.
Why Pay More ?

#5 User is offline   mccar75287 

  • Former Global Moderator
  • Group: Members
  • Posts: 1369
  • Joined: 17-September 09
  • City:Cork
  • Country:Ireland (Republic)

Posted 22 April 2010 - 21:12

xtreamer said:

This is very nice addon - but totally useless !!!!

Why on earth you need to use dyndns which is free but limited instead of the DNS name come built in the device.

what more easy than xxxx.myetrayz.net for access ?

it is not limited and totally free.

anyway, THJ is proving himself capable of practically anything on the ET.



The reason I'm using it is that the built in DNS doesnt work correctly for me.
It works to update the DNS name only after a reboot.

But since I keep my etrayz running 24/7 it hasnt been rebooted in 3 weeks so that the last time it updated automatically was 3 weeks ago, and before that it was about a month without a reboot. In all that time of 7 weeks, the DNS name xxx.myetrayz.net is never updated except immediatly after the bootup.

I think the fact that I have my disks set to sleep after 10 minutes, prevents the update.
But anyway, the new way works just fine.
HP Proliant Microserver 13TB usable as NAS shared using NFS
Xtreamer mk1 v2.7.0 Wired 100Mb,
iXtreamer v2.7.0, Wired Gbit, HDMI to TH50PZ80-B, 2GB FAT32 usb key
Xtreamer Ultra with 16GB SSD for Openelec, Ultra OS And Boxee, Wired Gbit
Router Hauwuei HG556a 802.11n
NetGear 1000Mbps Switch G5608 v3 Qty 2
Belkin Powerline HD model (1000Mbps) F5D4076-S V2 qty 8
0

#6 User is offline   jonnyspin 

  • Member
  • Group: Members
  • Posts: 64
  • Joined: 23-September 09
  • Country:Country:

Posted 12 June 2010 - 12:50

a couple of Qs:
1. where do you put the /etc/ directory? I've put it under WWW/ - is this correct?
2. how do you know that it has worked?

I use DynDNS updater as a service on a laptop at the moment, but this has the potential to be more useful with the eTrayz on 24/7

thx
0

#7 User is offline   mccar75287 

  • Former Global Moderator
  • Group: Members
  • Posts: 1369
  • Joined: 17-September 09
  • City:Cork
  • Country:Ireland (Republic)

Posted 12 June 2010 - 13:04

jonnyspin said:

a couple of Qs:
1. where do you put the /etc/ directory? I've put it under WWW/ - is this correct?
2. how do you know that it has worked?

I use DynDNS updater as a service on a laptop at the moment, but this has the potential to be more useful with the eTrayz on 24/7

thx


You use the PHP installer to install inadyn but before you start it you should edit the configuration file found in /etc/inadyn.conf

Use vi from an SSH session or some other editor to edit with your personal details.

vi /etc/inadyn.conf

Scroll to where you want to make your changes, press i for insert mode, make the changes, press esc followed by :qw to quit and save.
You'll know its worked if you check the last update time on dyndns account page and you have only the etrayz version running.
HP Proliant Microserver 13TB usable as NAS shared using NFS
Xtreamer mk1 v2.7.0 Wired 100Mb,
iXtreamer v2.7.0, Wired Gbit, HDMI to TH50PZ80-B, 2GB FAT32 usb key
Xtreamer Ultra with 16GB SSD for Openelec, Ultra OS And Boxee, Wired Gbit
Router Hauwuei HG556a 802.11n
NetGear 1000Mbps Switch G5608 v3 Qty 2
Belkin Powerline HD model (1000Mbps) F5D4076-S V2 qty 8
0

#8 User is offline   jonnyspin 

  • Member
  • Group: Members
  • Posts: 64
  • Joined: 23-September 09
  • Country:Country:

Posted 12 June 2010 - 16:12

I'm so bad with Unix! ok, downloaded Putty, logged on as root and made the change.
had to restart the eTrayz as the Installer can't seem to stop the Inadyn service without a fail????

Now I'll leave it running a while and see if it works

thanks!
0

#9 User is offline   hferreira 

  • Member
  • Group: Members
  • Posts: 153
  • Joined: 02-July 10
  • Country:Portugal

Posted 31 August 2010 - 21:22

View Post-=))(( Xtreamer ))((=-, on 22 April 2010 - 14:47, said:

This is very nice addon - but totally useless !!!!

Why on earth you need to use dyndns which is free but limited instead of the DNS name come built in the device.

what more easy than xxxx.myetrayz.net for access ?

it is not limited and totally free.

anyway, THJ is proving himself capable of practically anything on the ET.


Today that the xxx.etrayz.net service is down and I'm reading this topic we all know way :)
0

#10 User is offline   queenmaker 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 11-June 10
  • City:Hong Kong
  • Country:China

Posted 02 September 2010 - 04:03

View Posthferreira, on 31 August 2010 - 21:22, said:

Today that the xxx.etrayz.net service is down and I'm reading this topic we all know way :)

Now prove the reliability of etrayz ddns :!:
0

#11 User is offline   hferreira 

  • Member
  • Group: Members
  • Posts: 153
  • Joined: 02-July 10
  • Country:Portugal

Posted 14 October 2010 - 10:06

The inadyn is great to use as a backup dynamic dns (or even as a primary dynamic dns) and there is no updates since March 2007 however this is a simple application and do very well its work but are installed outside of the home folder and seems that is a package installed by many people so my sugestion is to update the package in the installer to the new installer structure so in the future when the users update the firmware (full install OS version only) this package will still work without reinstall and without reconfigure :wink:.
0

#12 User is offline   Lexa 

  • Member
  • Group: Members
  • Posts: 80
  • Joined: 08-June 09
  • City:Russia
  • Country:Russian Federation

Posted 26 October 2010 - 19:58

I've got a problem with inadyn. After some period of time ceases to update the address on the dyndns. In a lot of log entries with the error:

Quote

W: DYNDNS: Error 'RC_IP_CONNECT_FAILED' (0x13) when talking to IP server
W:'RC_IP_CONNECT_FAILED' (0x13) updating the IPs. (it 0)
W: DYNDNS: Error 'RC_IP_CONNECT_FAILED' (0x13) when talking to IP server
W:'RC_IP_CONNECT_FAILED' (0x13) updating the IPs. (it 1)


Googling and found a description of the problem at DynDNS forum:

Quote

For the last several days, one of the checkip.dyndns.servers has not been providing the checkip service.

A host name lookup of checkip.dyndns.org returns these addresses:

checkip.dyndns.com has address 91.198.22.70
checkip.dyndns.com has address 204.13.248.70
checkip.dyndns.com has address 208.78.69.70
208.78.69.70 has been not responding for a while. Connection attempts currently hang, with an eventual timeout.

There is a bug in inadyn 1.96.2 such that when it gets an error trying to contact an IP server, it will continue to try that same server on every successive try until inadyn is restarted.

...
I have created a patch for inadyn which has a fix for the problem, and have tested it on a Linux system. Until I post it to one of the download sites I could send the source to anyone who is interested.

Soon to be released an update for inadyn.
Lexa
<!-- m -->http://hddlife.com<!-- m -->
0

#13 User is offline   TheHijacker 

  • App Installer Guru
  • View blog
  • Group: Developers
  • Posts: 3525
  • Joined: 26-August 09
  • Country:Slovenia

Posted 27 October 2010 - 12:52

When available I'll make a package of it for APP Installer.
My projects:

APP Installer - easily install additional application and extend the basic usage of your Xtreamer product.
tvheadend guide - guide on how to use the tvheadend TV backend on OpenELEC OS for Ultra

Follow me on my blog.
Subscribe to APP Installer packages RSS feed: eTRAYz, Prodigy/SW3.


If you like my project and want to contribute, you can show your appreciation with a small donation.
0

#14 User is offline   drh104 

  • Newbie
  • Group: Members
  • Posts: 25
  • Joined: 31-March 10
  • City:Ar Riyad
  • Country:Saudi Arabia

Posted 26 June 2012 - 19:16

the special inadyn.conf setup for the Dynamic DNS freedns.afrain.org is as follows

from /etc/inadyn.conf

#####################################

--username userid
--password passwrd
--update_period 600
--forced_update_period 320000
--alias yourdynamic.ip.address,DFESDFDesldlieEIIiikiiKKIikkkljuugilugGFYFTTHF
--background
--dyndns_system default@freedns.afraid.org
--syslog

#####################################


the HASH is found after the following direct URL, just copy the hash after the update.php? as in the red color

http://freedns.afrai...mic/update.php?DFESDFDesldlieEIIiikiiKKIikkkljuugilugGFYFTTHF
0

#15 User is offline   TheHijacker 

  • App Installer Guru
  • View blog
  • Group: Developers
  • Posts: 3525
  • Joined: 26-August 09
  • Country:Slovenia

Posted 26 June 2012 - 19:25

Nice find. Thanks for sharing.
My projects:

APP Installer - easily install additional application and extend the basic usage of your Xtreamer product.
tvheadend guide - guide on how to use the tvheadend TV backend on OpenELEC OS for Ultra

Follow me on my blog.
Subscribe to APP Installer packages RSS feed: eTRAYz, Prodigy/SW3.


If you like my project and want to contribute, you can show your appreciation with a small donation.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users