Results 1 to 10 of 10

Thread: Maintainin multiple dyndns accounts from wl500g.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    I don't know if you will find my solution more elegant, but it's simple

    I created /etc/ddns.conf:

    Code:
    daemon
    period=300
    retrys=2016
    resolv-period=300
    max-interval=2073600 #24 days in sec
    interface=ppp0
    service-type=dyndns
    user=<<username>>:<<password>>
    host=<<host1>>,<<host2>>...
    wildcard
    then I put the folloving line into /usr/local/sbin/post-mount (has to be executable):

    Code:
    #!/bin/sh
    ...
    ez-ipupdate -c /etc/ddns.conf
    there will be checked every 5min if the IP address changed, if yes, it will be updated at dyndns

    on the web interface dyndns client is set to no

  2. #2
    Slightly deviating from the post,

    I have noticed that my wl-500 doesnt auto update the dyndns settins i have entered. I have checked though the logs and cant see any record of it doing this.

    I will attempt to fall back on don tunante's solution as I only have a single domain to update. Just would like to comment on a few things as im new to the *nix game.

    daemon Not sure what this line does
    period=300 is this the 5 min timer, i assume that due to my high lease time I could set this to 2/3 days at a time?
    retrys=2016 Not sure what this line does
    resolv-period=300 Not sure what this line does
    max-interval=2073600 #24 days in sec Not sure what this line does
    interface=ppp0 this is the wan port
    service-type=dyndns Is this just a lable for the service?
    user=<<username>>:<<password>> Username and password for dyndns
    host=<<host1>>,<<host2>>... Multiple dyndns accounts
    wildcard Domain wild card

    Now would this file be called ddns.conf and that configs made executable?

    Then a line is added to /usr/local/sbin/post-mount to run the script, Correct?
    and I thanks to your post, I understand I have to disable the gui dyndns update (which does not work atm for myself)

    I have cron already running, and would like to get the dyndns problem sorted.

    Thanks for the post, if you could answer my comments this would be great.

    Thanks

    Imp

  3. #3
    daemon ez-ipupdate will run as a daemon, stays running
    period=300 period between update attempts, checks every 5 min. if public IP address has changed
    retrys=2016 if the update process fails it will try 2016 times
    resolv-period=300 time between failed resolve attempts
    max-interval=2073600 max. time between updates see why
    interface=ppp0 ip of this interface will be monitored
    service-type=dyndns service, like in the drop-down list in the GUI
    user=<<username>>:<<password>> Username and password for dyndns
    host=<<host1>>,<<host2>>... host names registered at dynDNS
    wildcard enable wildcard

    I gave the name for this configuration file /etc/ddns.conf, and it hasn't to be executable

    /usr/local/sbin/post-mount has to be executable and include the line
    Code:
    ez-ipupdate -c /etc/ddns.conf
    yes, you have to disable the DynDNS feature in the GUI

    using this configuration file you don't need cron, as ez-ipupdate will run as a daemon and check every 5 min. if the IP address of the ppp0 interface has changed (you can't be sure, when exactly it will change, even in case of a longer lease time), if yes, then updates it at DynDNS, and if there is no connection to DynDNS, it will keep trying 2016 times, every 5 min. (1 week)

    More about ez-ipupdate

  4. #4
    Thanks for the great reply,

    One more question....

    do I have to keep the << >>'s around my ursername and password/host?

    Edit, you dont need the << >>'s and I had to change my interface=ppp0 to interface=vlan1


    Imp
    Last edited by impossible; 20-04-2006 at 23:47.

  5. #5
    Hi guyz

    I've configured ez-ipupdate to maintain one dynamic domain, and it works perfectly.

    Now, I'ld like to maintain multiples domains, which are not hosted by the same service (dyndns and zoneedit, by the way).
    Does anyone know how to do this ? I've tried 2 differents configuration files, but it seems to be impossible tu run multiple instances of ez-ipupdate.

    Thanks in advance

  6. #6
    Helooooo
    @don tunante: Thanks for the tut. It work great.

  7. #7
    Join Date
    Nov 2004
    Location
    Sweden
    Posts
    259

    wildcard in .conf file

    I have detected that the "wildcard" parameter in the .conf file for ez-ipupdate does not properly applies with dyndns.org. I can see in dyndns.org the IP gets updated but the wildcard checkbox.

    One thing that seems somehow strange in the .conf file is that the "wildcard" parameter stands alone and not belonging to any specific domain. Does it mean that all multiple domains defined in the .conf file will be affected by this parameter? In dyndns.org every domain has its own wildcard checkbox.

    I have not found how to get this to work yet.
    Last edited by Tamadite; 29-05-2007 at 22:38.

  8. #8
    Hi there, I have a question in regards of this line:

    interface=ppp0 ip of this interface will be monitored
    Should it be the same for both DSL and Cable modem connections?

    Thanks.
    Last edited by sonice; 24-12-2007 at 19:39.

  9. #9
    Quote Originally Posted by sonice View Post
    Hi there, I have a question in regards of this line:



    Should it be the same for both DSL and Cable modem connections?

    Thanks.

    ppp0 is suitable for PPPOE connections, for DHCP connections it's

    Code:
    interface=vlan1

Similar Threads

  1. Router doesn't see USB disk anymore
    By Styno in forum WL-500g Q&A
    Replies: 7
    Last Post: 15-08-2006, 08:37
  2. Firmware v1.7.5.6 CR5 [Oleg]
    By Oleg in forum WL-500g Firmware Releases
    Replies: 43
    Last Post: 14-07-2004, 21:54
  3. Total crash every day
    By Djuri in forum WL-500g Q&A
    Replies: 8
    Last Post: 09-06-2004, 09:05

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •