精華區beta FreeBSD 關於我們 聯絡資訊
※ 引述《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 修改這篇文章