I've now had an issue with my Dynamic DNS client (inadyn) on m Buffalo router (DD-WRT v24-sp2 (02/17/11) std - SVN revision 16214), where it doesn't want to query an external website to get my IP address (which is specified with '--ip_server_name $5 $6').
Instead, the app is simply using the $(nvram get wan_ipaddr). I do remember that someone else also had this issue in this thread, and no one seemed post a solution yet.
Here is the ddns code that will correct that issue:
I'm just not 100% sure if that modification would work when the connection dropped and you got a new IP address...Code:ddns () { mkdir /tmp/ddns$ppn echo "nvram set wan_ipaddr=\$addr">> /tmp/build.ppp$ppn echo "inadyn --background --dyndns_system $1 -u $2 -p $3 -a $4 --wildcard --update_period_sec 360 --forced_update_period 2419200 --log_file /tmp/ddns$ppn/ddns.log --cache_dir /tmp/ddns$ppn --exec ddns_success">> /tmp/build.ppp$ppn }










Reply With Quote


Bookmarks