No-IP.com Client

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 09:17, 24 March 2006 (edit)
WikiSysop (Talk | contribs)
m (Wiederhergestellt zur letzten Änderung von Atzekalle)
← Previous diff
Revision as of 11:18, 26 March 2006 (edit) (undo)
71.227.164.132 (Talk)

Next diff →
Line 1: Line 1:
-'''You are here: ''' '''[[Main Page]]'''/'''[[DD-WRT Docu (EN)]]'''/'''[[No-IP.com Client]]'''+'''You are here: ''' '''[[Main Page]]'''/'''[[DD-WRT Docu (EN)]]'''/'''[[No-IP.com Client]]''' ==Introduction== There are a few DDNS services already integrated into the web interface for DD-WRT, but my favorite, [http://www.no-ip.com NO-IP] 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 -[[Telnet/SSH and the Command Line#SCP|SCP]] or some other way to copy files to and from your desktop setup -a [http://www.no-ip.com NO-IP.com] account you'd like to synchronise -some knowledge of using [[ipkg]] to install packages -[[jffs]] already configured if you don't want to install to ram
- +
- +
-==Introduction==+
-There are a few DDNS services already integrated into the web interface for DD-WRT, but my favorite, [http://www.no-ip.com NO-IP] 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+
- -[[Telnet/SSH and the Command Line#SCP|SCP]] or some other way to copy files to and from your desktop setup+
- -a [http://www.no-ip.com NO-IP.com] account you'd like to synchronise+
- -some knowledge of using [[ipkg]] to install packages+
- -[[jffs]] already configured if you don't want to install to ram<br>+
- ''If your running Windows on your desktop:''+
- -[http://www.textpad.com/ TextPad] or [http://www.gena01.com/win32pad/win32pad_1_5_7.exe Win32Pad]<br> (or other *nix friendly text editor. DO NOT USE NOTEPAD)+
- +
-==Installation==+
-====Install the NOIP ipkg package====+
- -Find the '''noip''' package in the [http://tracker.openwrt.org/packages/ OpenWRT Package Tracker].<br> You will need the URI of package to install it.<br>+
- -telnet or ssh shell into the router+
- -run the command ipkg install -d <dest_name> <URI of package><br>+
- <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<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+
- +
-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 = login_name@address.ext+
- +
-PASSWORD = myP4ssw0rd+
- +
-HOSTNAME =+
- +
-DOMAIN =+
- +
-GROUP = examplegroup+
- +
-DEVICE = YourInternetConnectionDevice+
- +
-PROXY = N+
- +
-NAT = Y+
- +
-DAEMON = Y+
- +
-INTERVAL = 30+
-#+
-##############################################################################+
-</pre>+
- +
-==Usage & Troubleshooting==+
-====Launching the Client====+
- -cd to the install folder (/<dest_name>/usr/bin)+
- -run ''./noip -c ./../../etc/no-ip.conf''+
- +
-====General Usage====+
-noip takes the following flags:+
- -c config_file use alternate config file+
- -h display help+
- -i <IPaddress> override ip detection. Use <IPaddress>+
- -l log output to stderr+
- -d increase debug verbosity+
- +
-====Troubleshooting====+
- -cd to the install folder (/<dest_name>/usr/bin)+
- -run ''./noip -l -d -c ./../../etc/no-ip.conf''+
- -Based on the screen output, determine why noip is ending prematurely.+
- +
-==Load on router startup==+
--Using a *nix friendly text editor, create noip.startup as:+
-<pre>+
-#!/bin/sh+
-killall -q noip+
-/jffs/usr/bin/noip -c /jffs/etc/no-ip.conf+
-</pre>+
- +
--Follow the instructions in [[Startup Scripts#Shell Script Method]] to make your script load on startup. +
- +
-Alternatively, if this is the only thing you want to load on startup, pass the line+
-''/jffs/usr/bin/noip -c /jffs/etc/no-ip.conf''+
-to either of the other methods on the [[Startup Scripts]] page.+
- +
- +
- +
- +
- +
-----+
-'''You are here: ''' '''[[Main Page]]'''/'''[[DD-WRT Docu (EN)]]'''/'''[[No-IP.com Client]]'''+

Revision as of 11:18, 26 March 2006

You are here: Main Page/DD-WRT Docu (EN)/No-IP.com Client ==Introduction== There are a few DDNS services already integrated into the web interface for DD-WRT, but my favorite, NO-IP 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 -jffs already configured if you don't want to install to ram