noip2的安裝 - Linux

Table of Contents

$ sudo dpkg-reconfigure noip2

下了這行順利進行設定

不過結束設定以後

錯誤訊息又出來了

Connect to dynupdate.no-ip.com timed out
Network must be operational to create configfile. Ending!
* Starting No-IP.com dynamic address update noip2
Can't locate configuration file /var/lib/noip2/noip2.conf. (Try -c).
Ending!

[fail]

我發現我沒有 /var/lib/noip2/noip2.conf這個檔案 囧

我試著下$noip2 -C 照man說明是產生conf檔

不過還是失敗 跟之前的錯誤訊息一樣

怎麼會這樣 Orz


※ 引述《Jerr (身為老爸老媽嚕..)》之銘言:
: ubuntu 9.04 的話預設的套件庫裡本來就有 noip2 嘍
: 安裝:
: $ sudo apt-get install noip2
: 安裝後如果需要重新設定 noip2.conf :
: $ sudo dpkg-reconfigure noip2
: ※ 引述《dbshadow (阿三)》之銘言:
: : 使用的是Ubuntu 9.04
: : 從網路上下載了noip2的軟體
: : 也照個README安裝
: : #make 就出現問題
: : gcc -Wall -g -Dlinux -DPREFIX=\"/usr/local\" noip2.c -o noip2
: : 實在不懂什麼意思 Google也查不太到類似的訊息...
: : 直接make install就卡在configuration的地方
: : Connect to dynupdate.no-ip.com timed out
: : Network must be operational to create configfile. Ending!
: : mv /tmp/no-ip2.conf /usr/local/etc/no-ip2.conf
: : mv: 無法建立目錄「/tmp/no-ip2.conf」: 沒有此一檔案或目錄
: : make: *** [install] Error 1
: : 使用apt-get install noip2 第一次順利進入設定的畫面
: : 無奈帳號打錯 所以又移除重裝了一次
: : 結果也是卡在configuration
: : Connect to dynupdate.no-ip.com timed out
: : Network must be operational to create configfile. Ending!
: : * Starting No-IP.com dynamic address update noip2
: : Can't locate configuration file
: : /var/lib/noip2/noip2.conf. (Try -c). Ending!
: : 弄好久都不知道該怎麼樣才能把noip2給裝上去...囧

--

大眼睛芊芊
http://www.wretch.cc/album/album.php?id=dbshadow&book=3

--

All Comments

Rosalind avatarRosalind2009-10-04
忘了說 要裝 dialog : $ sudo apt-get install dialog
Franklin avatarFranklin2009-10-05
然後再 dpgk-reconfigure