No-IP.com DDNS Client

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 17:39, 17 May 2005 (edit)
Sveasoft (Talk | contribs)
m
← Previous diff
Revision as of 19:28, 17 May 2005 (edit) (undo)
Sveasoft (Talk | contribs)

Next diff →
Line 17: Line 17:
==Installation== ==Installation==
====Install the NOIP ipkg package==== ====Install the NOIP ipkg package====
- -Find the '''noip''' package in the [http://nthill.free.fr/openwrt/tracker/ OpenWRT Package Tracker].<br> You will need the URI of package to install it.<br> I used http://www.ramereth.net/openwrt/ipkg/noip_1.6.0_mipsel.ipk+ -Find the '''noip''' package in the [http://nthill.free.fr/openwrt/tracker/packages/ OpenWRT Package Tracker].<br> You will need the URI of package to install it.<br>
-telnet or ssh shell into the router -telnet or ssh shell into the router
- -run the command ipkg install -d ''dest_name'' ''URI of package''<br>+ -run the command ipkg install -d &lt;dest_name&gt; &lt;URI of package&gt;<br>
- ''dest_name'' should be ''root'' to install to /jffs+ &lt;dest_name&gt; should be ''root'' to install to /jffs
- ''dest_name'' should be ''ram'' to install to /tmp+ &lt;dest_name&gt; should be ''ram'' to install to /tmp
*Remember, /tmp is deleted on router reboot* *Remember, /tmp is deleted on router reboot*
Ex: ''ipkg install -d ram http://www.ramereth.net/openwrt/ipkg/noip_1.6.0_mipsel.ipk'' Ex: ''ipkg install -d ram http://www.ramereth.net/openwrt/ipkg/noip_1.6.0_mipsel.ipk''
====Editing the noip.config file==== ====Editing the noip.config file====
-More to come once I get my router un-fsk'd+ -Using your method of choice, copy the file /&lt;dest_name&gt;/etc/no-ip.conf<br> to your desktop machine
 + -Using a *nix friendly text editor, edit no-ip.conf to with your [[http://www.no-ip.com NO-IP.com]] account information
 + -fill in your username, and password
 + -fill in the ''hostname'' you would like it to update.
 + -fill in the ''domain'' for that host name.
 + -Alternatively, fill in the group name to update if you have multiple hosts grouped together
 + -''If you are not using one of the fields DOMAIN, HOSTNAME, or GROUP set it equal to ''nothing''.<br>Do not comment fields.
 +ex1: I want it my router to update ''example.no-ip.com'' every 30 minutes
 +<pre>
 +##############################################################################
 +# this is a sample configuration file for noip_updater
 +# it should be changed to contain your values and
 +# placed in /usr/local/lib/no-ip.conf or /usr/local/etc/no-ip.conf
 +# The meaning of each line is desctribed in the README file
 +#
 +LOGIN = login_name@address.ext
-==Usage==+PASSWORD = myP4ssw0rd
 + 
 +HOSTNAME = example
 + 
 +DOMAIN = no-ip.com
 + 
 +GROUP =
 + 
 +DEVICE = YourInternetConnectionDevice
 + 
 +PROXY = N
 + 
 +NAT = Y
 + 
 +DAEMON = Y
 + 
 +INTERVAL = 30
 +#
 +##############################################################################
 +</pre>
 + 
 +ex2: I have a group of hosts setup on my no-ip.com account and would like to update them all at once. The groupname I setup is "examplegroup"
 +<pre>
 +##############################################################################
 +# this is a sample configuration file for noip_updater
 +# it should be changed to contain your values and
 +# placed in /usr/local/lib/no-ip.conf or /usr/local/etc/no-ip.conf
 +# The meaning of each line is desctribed in the README file
 +#
 +LOGIN = no-ip.com@bobpaul.org
 + 
 +PASSWORD = doorRug9
 + 
 +HOSTNAME =
 + 
 +DOMAIN =
 + 
 +GROUP = examplegroup
 + 
 +DEVICE = YourInternetConnectionDevice
 + 
 +PROXY = N
 + 
 +NAT = Y
 + 
 +DAEMON = Y
 + 
 +INTERVAL = 30
 +#
 +##############################################################################
 +</pre>
 + 
 +==Usage & Troubleshooting==
==Load on router startup== ==Load on router startup==
---- ----
'''You are here: ''' '''[[Main Page]]'''/'''[[DD-WRT Doku (EN)]]'''/'''[[No-IP.com DDNS Client]]''' '''You are here: ''' '''[[Main Page]]'''/'''[[DD-WRT Doku (EN)]]'''/'''[[No-IP.com DDNS Client]]'''

Revision as of 19:28, 17 May 2005

You are here: Main Page/DD-WRT Doku (EN)/No-IP.com DDNS Client


Contents

Introduction

There are a few DDNS services already integrated into the web interface for DD-WRT, but my favorite, [1] isn't one of them. While I could easily run No-IP.com's Dynamic Update Client to keep my domain name in sync with my WAN IP address one of my desktop machines, I'd much rather have it running on the router. This wiki will show you how to set it up to automatically run on startup.

Prerequisites

You should already have:
-a Linksys WRT54G product
-DD-WRT installed as the firmware
-SCP or some other way to copy files to and from your desktop setup
-a NO-IP.com account you'd like to synchronise
-some knowledge of using ipkg to install packages
If your running Windows on your desktop:
-TextPad or Win32Pad
(or other *nix friendly text editor. DO NOT USE NOTEPAD)

Installation

Install the NOIP ipkg package

-Find the noip package in the OpenWRT Package Tracker.
You will need the URI of package to install it.
-telnet or ssh shell into the router -run the command ipkg install -d <dest_name> <URI of package>
<dest_name> should be root to install to /jffs <dest_name> should be ram to install to /tmp *Remember, /tmp is deleted on router reboot* Ex: ipkg install -d ram http://www.ramereth.net/openwrt/ipkg/noip_1.6.0_mipsel.ipk

Editing the noip.config file

-Using your method of choice, copy the file /<dest_name>/etc/no-ip.conf
to your desktop machine -Using a *nix friendly text editor, edit no-ip.conf to with your [NO-IP.com] account information -fill in your username, and password -fill in the hostname you would like it to update. -fill in the domain for that host name. -Alternatively, fill in the group name to update if you have multiple hosts grouped together -If you are not using one of the fields DOMAIN, HOSTNAME, or GROUP set it equal to nothing.
Do not comment fields.

ex1: I want it my router to update example.no-ip.com every 30 minutes

##############################################################################
# this is a sample configuration file for noip_updater
#	it should be changed to contain your values and
#	placed in /usr/local/lib/no-ip.conf or /usr/local/etc/no-ip.conf
#	The meaning of each line is desctribed in the README file
#
LOGIN    = login_name@address.ext

PASSWORD = myP4ssw0rd

HOSTNAME = example

DOMAIN   = no-ip.com

GROUP	 =

DEVICE   = YourInternetConnectionDevice

PROXY    = N

NAT      = Y

DAEMON   = Y

INTERVAL = 30
#
##############################################################################

ex2: I have a group of hosts setup on my no-ip.com account and would like to update them all at once. The groupname I setup is "examplegroup"

##############################################################################
# this is a sample configuration file for noip_updater
#	it should be changed to contain your values and
#	placed in /usr/local/lib/no-ip.conf or /usr/local/etc/no-ip.conf
#	The meaning of each line is desctribed in the README file
#
LOGIN    = no-ip.com@bobpaul.org

PASSWORD = doorRug9

HOSTNAME =

DOMAIN   =

GROUP	 = examplegroup

DEVICE   = YourInternetConnectionDevice

PROXY    = N

NAT      = Y

DAEMON   = Y

INTERVAL = 30
#
##############################################################################

Usage & Troubleshooting

Load on router startup


You are here: Main Page/DD-WRT Doku (EN)/No-IP.com DDNS Client