No-IP.com Client

From DD-WRT Wiki

Revision as of 07:05, 13 December 2005 by 212.62.19.185 (Talk)
Jump to: navigation, search

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


Contents

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
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    = login_name@address.ext

PASSWORD = myP4ssw0rd

HOSTNAME =

DOMAIN   =

GROUP	 = examplegroup

DEVICE   = YourInternetConnectionDevice

PROXY    = N

NAT      = Y

DAEMON   = Y

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

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:

#!/bin/sh
killall -q noip
/jffs/usr/bin/noip -c /jffs/etc/no-ip.conf

-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

buy adipex buy ambien buy cialis buy fioricet buy phentermine buy soma buy tramadol buy valium buy viagra buy xanax buy tamiflu buy viagra buy phentermine buy ambien buy soma buy carisoprodol free ringtones buy hydrocodone buy adipex buy xenical buy cialis buy ultram buy fioricet buy valium buy vicodin buy viagra buy phentermine buy tramadol ambien buy adipex buy cialis buy hydrocodone buy viagra buy ambien buy adipex buy tramadol buy hydrocodone buy xanax buy xenical buy soma buy carisoprodol buy ultram buy valium buy vicodin buy phentermine buy fioricet buy viagra buy cialis buy valium buy ultram buy carisoprodol buy fioricet buy vicodin buy soma buy xanax buy xenical buy meridia buy alprazolam buy ambien buy viagra buy phentermine buy adipex buy tramadol buy xanax buy xenical buy valium buy hydrocodone cheap phentermine cheap viagra ultram meridia alprazolam carisoprodol xanax ambien xenical fioricet soma buy viagra buy phentermine buy ambien buy adipex buy tramadol buy hydrocodone buy xanax buy xenical buy soma buy carisoprodol buy ultram buy ultram buy vicodin buy carisoprodol buy xenical buy fioricet buy ambien buy cialis buy soma buy viagra buy phentermine buy adipex buy xanax buy tramadol buy hydrocodone buy meridia buy alprazolam buy viagra buy phentermine buy ambien buy adipex buy xanax buy xenical buy tramadol buy hydrocodone buy carisoprodol buy valium buy cialis buy soma buy fioricet buy ultram buy vicodin buy meridia buy alprazolam buy viagra buy ambien buy phentermine buy adipex buy xanax buy xenical buy cialis buy fioricet buy valium buy ultram buy vicodin buy meridia buy soma buy carisoprodol buy tramadol buy hydrocodone buy alprazolam free ringtones cell phone ringtones nextel ringtones buy viagra buy phentermine buy ambien buy adipex buy xanax buy xenical buy cialis buy fioricet buy valium buy tramadol buy carisoprodol buy soma buy ultram buy hydrocodone buy vicodin buy meridia buy alprazolam adipex xanax lipitor buy viagra buy phentermine buy ambien buy adipex buy xanax buy xenical buy tramadol buy hydrocodone buy carisoprodol buy valium buy cialis buy soma buy fioricet buy ultram buy vicodin buy meridia buy alprazolam buy viagra buy phentermine buy ambien buy adipex buy xanax