搞定迅雷固件在TP-LINK WR720N,127.0.0.1 9000 獲取不到激活碼


本帖最后由 exzzzipad 於 2014-7-2 22:33 編輯

基本情況:
設備:TP-LINK WR720N
目前固件:[antclan][20120825]720N-4M-NAS-withSAMBA-squashfs
存儲情況:外插了個8G U盤,開啟了extroot
Xware版本:Xware1.0.15_mipseb_32_uclibc

故障現象:
無法連接到本機9000端口

這個顏色背景的字符是我輸入的命令

我的portal文件位於/app/Xware1.0.15_mipseb_32_uclibc/下面
cd /app/Xware1.0.15_mipseb_32_uclibc/

root@OpenWrt:/app/Xware1.0.15_mipseb_32_uclibc#./portal
try again...(has tried 19 time(s)).
getting xunlei service info...
Connecting to 127.0.0.1:9000 (127.0.0.1:9000)
wget: can't connect to remote host (127.0.0.1): Connection refused
xunlei service is not ready now.
fail to get xunlei service info finaly.
finished.

排障過程:
1、netstat -apn | grep '8002\|9988\|9000' (回車鍵左邊的單上引號)看不到進程監..聽9000端口,只有8002跟9988有在監..聽,
tcp        0      0 0.0.0.0:8002            0.0.0.0:*               LISTEN      7503/vod_httpserver
tcp        0      0 0.0.0.0:9988            0.0.0.0:*               LISTEN      7501/ETMDaemon
初步判斷是./lib/EmbedThunderManager沒有運行。
2、直接執行
root@OpenWrt:/app/Xware1.0.15_mipseb_32_uclibc#./lib/EmbedThunderManager 
出現報錯提示
./lib/EmbedThunderManager: can't load library 'libpthread.so.0'
看來是少了運行庫。
3、google了一下“openwrt libpthread.so.0 opkg”,(回復可見下面的解決方法,這樣可以讓更多人看到)

游客,如果您要查看本帖隱藏內容請 回復


處理完成后,再次執行步驟2,沒有再報錯了
root@OpenWrt:/app/Xware1.0.15_mipseb_32_uclibc# ./lib/EmbedThunderManager
Usage: EmbedThunderManager LICENSE [--verbose]

OK,現在直接./portal,成功運行,獲取到激活碼

root@OpenWrt:/app/Xware1.0.15_mipseb_32_uclibc# ./portal 
initing...

try stopping xunlei service...
killall: EmbedThunderManager: no process killed

setting xunlei runtime env...
port: 9000 is usable.

YOUR CONTROL PORT IS: 9000


starting xunlei service...
execv: /app/Xware1.0.15_mipseb_32_uclibc/lib/ETMDaemon.

getting xunlei service info...
Connecting to 127.0.0.1:9000 (127.0.0.1:9000)
xunlei_portal.tmp        0T --:--:-- ETA
the active key is not valid.

try again...(has tried 1 time(s)).
getting xunlei service info...
Connecting to 127.0.0.1:9000 (127.0.0.1:9000)
xunlei_portal.tmp        0T --:--:-- ETA

THE ACTIVE CODE IS: **************

go to http://yuancheng.xunlei.com, bind your device with the active code.
finished.


其他機型上類似問題也可以按同樣的步驟運行,
第1步看幾個程序是否運行了,這個是通過查看進程及端口判斷的。
第2步是看程序為什么不能運行,缺了什么運行庫,這個是通過嘗試運行程序查看報錯提示判斷。
第3步通過查找運行庫的關鍵詞,安裝對應的軟件包。


http://luyou.xunlei.com/forum.ph ... mp;extra=#pid112171


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM