no-ip に 自動的に 御注進して頂く プログラムです ISP 様の 問答無用の IP アドレス変更に 対しての 対応を 自動で 処理してくれるものです。
http://www.no-ip.com/downloads.php
http://www.no-ip.com/downloads.php?page=linux
HTTP Location Action
San Diego, CA Download 2.1.1
Last modified - 01-09-04
-rw-r--r-- 1 mm users 71210 7月 15日 18:23 noip-duc-linux.tar.gz
# pwd
/usr/local/src/007_no-ip
# mv /home/mm/test/noip-duc-linux.tar.gz .
# tar zxvf noip-duc-linux.tar.gz 2>&1 | tee untar_no-ip
# cd noip-2.1.1/
# make 2>&1 | tee no-ip_make
# make install 2>&1 | tee install_no-ip
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 -Y -c /tmp/no-ip2.conf
Auto configuration for Linux client of no-ip.com.
Please enter the login/email string for no-ip.com
Please enter the login/email string for no-ip.com nyanco@fmailnyannyan.co.cat
Please enter the password for user 'nyanta@excite.co.jp' ********Only one ho
st [nyanta.no-ip.info] is registered to this account.
It will be used.
Please enter an update interval:[30]
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
# sed -e '/^#/d' rc.noip2
case "$1" in
start)
echo "Starting noip2."
/usr/local/bin/noip2
;;
stop)
echo -n "Shutting down noip2."
killproc -TERM /usr/local/bin/noip2
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac
exit 0
# diff -s rc.local rc.local~
75,77d74
< if [ -x /etc/rc.d/rc.noip2 ]; then
< /etc/rc.d/rc.noip2 start
< fi
にゃんたろう 拝!
2005年 7月20日 (水) 21:52:32 JST 作成