May 10, 2010 Installation and configuration of inadyn on VTI and VIX images for being able to use service no-ip: 1) Download enigma2-plugin-extensions-inadyn.vuplus1.2-r0mipsel.ipk. 2) Copy it with ftp on the receiver in the /tmp folder 3) connect to the receiver in telnet and type the following command: ipkg install /tmp/enigma2-plugin-extensions-inadyn.vuplus1.2-r0mipsel.ipk 4) Modify in the receiver. How to install Ares Wizard on Kodi 17.6 Krypton. Now that you know Ares Wizard is a very important and must-have maintenance tool, follow the below steps to install Ares Wizard on your Kodi system. The below step-by-step guide works for Fire TV Stick as well as PC (Windows and Mac). Step 1: Launch Kodi on your device.
The problem with this solution is that inadyn does not detect if network is up, and sometimes it updates too much times and server disables your dynamic dns account.
This script works most of the times. It uses dhcp to know when ip has been updated.
#!/bin/sh
# FILE: dhcp3/dhclient-exit-hooks.d/zzz_public_ip
username=*fill in*
password=*fill in*
domain=*fill in*
dns_ip=`host '$domain' |sed -e 's/[A-Za-z. -]* //'`
actual_ip=`wget -q -O - checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'`
function test_network_and_ip_on_dns() {
# Some times ping is not allowed :-(
# case `ping -qnc 1 google.com 2>&1` in
# *'100% packet loss'*)
# logger -t publicIP “The network is DOWN.”
# exit 0
# ;;
# esac
NETSTATUS=`wget -O - www.google.com 2>&1 | grep 'Network is unreachable'`
# echo 'NETSTATUS: $NETSTATUS.'
if [ -z '$NETSTATUS' ] || [ ' '$NETSTATUS' ]; then
test_ip_on_dns
else
logger -t publicIP “Network is DOWN.”
exit 0
fi
}
function test_ip_on_dns() {
if [ '$dns_ip' '$actual_ip' ]; then
logger -t publicIP 'Public IP is $actual_ip'
else
logger -t publicIP 'Updating ip for domain $domain with username $username'
/usr/sbin/inadyn --iterations 1 -u $username -p $password -a $domain
logger -t publicIP 'Public IP is $actual_ip'
fi
}
if [ -z '$reason' ]; then
test_network_and_ip_on_dns
exit 0
fi
case '$reason' in
MEDIUM|ARPCHECK|ARPSEND|NBI|BOUND|RENEW|REBIND)
logger -t publicIP 'Updating public IP. Reason: $reason'
test_network_and_ip_on_dns
;;
EXPIRE|FAIL|TIMEOUT|PREINIT|REBOOT|STOP|RELEASE|*)
logger -t publicIP 'Not updating. Reason: $reason'
;;
esac
This script works most of the times. It uses dhcp to know when ip has been updated.
#!/bin/sh
# FILE: dhcp3/dhclient-exit-hooks.d/zzz_public_ip
username=*fill in*
password=*fill in*
domain=*fill in*
dns_ip=`host '$domain' |sed -e 's/[A-Za-z. -]* //'`
actual_ip=`wget -q -O - checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'`
function test_network_and_ip_on_dns() {
# Some times ping is not allowed :-(
# case `ping -qnc 1 google.com 2>&1` in
# *'100% packet loss'*)
# logger -t publicIP “The network is DOWN.”
# exit 0
# ;;
# esac
NETSTATUS=`wget -O - www.google.com 2>&1 | grep 'Network is unreachable'`
# echo 'NETSTATUS: $NETSTATUS.'
if [ -z '$NETSTATUS' ] || [ ' '$NETSTATUS' ]; then
test_ip_on_dns
else
logger -t publicIP “Network is DOWN.”
exit 0
fi
}
function test_ip_on_dns() {
if [ '$dns_ip' '$actual_ip' ]; then
logger -t publicIP 'Public IP is $actual_ip'
else
logger -t publicIP 'Updating ip for domain $domain with username $username'
/usr/sbin/inadyn --iterations 1 -u $username -p $password -a $domain
logger -t publicIP 'Public IP is $actual_ip'
fi
}
if [ -z '$reason' ]; then
test_network_and_ip_on_dns
exit 0
fi
case '$reason' in
MEDIUM|ARPCHECK|ARPSEND|NBI|BOUND|RENEW|REBIND)
logger -t publicIP 'Updating public IP. Reason: $reason'
test_network_and_ip_on_dns
;;
EXPIRE|FAIL|TIMEOUT|PREINIT|REBOOT|STOP|RELEASE|*)
logger -t publicIP 'Not updating. Reason: $reason'
;;
esac