Dyndns update geht nicht mehr ?

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC basierende Hardware
Goto page Previous  1, 2, 3 ... 10, 11, 12
Author Message
uffi
DD-WRT User


Joined: 07 Oct 2009
Posts: 208

PostPosted: Sun Oct 31, 2010 22:11    Post subject: Reply with quote
@pepe
Also nach langem beobachten ist mir aufgefallen das, dass Script und cron so gesehen funktioniert.
ABER immer nur einmal nach einem Neustart. Wenn es dann einmal ausgeführt wurde wars das. Wird erst wieder nach dem nächsten Neustart (egal wann) ausgeführt.

Beispiel, ich habe es auf alle 15min gestellt ( 15 * * * * root /usr/tmp/custom.sh ).
Um 4 Uhr startet mein Router neu, dann hab ich um 4:15Uhr ein Update. irgend wann gegen 10Uhr änderte sich meine WAN IP (Modem startete wohl neu). Update kam erst wieder morgends um 4:15Uhr.
Wenn ich dann zwischendurch den Router neu starte kommt 15min später ein Update.



@all
Gibt es sonst was neues zu dem Thema ?
Sponsor
gungott
DD-WRT Novice


Joined: 16 Aug 2009
Posts: 42

PostPosted: Sun Oct 31, 2010 22:23    Post subject: Reply with quote
is auch der falsche code

*/15 * * * * root /usr/tmp/custom.sh

wäre alle 15 min.
uffi
DD-WRT User


Joined: 07 Oct 2009
Posts: 208

PostPosted: Sun Oct 31, 2010 22:28    Post subject: Reply with quote
pepe wrote:
59leerzeichen*leerzeichen*leerzeichen*leerzeichen*

0 * * * *
geht auch



Hier wurde gesagt das währe der für alle 59min, somit müsste doch mit 15 am anfang dann der für alle 15min sein ?
gungott
DD-WRT Novice


Joined: 16 Aug 2009
Posts: 42

PostPosted: Sun Oct 31, 2010 22:31    Post subject: Reply with quote
ich glaub jede stunde und dann nach 15 minuten..
gungott
DD-WRT Novice


Joined: 16 Aug 2009
Posts: 42

PostPosted: Sun Oct 31, 2010 22:33    Post subject: Reply with quote
bei mir gibts mit dem script leider immer ne trennung und ne neue ip .. ka warum .. hab jetzt ein neustart um 0400 und inadyn ..dyndns hat einige server repariert ..
uffi
DD-WRT User


Joined: 07 Oct 2009
Posts: 208

PostPosted: Sun Oct 31, 2010 22:44    Post subject: Reply with quote
einige server heisst aber das es noch immer nicht richtig funktioniert ??
uffi
DD-WRT User


Joined: 07 Oct 2009
Posts: 208

PostPosted: Tue Nov 02, 2010 15:05    Post subject: Reply with quote
Bringt uns das hier weiter ??

http://www.zerigo.com/blog/2010/10/fix-for-inadyn-not-updating

So wurde es in der Fritzbox udn Dreambox behoben.
pepe
DD-WRT Guru


Joined: 16 Jun 2006
Posts: 2427
Location: Berlin, Germany

PostPosted: Tue Nov 02, 2010 16:27    Post subject: Reply with quote
Da kann man mal sehen wie aufmerksam du hier liest diese Lösung oder besser gesagt dieser Workaround wurde bereits auf Seite 1 des Threads genannt! Rolling Eyes Twisted Evil
_________________
http://www.dd-wrt.com/phpBB2/search.php?
http://www.dd-wrt.com/wiki/index.php/Main_Page
http://www.dd-wrt.com/wiki/index.php/Category:Deutsche_Dokumentation

http://i-use.ipfire.org/profile/454051a193d29c9019ea3d0ce3c4b801435fd682/0.png
uffi
DD-WRT User


Joined: 07 Oct 2009
Posts: 208

PostPosted: Thu Jan 13, 2011 10:36    Post subject: Reply with quote
Ist das Problem schon wieder da ??

Auf zwei Routern seid eben die Meldung:

Quote:
Thu Jan 13 04:00:43 2011: INADYN: Started 'INADYN Advanced version 1.96-ADV' - dynamic DNS updater.
Thu Jan 13 04:00:43 2011: INADYN: IP read from cache file is xxxxxxx. No update required.
Thu Jan 13 04:00:43 2011: I:INADYN: IP address for alias xxxxxxxxx needs update to xxxxxxx
Thu Jan 13 04:00:44 2011: I:INADYN: Alias xxxxxxxxxx to IP xxxxxxxxx updated successfully.
Thu Jan 13 07:43:08 2011: INADYN:IP: Error 0x83 in recv()
Thu Jan 13 07:43:08 2011: W: DYNDNS: Error 'RC_IP_RECV_ERROR' (0x15) when talking to IP server
Thu Jan 13 07:43:08 2011: W:'RC_IP_RECV_ERROR' (0x15) updating the IPs. (it 22)
Mr.Richi
DD-WRT User


Joined: 03 Nov 2010
Posts: 87

PostPosted: Mon Jan 17, 2011 20:48    Post subject: Reply with quote
Ich kann die Meldung bestätigen, bei mir heute das selbe.

Ist das bekannt ?
Gibt es da ein Update oder sonst was ?

Zwischenzeitlich ging es ja wohl sehr gut.
Mr.Richi
DD-WRT User


Joined: 03 Nov 2010
Posts: 87

PostPosted: Thu May 05, 2011 8:34    Post subject: Reply with quote
pepe wrote:
Code:
#!/bin/sh
#
# Christer Johansen - March 28th 2008
# Simple and hopefully failsafe script to update your dyndns.org account
# Written for routers with dd-wrt firmware and only testet on dd-wrt
# Should be run by cron as often as you want to check for an ip address change
# Will only update your domain on dyndns.org when an ip address change is detected
# or when a number of days as specified by FORCEUPDATE has passed since the last update
#
# Edit the variables below to suit your setup
# USERNAME = Your username at dyndns.org
# PASSWORD = Your password at dyndns.org
# DYNHOST = Your domain at dyndns.org
# FORCEUPDATE = After this number of days an update will be forced even if your ip address has not changed
#
USERNAME=yourusername
PASSWORD=yourpassword
DYNHOST=yourdomain.dyndns.org
FORCEUPDATE=10

# By editing below this line you agree that you know what you're doing :)
#
# Some logfiles that is used by this script
IPFILE=/tmp/dyndns.ip
LOGFILE=/tmp/dyndns.log
LASTUPDATE=/tmp/dyndns.lastupdate

DATE=`date +%s`
LASTDATE=$((`cat $LASTUPDATE`))
DATEEXPIRE=`expr $LASTDATE + $((86400 * $FORCEUPDATE))`

OLDIP=`cat $IPFILE`
wget -q -O - http://checkip.dyndns.com/ | \
sed -e "s#^[^0-9]\+\([0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\)[^0-9]\+...\$#\1#g" > $IPFILE
IP=`cat /tmp/dyndns.ip`

if [ "$DATE" -ge "$DATEEXPIRE" ]
then
        # Time for a forced update
        wget -q -O $LOGFILE \
        http://$USERNAME:$PASSWORD@members.dyndns.org/nic/update?hostname=$DYNHOST&myip=$IP
        date +%s > $LASTUPDATE
elif [ "$OLDIP" != "$IP" ]
then
        # Our IP has changed, do the update
        wget -q -O $LOGFILE \
        http://$USERNAME:$PASSWORD@members.dyndns.org/nic/update?hostname=$DYNHOST&myip=$IP
        date +%s > $LASTUPDATE
fi

Als Custom Script abspeichern dann per ssh auf den router und ./custom.sh eintippen dann enter




Kann man das auch umschreiben das es No-Ip updatet ?
Währe super von euch wenn das einer für mich machen könnte.
uffi
DD-WRT User


Joined: 07 Oct 2009
Posts: 208

PostPosted: Tue Nov 06, 2012 15:12    Post subject: Reply with quote
Ich antworte mal hier, es geht um das Problem von den ersten seiten.

Geht INADYN wieder zuverlässig ?

Ich habe seid 2 Jahren dyndns spezifisch eingetragen, heute dann auf zwei Routern der Fehler:

Code:
Tue Nov 6 15:20:00 2012: W:'RC_DYNDNS_INVALID_RSP_FROM_IP_SERVER' (0x42) updating the IPs. (it 0)



Version nutze ich die:

DD-WRT v24-sp2 (10/10/09) std
(SVN revision 13064)
Goto page Previous  1, 2, 3 ... 10, 11, 12 Display posts from previous:    Page 12 of 12
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC basierende Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum