Setari Inadyn

User avatar
andym02
Advanced User
Posts: 923
Joined: 06 Mar 2014 19:18
Location: Belgravistan
Contact:

Re: Setari Inadyn

Unread postby andym02 » 19 Apr 2015 07:20

Dimineata am descoperit acelasi lucru , nici cu setarea de 60000 ms n'a functionat , in schimb ieri toata ziua n'am avut problema ......... Sa omit vre'o setare ?
O sa incerc sa'i schimb img. , innainte am avut Evolution 2.7 a functionat f.bine .

:goodj :tnks:
User avatar
zmeura
Site Admin
Posts: 4513
Joined: 10 Sep 2013 20:42

Re: Setari Inadyn

Unread postby zmeura » 19 Apr 2015 08:24

Nu mai citesc de la capat,nu mai stiu ce ai scris,dar probabil nu ai setat ceva bine.Inafara de faptul ca in meniu trebuie sa apara cu verde poate ar fi bine sa te uiti peste scriptul inadyn manual,prin FTP.Eu il am in var/script si arata asa:

Code: Select all

#!/bin/sh
DAEMON=/var/bin/inadyn
NAME=inadyn
DESC="InaDyn dynamic DNS Client"
INADYN_ON=0
INADYN_USERNAME=vasile@yahoo.com
INADYN_PASSWORD=parola
INADYN_ALIAS=vasile.no-ip.org
UPDATE_PERIOD=90000
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


Inafara de:

INADYN_USERNAME=vasile@yahoo.com
INADYN_PASSWORD=parola
INADYN_ALIAS=vasile.no-ip.org

ar trebui sa ai cam aceeasi treaba.Verifica si DAEMON=/var/bin/inadyn sa aiba calea exacta catre bin,vezi prin FTP daca e acolo unde scrie in scriptul tau.

PS: Da drumul si la log-ul ala ca la mine si apoi dupa ce il pornesti sau dupa un timp vezi ce apare in var/log/inadyn ca numai asa poti afla de ce nu merge.
.
"Sa fie bine ca sa nu fie rau"
User avatar
andym02
Advanced User
Posts: 923
Joined: 06 Mar 2014 19:18
Location: Belgravistan
Contact:

Re: Setari Inadyn

Unread postby andym02 » 19 Apr 2015 09:58

Il tot " bibilesc " , se pare ca la... INADYN_USERNAME=vasile@yahoo.com era problema , aici foloseam username , nu adresa de maill .
Insa dupa cum am spus , ieri si alaltaieri a functionat pe timp de zi f. bine , dimineata il gaseam " inghetat " :hehih:
Sa vedem maine ........

:tnks: :tnks: :tnks:
User avatar
zmeura
Site Admin
Posts: 4513
Joined: 10 Sep 2013 20:42

Re: Setari Inadyn

Unread postby zmeura » 19 Apr 2015 10:09

"Functioneaza" daca nu se schimba IP-ul,banuiesc.
.
"Sa fie bine ca sa nu fie rau"
User avatar
andym02
Advanced User
Posts: 923
Joined: 06 Mar 2014 19:18
Location: Belgravistan
Contact:

Re: Setari Inadyn

Unread postby andym02 » 19 Apr 2015 12:07

Mare lucru nu cred c'o sa reusesc , uite ce'mi apare in inadyn.log :
W: DYNDNS: Error 'RC_IP_RECV_ERROR' (0x15) when talking to IP server
W:'RC_IP_RECV_ERROR' (0x15) updating the IPs. (it 53)
INADYN:IP: Error 0x68 in recv()
W: DYNDNS: Error 'RC_IP_RECV_ERROR' (0x15) when talking to IP server
W:'RC_IP_RECV_ERROR' (0x15) updating the IPs. (it 64)
INADYN:IP: Error 0x68 in recv()
W: DYNDNS: Error 'RC_IP_RECV_ERROR' (0x15) when talking to IP server
W:'RC_IP_RECV_ERROR' (0x15) updating the IPs. (it 67)
W: DYNDNS: Error 'RC_IP_CONNECT_FAILED' (0x13) when talking to IP server
W:'RC_IP_CONNECT_FAILED' (0x13) updating the IPs. (it 81)
W: DYNDNS: Error 'RC_IP_CONNECT_FAILED' (0x13) when talking to IP server
W:'RC_IP_CONNECT_FAILED' (0x13) updating the IPs. (it 82)

Return to “DM500”

Who is online

Users browsing this forum: No registered users and 14 guests