Last active
December 10, 2015 02:19
-
-
Save alicraigmile/4366866 to your computer and use it in GitHub Desktop.
EasyDNS based dynamic dns update on a Netgear dg834gt router.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Research: | |
* http://www.darryl.cain.com.au/dg834gt.php | |
* http://linux.die.net/man/8/ez-ipupdate | |
To enable debugging mode on your Netgear DG834GT: | |
http://192.168.0.1/setup.cgi?todo=debug | |
Then telnet to 192.168.0.1 and type: | |
/usr/sbin/ez-ipupdate -s members.easydns.com -S dyndns-custom -u USERNAME:PASSWORD -i ppp0 -g /dyn/dyndns. | |
to make this update on a regular basis (daily at 12pm): | |
cp /etc/crontab > /etc/_crontab_orig | |
cat >> /etc/crontab << EOT | |
0 12 * * * root /usr/sbin/ez-ipupdate -s members.easydns.com -S dyndns-custom -u USERNAME:PASSWORD -i ppp0 -g /dyn/dyndns.php -h YOURHOSTNAME | |
EOT | |
Be sure to disable the normal dyndns settings via the web interface, then: | |
RESET YOUR ROUTER!!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment