Page 1 of 3 123 LastLast
Results 1 to 15 of 42

Thread: DDNS Client Problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Ddns

    I 'm trying to use the DDNS features, but it seems it works properly after each times reset, I need to do it manually to update the IP address, instead of update automatically.

  2. #2

    The old DDNS problem and custom DNS

    Sorry to get back to this subject, but i've trying to solve this thing about DDNS client not updating my ip.

    I thought i had it solved but it's not.

    However i made a new discovey.

    Whenever the DHCP lease is refreshed and i get a new IP address the IP on DynDNS isn't updated, but,...., if on DynDNS config panel i set my domain offline, apply, and set it online again, the IP address is refreshed and the new IP is the current one.

    I gess the problem is with the fact that i have a custom dns and in the ddnsclient script there's a "&system=dyndns" right at the beginning.

    There's nothing logged, not even a info or warning.
    Can't see any messages regarding the DDNS client, not a single one.

    Do you know if the ddnsclient updates the IP as soon as the IP from the wan changes (dhcp get's a new IP) or is it just a "cron" job that runs from time to time, how much sleep time ?

    I've been digging in the script and although i don't see much of scripting i'm willing to try to fix this, but i need your help.

    Would you help me on this problem ?
    I really need the custom DynDNS.

    Thanks again for you help
    Pete
    Last edited by peteredhair; 19-04-2004 at 03:40.

  3. #3

    Unhappy

    Made some changes that i don't know if will work.

    I'd like to be abble to test them, can someone help me do it ?

    How can i upload the changed scripts and pages to the router ?

    I attached the change files.
    Attached Files Attached Files

  4. #4
    I've been doing more tests and here's what i came up with:

    Tested this update url and it worked fine:

    http://test:test@members.dyndns.org/...OFF&offline=NO

    On my router, tried this without success:

    wlanutil nslookup members.dyndns.org

    returns a newline wether the domain is members.dyndns.org or anything else.

    Any hints ?

    Thanks
    Pete

  5. #5
    Join Date
    Feb 2004
    Posts
    103
    Pete,

    here the same basic problem:
    wlanutil nslookup members.dyndns.org gives nothing instead of an IP

    For me the resolution was to hardcode the IP in the ddnsclient script

    So I replaced
    SVRIP=`wlanutil nslookup members.dyndns.org`
    #SVRIP="members.dyndns.org"

    with
    #SVRIP=`wlanutil nslookup members.dyndns.org`
    SVRIP="63.208.196.94"


    A second problem on my side is that my provider does not allow traffic on port 80 (only via proxy server), hence I had to recompile the ddns program to use alternative port 8245 instead of 80

  6. #6
    Join Date
    Apr 2004
    Location
    frankfurt
    Posts
    84

    DDNS with Static IP and Router in Front of wl500g

    hi guys,

    just found out that, dyndns only knows the internal ip of the wl500g. because of its (the wl500g) connected after a sdsl router with static ip. so it only shows 192.168.1.16(DMZ) and not the public ip. the netopia sdsl router received every day a new public ip. is there a chance to get it working?!
    Athlon XP 2200+ runnig on ECS K7S5A
    512 MB DDR
    160 GB Samsung
    Ati Radeon 9500
    System running under Yoper.v2
    Router: WL500g

  7. #7
    I have been able to make it working using scripts.

    You will have to relly on cron to make it run on a regular basis, as it is not detecting any ip change. You can try to run it also as an endless loop, but I don't want to take this risk.

    Here is the script for reference:

    Code:
    [admin@wl-hdd hd2]$ cat ipchange
    #!/bin/sh
    wget -O - http://checkip.dyndns.org | sed -e 's/<\/body><\/html>.*//' |sed -e 's/<html><head><title>Current IP Check<\/title><\/head><body>Current IP Address: //'>/etc/ez-ipupdate/ip
    /usr/sbin/ez-ipupdate --address `cat /etc/ez-ipupdate/ip` -c /etc/ez-ipupdate/ez-ipupdate.conf
    [admin@wl-hdd hd2]$ cat ez-ipupdate.conf
    service-type=dyndns
    user=xxxxxxxxx:password
    host=xxxxxxxxxxxxx.dyndns.org
    cache-file=/etc/ez-ipupdate/cache
    pid-file=/etc/ez-ipupdate/pid
    max-interval=86400

    You will have to create the ez-ipupdate folder by yourself.

    just run this with cron. Be carefull, as you canot use it directly on the startup script, as the update might not work if ran too early.

    Check http://wl500g.dyndns.org to make this change permanent.

    You need full busybox to get cron. Use search on forum to download it, or get it from the wiki download folder.

  8. #8
    Join Date
    Apr 2004
    Location
    frankfurt
    Posts
    84
    thx for your post hugo, your script was very helpful for me. thx a lot.
    i will run it manualy because thats the best way it is working for me.
    Athlon XP 2200+ runnig on ECS K7S5A
    512 MB DDR
    160 GB Samsung
    Ati Radeon 9500
    System running under Yoper.v2
    Router: WL500g

  9. #9

    Update.

    No need to write ip to a file.
    This should also work:
    Code:
    #!/bin/sh
    ez_path="/tmp/harddisk/ez-ipupdate"
    ip=`wget -O - http://checkip.dyndns.org | sed -e 's/<\/body><\/html>.*//' |sed -e 's/<html><head><title>Current IP Check<\/title><\/head><body>Current IP Address: //'`
    /usr/sbin/ez-ipupdate --address $ip -c $ez_path/ez-ipupdate.conf -b $ez_path/cache
    And cron is also included in the newest firmware..

    Sjur

  10. #10

    Can WL500G router update multiple dynamic DYNDNS accounts?

    Hi,

    This is my first post here.. What a great source of information on the WL500G, I have mine a couple of weeks now and very pleased too!

    I have downloaded and installed Oleg's 1.9.2.7-6b successfully.

    The DYNDNS-section seems to be same as ASUS's original. But I have 3 different dynamic DNS accounts over at DYNDNS and I would very much prefer to have them updated by the router instead of running a client in my LAN. Is that possible with the WL500G? (If it needs explanation on LINUX configuration: I'm a total newbee!)

    Any help is very much appreciated!

    Cheerss..

  11. #11
    Only impossible is impossible with the WL500G!.... Can anybody help me with this?

  12. #12
    First thing is probably to figure out what client software the firmware uses for holding DDNS up 2 date.

    After that, figure out how and where the web interface stores the information..

    Finally you can probably use the same method in updating other hosts using a CRON job.

    In dyndns (as in dyndns.org) you can create groups of domains, and update the entire group using the standard web interface - I have used that in the past.
    macsat
    http://www.macsat.com - Tutorials and information on using ASUS WL-500G and family.

  13. #13

    ddns problems in olegs's 1.9.2.7-6b

    My ddns updates are not working at all. Neither automatically nor manually via the webinterfaces. ALso the logs give no hint.

    Now I'm suspicious that ddns is not installed with my firmware.
    Can you tell me where it should be located?
    Do you have other ideas what to try.
    I have been looking around in other threads but couldn't find anything useful yet.

    Thanks for your help!
    Ingo

  14. #14
    I confirm, I had the same problem on my wl500g with Oleg's 1.9.2.7-6b

    I never got it solved in the webinterface. I use a cron job instead now. This is described here: http://wl500g.info/showthread.php?t=4549

  15. #15

    Adding other ddns servers

    Is it possible to add other dynamic dns servers to the router?
    If so I think that www.no-ip.com should be added as it is free...
    Anyway, great work you're doing on the firmware!

Page 1 of 3 123 LastLast

Similar Threads

  1. Превью новой версии прошивки 1.9.2.7-9
    By Oleg in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 804
    Last Post: 14-03-2009, 19:42
  2. WL-500gP and Asus support experience
    By Blezi in forum WL-500gP Q&A
    Replies: 6
    Last Post: 03-12-2006, 12:59

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
  •