inadyn help required

si_1976

Vu+ Newbie
I am currently using Open blackhole with the latest updates . I have inputted all my details into inadyn but everytime I press the red button to activate it does nothing, and the status stays as stopped. I have found a script online which I have used and does work which when inadyn.sh is replaced with allows you to press the red button and inadyn actually starts. only thing is the last 2 times I have done this it has given my modem/wireless some kind of virus and I then start having all sorts of issues with my wlan, I have had to reset my modem and reconfigure twice. I am pasting the script below can somebody please advise what is wrong with it as it actually does work minus the virus. just want to be able to start the script which manually doing on the box is not allowing me to do. thanks in advance for your help

#!/bin/sh
DAEMON=/usr/bin/inadyn
NAME=inadyn
DESC="InaDyn dynamic DNS Client"
INADYN_ON=1
INADYN_USERNAME=test@gmail.com
INADYN_PASSWORD=s********
INADYN_ALIAS=********.no-ip.org
UPDATE_PERIOD=3600000
LOG_FILE_ON=1
LOG_NAME=/var/log/inadyn.log
DYN_SYSTEM_ON=1
DYN_SYSTEM=default@no-ip.com
test -f $DAEMON || exit 0
set -e
case "$1" in
start)
if [ $INADYN_ON -ne 0 ]; then
ARGS="-u $INADYN_USERNAME -p $INADYN_PASSWORD -a $INADYN_ALIAS --update_period $UPDATE_PERIOD"
if [ $LOG_FILE_ON = 1 ]; then
ARGS="$ARGS --log_file $LOG_NAME"
fi
if [ $LOG_FILE_ON = 2 ]; then
ARGS="$ARGS --syslog"
fi
if [ $DYN_SYSTEM_ON -ne 0 ]; then
ARGS="$ARGS --dyndns_system $DYN_SYSTEM"
fi
echo -n "starting $DESC: $NAME... "
start-stop-daemon -S -b -n $NAME -a $DAEMON -- $ARGS
echo "done."
fi
;;
stop)
echo -n "stopping $DESC: $NAME... "
start-stop-daemon -K -n $NAME
rm $LOG_NAME
echo "done."
;;
restart)
echo "restarting $DESC: $NAME... "
$0 stop
$0 start
echo "done."
;;
reload)
echo -n "reloading $DESC: $NAME... "
killall -HUP $(basename ${DAEMON})
echo "done."
;;
*)
echo "Usage: $0 {start|stop|restart|reload}"
exit 1
;;
esac
exit 0
 

si_1976

Vu+ Newbie
anybody got any help how i can manually start inadyn maybe through telnet or something as obviously cannot do on box details are all there, some one please help ??
 
Top