NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
bnichols
Apr 25, 2009Guide
DNS-O-Matic add-on
Am just trying Super Poussin's new DNS-O-Matic add-on. Installed, disabled, modified the dnsomatic file and restarted the service. There doesn't seem to be a way to confirm that it's working. If I ...
yachtman
Jul 13, 2009Aspirant
super-poussin,
The command results in my correct ip.
However, if I modify the script with the following additional lines, the log results reveal that the commands don't seem to get the path from within the script?
#/c/addons-scripts/DnsOMatic/dnsomatic
From the logfile:
The command results in my correct ip.
However, if I modify the script with the following additional lines, the log results reveal that the commands don't seem to get the path from within the script?
#/c/addons-scripts/DnsOMatic/dnsomatic
IP=$(`which curl` -s http://myip.dnsomatic.com/)
IP2=$(/usr/local/bin/curl -s http://myip.dnsomatic.com/)
WI=$('which curl')
echo $IP ": = IP address with which curl" >> $LOGFILE
echo $WI ": = which curl path" >> $LOGFILE
echo $IP2 ": = IP with full path" >> $LOGFILE
From the logfile:
: = IP address with which curl
: = which curl path
218.186.45.146 : = IP with full path
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!