Installed Optware
Installed Cron
Made Crontab for DDNS @ freedns.afraid.org
- crontab | +
- SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/opt/sbin:/opt/bin
MAILTO=""
HOME=/
# ---------- ---------- Default is Empty ---------- ---------- #
* * * * * root wget --spider "http://freedns.afraid.org/dynamic/update.php?UxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxQ==" >/dev/null 2>&1
From telnet this cmd
wget --spider "http://freedns.afraid.org/dynamic/update.php?UxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxQ==" >/dev/null 2>&1update my IP
Cron doesn't
Found this in /tmp/.log
- .log | +
- Feb 19 17:30:01 192 cron.info /opt/sbin/cron[2500]: (root) CMD (wget --spider "http://freedns.afraid.org/dynamic/update.php?UxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxQ==" >/dev/null 2>&1^M)
Feb 19 17:31:01 192 cron.info /opt/sbin/cron[2824]: (root) CMD (wget --spider "http://freedns.afraid.org/dynamic/update.php?UxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxQ==" >/dev/null 2>&1^M)
Feb 19 17:32:01 192 cron.info /opt/sbin/cron[3152]: (root) CMD (wget --spider "http://freedns.afraid.org/dynamic/update.php?UxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxQ==" >/dev/null 2>&1^M)
Feb 19 17:33:01 192 cron.info /opt/sbin/cron[3473]: (root) CMD (wget --spider "http://freedns.afraid.org/dynamic/update.php?UxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxQ==" >/dev/null 2>&1^M)
Looks like its not going out to freedns.afraid.org
Any suggestions will be highly appreciated ?