自从知道了telnet的root密码后,便通过串口进入了F660的系统。花了几天时间,成功移植ssh,transmission到f660上,目前初步测试能够正常的脱机bt下载,速度还挺不错的。目前还在测试中。
5 {' N- Z& I0 D) o3 n目前遇到的主要的问题是:1 U6 ^0 q, v; y1 T; i1 M3 h
1:脱机下载能成功,但是,没有f660的rom,不能把脱机下载的bt程序集成到f660本身rom/flash里面去,结果是,如果重启路由器,那么要全部重新上传bt下载程序到f660上,需要重新配置环境,非常麻烦,步骤比较多,对于菜鸟来说算是麻烦的。
8 L' w4 E. w. ]7 F2:目前只是单纯的命令行程序,还没有集成到web页面上,不能在网页上进行操作,需要串口登录到f660进行操作。
' g0 c0 T6 t4 d! D1 Q D( \如果有谁能提供本身rom或者集成的方法,PM我吧!
5 J6 v& P9 ]' ^: M4 g7 u
6 e9 O+ Q' a) q不说,直接上bt下载结果:5 F" F b# `% @8 B7 g W
root@F660:/mnt/usb1_1 # ./transmission-cli -v http://download.bitcomet.com/bitcomet/bitcomet_x64_setup.torrent -w ./down# F0 P- n5 N' ` `
transmission-cli 2.77 (14027)
8 U4 u! [3 D( i. \: z) ] o[23:59:31.309] Transmission 2.77 (14027) started }' q9 Y9 D! r3 h5 @
[23:59:31.312] RPC Server: Adding address to whitelist: 127.0.0.1
' w( O, U3 H6 h' b[23:59:31.315] Couldn't bind port 51413 on 0.0.0.0: Address already in use (Is another copy of Transmission already running?)
4 o1 L$ r# f1 R1 E) S( a7 H[23:59:31.317] Couldn't bind port 51413 on ::: Address already in use (Is another copy of Transmission already running?)% R5 Q& ]: ~6 N8 V- p# @
[23:59:31.322] UDP: Couldn't bind IPv4 socket
( ~' F2 |! z! s' i- t7 g8 O[23:59:31.324] DHT: Generating new id
) d* w, g, O: Y9 a[23:59:31.668] Port Forwarding (NAT-PMP): initnatpmp succeeded (0)% G6 Z/ D& x% e; }
[23:59:31.668] Port Forwarding (NAT-PMP): sendpublicaddressrequest succeeded (2)% c9 O$ H# R$ H4 e8 o/ Y" c
[23:59:33.673] Port Forwarding (UPnP): Found Internet Gateway Device "http://192.168.1.1:52869/upnp/control/WANIPConn1"
; x4 x7 F+ l& v6 Z[23:59:33.673] Port Forwarding (UPnP): Local Address is "192.168.1.1"9 [+ x/ C2 ]3 c7 z6 e) {$ B0 g, x
[23:59:33.703] Port Forwarding (UPnP): Port forwarding through "http://192.168.1.1:52869/upnp/control/WANIPConn1", service "urn:schemas-upnp-org:service:WANIPConnection:1". (local address: 192.168.1.1:51413)
( ]& j* \, ?6 m* t( @4 M1 v[23:59:33.703] Port Forwarding: State changed from "Not forwarded" to "Starting" N$ n2 B, V, o5 T- h$ w
[23:59:51.620] Saved "/root/.config/transmission/torrents/BitComet_1.35_x64_setup.exe.1614f47fdadb60d0.torrent"
3 P+ O# i+ c' s' [[23:59:51.621] BitComet_1.35_x64_setup.exe: Pausing
' f7 H6 m9 K% {# A% O. y9 b' T+ ?) e[23:59:51.624] Saved "/root/.config/transmission/resume/BitComet_1.35_x64_setup.exe.1614f47fdadb60d0.resume"
4 T% `4 p! c) L' u. c[23:59:51.624] BitComet_1.35_x64_setup.exe: Queued for verification+ K3 ?2 f$ o5 K) R6 ~8 @9 f/ T D- O7 ~
[23:59:51.625] BitComet_1.35_x64_setup.exe: Pausing* e: y9 T: g/ p* ^- o$ E
[23:59:51.629] Saved "/root/.config/transmission/resume/BitComet_1.35_x64_setup.exe.1614f47fdadb60d0.resume"
1 B1 `7 E; `& O9 W' \7 C7 }[23:59:51.629] BitComet_1.35_x64_setup.exe: Queued for verification" Z$ x+ B9 }3 L* C' v& h
[23:59:51.630] BitComet_1.35_x64_setup.exe: Verifying torrent( O! l* T5 x$ k# ?7 X( B
Progress: 2.0%, dl from 0 of 14 peers (43 kB/s), ul to 0 (0 kB/s) [0.00] [00:00:01.453] BitComet_1.35_x64_setup.exe: Scrape error: Tracker gave HTTP response code 0 (No Response)
4 N, {3 {/ V* y2 }; P( c[00:00:01.454] BitComet_1.35_x64_setup.exe: Retrying scrape in 309 seconds.; Z5 f6 z8 q$ @6 n) N. y4 Q
Progress: 99.8%, dl from 11 of 28 peers (23 kB/s), ul to 0 (0 kB/s) [0.00] [00:00:37.108] BitComet_1.35_x64_setup.exe: State changed from "Incomplete" to "Complete"
' ]& {1 b6 `$ ^% a* Z: `Seeding, uploading to 1 of 1 peer (s), 0 kB/s [0.00][00:01:39.668] Port Forwarding: State changed from "Starting" to "???"6 r( V7 v" o3 {7 T/ K8 h/ x
Seeding, uploading to 1 of 1 peer (s), 0 kB/s [0.00][00:05:13.035] BitComet_1.35_x64_setup.exe: Scrape error: Tracker gave HTTP response code 0 (No Response)
9 Y, T! M" m3 O( h3 k* t[00:05:13.035] BitComet_1.35_x64_setup.exe: Retrying scrape in 312 seconds.
9 @$ g* Z4 t) U* W% C: `Seeding, uploading to 1 of 1 peer (s), 0 kB/s [0.00]Killed 5 d- A) Z" Q& M+ @' ^# p/ N
root@F660:/mnt/usb1_1 # [00:05:31.319] Saved "/root/.config/transmission/resume/BitComet_1.35_x64_setup.exe.1614f47fdadb60d0.resume"6 o0 y* R6 {0 r0 I4 w3 E- _
[00:05:31.320] Saved "/root/.config/transmission/stats.json"
5 J3 i. \4 ^0 _7 C/ Y' k5 D, y' Z3 ]0 H) v9 c. z* z. |& {8 s
//查看下载的文件. E; C1 `+ s* g0 i/ v+ R: p
root@F660:/mnt/usb1_1 # ls -l down/' O) I% h: ~$ E3 r
-rwxrwxrwx 1 0 0 10889568 BitComet_1.35_x64_setup.exe, ~6 t; B: e- A* H" }
9 {! \, R* Z, m% Y1 l) B |