最近、停電が多いので玄箱で運用していたno-ipのエージェントをglantankに移すことにした。
玄箱は、一度電源が落ちると落ちっぱなし・・・。glantankは、自動で復旧する。
まず、glantankは、debianベースなので、ap-getでインストールする。
-----
# apt-get install no-ip
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
no-ip
0 upgraded, 1 newly installed, 0 to remove and 16 not upgraded.
Need to get 20.7kB of archives.
After unpacking 127kB of additional disk space will be used.
Get:1 http://ftp1.debian.or.jp etch/main no-ip 2.1.1-4 [20.7kB]
Fetched 20.7kB in 0s (42.3kB/s)
Selecting previously deselected package no-ip.
(Reading database ... 16108 files and directories currently installed.)
Unpacking no-ip (from .../archives/no-ip_2.1.1-4_arm.deb) ...
Setting up no-ip (2.1.1-4) ...
Starting dynamic address update: Can't locate configuration file /etc/no-ip.conf. (Try -c). Ending!
no-ip.
-
-
- -
-
その後、基本設定をする。
-----
# no-ip -C
Auto configuration for Linux client of no-ip.com.
Please enter the login/email string for no-ip.com hoge@mail.xxx
Please enter the password for user 'hoge@mail.xxx' ******
Only one host [hoge.no-ip.com] is registered to this account.
It will be used.
Please enter an update interval:[30] 5
Do you wish to run something at successful update?[N] (y/N) ^M
New configuration file '/etc/no-ip.conf' created.
-----
自動起動の設定(確認)をする。
-----
# update-rc.d -f no-ip defaults
System startup links for /etc/init.d/no-ip already exist.
-----
これで、OK!