自从知道了telnet的root密码后,便通过串口进入了F660的系统。花了几天时间,成功移植ssh,transmission到f660上,目前初步测试能够正常的脱机bt下载,速度还挺不错的。目前还在测试中。
目前遇到的主要的问题是:
1:脱机下载能成功,但是,没有f660的rom,不能把脱机下载的bt程序集成到f660本身rom/flash里面去,结果是,如果重启路由器,那么要全部重新上传bt下载程序到f660上,需要重新配置环境,非常麻烦,步骤比较多,对于菜鸟来说算是麻烦的。
2:目前只是单纯的命令行程序,还没有集成到web页面上,不能在网页上进行操作,需要串口登录到f660进行操作。
如果有谁能提供本身rom或者集成的方法,PM我吧!
不说,直接上bt下载结果:
root@F660:/mnt/usb1_1 # ./transmission-cli -v http://download.bitcomet.com/bitcomet/bitcomet_x64_setup.torrent -w ./down
transmission-cli 2.77 (14027)
[23:59:31.309] Transmission 2.77 (14027) started
[23:59:31.312] RPC Server: Adding address to whitelist: 127.0.0.1
[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?)
[23:59:31.317] Couldn't bind port 51413 on ::: Address already in use (Is another copy of Transmission already running?)
[23:59:31.322] UDP: Couldn't bind IPv4 socket
[23:59:31.324] DHT: Generating new id
[23:59:31.668] Port Forwarding (NAT-PMP): initnatpmp succeeded (0)
[23:59:31.668] Port Forwarding (NAT-PMP): sendpublicaddressrequest succeeded (2)
[23:59:33.673] Port Forwarding (UPnP): Found Internet Gateway Device "http://192.168.1.1:52869/upnp/control/WANIPConn1"
[23:59:33.673] Port Forwarding (UPnP): Local Address is "192.168.1.1"
[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)
[23:59:33.703] Port Forwarding: State changed from "Not forwarded" to "Starting"
[23:59:51.620] Saved "/root/.config/transmission/torrents/BitComet_1.35_x64_setup.exe.1614f47fdadb60d0.torrent"
[23:59:51.621] BitComet_1.35_x64_setup.exe: Pausing
[23:59:51.624] Saved "/root/.config/transmission/resume/BitComet_1.35_x64_setup.exe.1614f47fdadb60d0.resume"
[23:59:51.624] BitComet_1.35_x64_setup.exe: Queued for verification
[23:59:51.625] BitComet_1.35_x64_setup.exe: Pausing
[23:59:51.629] Saved "/root/.config/transmission/resume/BitComet_1.35_x64_setup.exe.1614f47fdadb60d0.resume"
[23:59:51.629] BitComet_1.35_x64_setup.exe: Queued for verification
[23:59:51.630] BitComet_1.35_x64_setup.exe: Verifying torrent
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)
[00:00:01.454] BitComet_1.35_x64_setup.exe: Retrying scrape in 309 seconds.
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"
Seeding, uploading to 1 of 1 peer (s), 0 kB/s [0.00][00:01:39.668] Port Forwarding: State changed from "Starting" to "???"
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)
[00:05:13.035] BitComet_1.35_x64_setup.exe: Retrying scrape in 312 seconds.
Seeding, uploading to 1 of 1 peer (s), 0 kB/s [0.00]Killed
root@F660:/mnt/usb1_1 # [00:05:31.319] Saved "/root/.config/transmission/resume/BitComet_1.35_x64_setup.exe.1614f47fdadb60d0.resume"
[00:05:31.320] Saved "/root/.config/transmission/stats.json"
//查看下载的文件
root@F660:/mnt/usb1_1 # ls -l down/
-rwxrwxrwx 1 0 0 10889568 BitComet_1.35_x64_setup.exe
|