Home > centOS, Fedora 12 > centOS – noip2

centOS – noip2

How to dynamic ip to static DNS?
[root@www noip-2.1.9-1]# uname -a
Linux .be 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 i686 i386 GNU/Linux

#####################################################

1. http://www.no-ip.com

2. have a account > After login > Hosts/Redirects

3. Add host > anyNames.no-ip.org > for the public ip

4. download the client noip2….tar.gz file

[root@www ~]# wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
–2010-02-14 23:58:28–  http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
Resolving http://www.no-ip.com… 204.16.252.112
Connecting to http://www.no-ip.com|204.16.252.112|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 134188 (131K) [application/x-gzip]
Saving to: `noip-duc-linux.tar.gz’

100%[===================================================================================================================>] 134,188     86.2K/s   in 1.5s

2010-02-14 23:58:30 (86.2 KB/s) – `noip-duc-linux.tar.gz’ saved [134188/134188]

[root@www ~]#

5. upzip

[root@www ~]# tar xvfz noip-duc-linux.tar.gz -C /root/
./._noip-2.1.9-1
noip-2.1.9-1/

6. make fail, use make install

[root@www noip-2.1.9-1]# cp binaries/noip2-i686 noip2
[root@www noip-2.1.9-1]# ls
binaries         gentoo.noip2.sh        LISEZMOI.ENPREMIER  noip2 README.FIRST.FRANCAIS  README.FIRST_PT     redhat.noip.sh
COPYING          LEEME.PRIMERO          mac.osx.startup     noip2.c       README.FIRST.ITALIANO  README.FIRST.pt_BR
debian.noip2.sh  LIESMICH.ERST.deutsch  Makefile            README.FIRST  README.FIRST.JAPANESE  README.FIRST-SWE
[root@www noip-2.1.9-1]# make install
if [ ! -d /usr/local/bin ]; then mkdir -p /usr/local/bin;fi
if [ ! -d /usr/local/etc ]; then mkdir -p /usr/local/etc;fi
cp noip2 /usr/local/bin/noip2
/usr/local/bin/noip2 -C -c /tmp/no-ip2.conf

Auto configuration for Linux client of no-ip.com.

Please enter the login/email string for no-ip.com  sha@gmail.com
Please enter the password for user ‘sha@gmail.com’  ****

Only one host [.no-ip.org] is registered to this account.
It will be used.
Do you wish to run something at successful update?[N] (y/N)  N

New configuration file ‘/tmp/no-ip2.conf’ created.

mv /tmp/no-ip2.conf /usr/local/etc/no-ip2.conf
[root@www noip-2.1.9-1]# mv /tmp/no-ip2.conf /usr/local/etc/no-ip2.conf
mv: cannot stat `/tmp/no-ip2.conf’: No such file or directory

7. Put a standard interval + start the process

[root@www noip-2.1.9-1]# noip2 -U 5
Process 9306 – update interval changed to 5.
Configuration data ‘/usr/local/etc/no-ip2.conf’ updated
[root@www noip-2.1.9-1]# noip2 -S
1 noip2 process active.

Process 9306, started as /root/noip-2.1.9-1/noip2, (version 2.1.9)
Using configuration from /usr/local/etc/no-ip2.conf
Last IP Address set 78.xxx.xxx.xxx
Account sha@gmail.com
configured for:
host  x.no-ip.org
Address check every 5 minutes, directly connected via /dev/eth0.

8. Done..

Advertisements
Categories: centOS, Fedora 12 Tags:
  1. Mitch
    April 3, 2010 at 7:57 pm

    Well written instructions. Worked perfect the first time I tried. Thanks.

  2. June 18, 2011 at 3:44 pm

    You forgot this:
    cp redhat.noip.sh /etc/profile.d/noip.sh

    so it will automatically start on system startup 🙂

  3. October 6, 2011 at 11:16 am

    How to change host

    I want to change form x.no-ip.org to y.no-ip.org

    Have made changes to no-ip.org but how to make changes on system.

    I tried noip2 -Y
    but it gives error
    One noip2 process is already active,
    and multiple instance flag (-M) is not set.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: