看板FreeBSD
标 题[整理]/ports/dns/noip 无法安装 ?
发信站无名小站 (Fri Aug 27 23:41:03 2004)
转信站ptt!ctu-reader!ctu-peer!news.nctu!netnews.csie.nctu!wretch
※ 引述《paulnet (....)》之铭言:
> 安装 noip :
> cd /usr/ports/dns/noip
> make install clean
> 安装发生错误 :
> ===> Vulnerability check disabled
> ===> Extracting for noip-2.1.1
> ===> Refetch for 1 more times files: noip-2.1.1.tar.gz
> ===> Vulnerability check disabled
> fetch: http://www.no-ip.com/client/linux/noip-2.1.1.tar.gz: Requested Range Not Satisfiable
> fetch: noip-2.1.1.tar.gz: local modification time does not match remote
> *** Error code 1
> Stop in /usr/ports/dns/noip.
> *** Error code 1
> Stop in /usr/ports/dns/noip
第一次 fetch 没抓好,checksum mismatch
refetch 後发现 local modification time does not match remote
(
[email protected])
建议先校时
$ ntpdate tock.stdtime.gov.tw
上面问题的解决方法是,
01.先将 /usr/ports/distfiles/noip-2.1.1.tar.gz 移除
(
[email protected])
02.在 /usr/ports/dns/noip 下,执行, make install clean
03.安装好後,会出现讯息!
###############################################
You need to generate the noip config file 'no-ip2.conf' in
/usr/local/etc/no-ip2.conf. To do this automatically, run:
make conf
You need to register with www.no-ip.com to use this port.
###############################################
04.建立一个新档案。
vi /usr/local/etc/no-ip2.conf
05.执行 make conf
06.出现以下画面...
(cd /usr/local/etc && /usr/local/bin/noip2 -C)
Auto configuration for FreeBSD client of no-ip.com.
Multiple network devices have been detected.
Please select the Internet interface from this list.
By typing the number associated with it.
0 xl0
1 tun0
1 # 输入 "1"
Please enter the login/email string for no-ip.com #输入注册信箱位置
Please enter the password for user '
[email protected]' #输入注册密码
Only one host [paulnet.no-ip.com] 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 '/usr/local/etc/no-ip2.conf' created.
/usr/sbin/chown noip:noip /usr/local/etc/no-ip2.conf
/bin/chmod 0600 /usr/local/etc/no-ip2.conf
07.完成後,执行 /usr/local/bin/noip2
08.cd /etc/rc.d
09.vi rc.local
10.写入 /usr/local/bin/noip2 存档後离开
11.chmod 555 rc.local
这样一来,每次开机,就可以自动取得动态 DNS 了!
--
感谢各位的帮忙,小弟整理一下,希望以後有碰到一样问题的人,可以顺利解决!
--
夫兵者不祥之器物或恶之故有道者不处君子居则贵左用兵则贵右兵者不祥之器非君子
之器不得已相簿 http://www.wretch.twbbs.org/album 有布景主题 速度很快於天下
矣吉事尚左凶事尚右偏将军居左上将军居右言以丧礼处之杀人之众以哀悲泣之战胜以
丧礼处之道常无名朴虽小天下莫能臣侯王若能守之万物将自宾天地相合以降甘露民莫
之令而自均始制有名名亦既有夫亦将知止知止220-141-36-211.dynamic.hinet.net海
作者在
04/08/27 23:50:39 从
220-141-36-211.dynamic.hinet.net 修改这篇文章