找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 70976|回复: 161

(2012.12.16更新)实战tomato通过ipkg安装aria2

 火... [复制链接]
发表于 2012-7-3 21:13 | 显示全部楼层 |阅读模式
本帖最后由 pcshare 于 2012-12-16 11:01 编辑

文中的硬盘路径根据自己的实际情况请自行修改,初次写教程可勿喷
  1. 第一步:创建opt文件夹,以便安装固件扩展程序
  2. mkdir /tmp/mnt/硬盘/opt
  3. mount -o bind /tmp/mnt/硬盘/opt /opt
  4. sleep 2
  5. cd /tmp
  6. wget http://bbs.dualwan.cn/downloads/optware-install.sh -O - | tr -d '\r' > /tmp/optware-install.sh
  7. chmod 755 optware-install.sh
  8. sh optware-install.sh
  9. ipkg update


  10. 第二部:安装aria2
  11. ipkg install aria2


  12. 第三部:运行aria2
  13. aria2c --event-poll=select --enable-rpc --rpc-listen-all=true --rpc-allow-origin-all --dir=/tmp/mnt/硬盘 --file-allocation=none -c -D



  14. 第四部:为了重启路由后依然有效,在挂载后运行脚本填上
  15. mount -o bind /tmp/mnt/硬盘/opt /opt
  16. sleep 5
  17. aria2c --event-poll=select --enable-rpc --rpc-listen-all=true --rpc-allow-origin-all --dir=/tmp/mnt/硬盘 --file-allocation=none -c -D
复制代码
迅雷免费离线下载资源可以从这个站寻找  http://loli.lu/  这个站获取的连接已经自动生成Cookie



===========================================================================================================
2012.12.16更新内容


一、更新运行命令
  1. aria2c --save-session=硬盘路径/aria2/tasks.list --input-file=硬盘路径 /aria2/tasks.list --event-poll=select --enable-rpc --rpc-listen-all=true --rpc-allow-origin-all --dir=硬盘路径  --file-allocation=none -s10 -c -j3 -x15 -D
复制代码
说明:硬盘路径必须为绝对路径(例如:/mnt/sda1),在硬盘更目录新建aria2 文件夹,然后再在这个文件夹新建tasks.list 文件,这样就aria2 挂掉重启或者路由断掉重启后任务不丢失。
二、新加一个WEB客户端,界面集成chrome浏览器 迅雷、旋风离线插件





===========================================================================================================

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

评分

参与人数 7恩山币 +9 收起 理由
暗爱*** + 1 感谢 楼主啊
jzm*** + 3 感谢
冻曰*** + 1 tasks.list不保存,请问何解?
iot*** + 1 这种怎么不支持dy2018.net网站的电影下载啊!!
hong*** + 1 我手抖了下,加分变扣分了!
sod*** + 1 泥马,真给力,我要顶!
学姐*** + 1 怎么设置下载文件存放位置 .. 修改的里面不让改 .,..

查看全部评分

我的恩山、我的无线 The best wifi forum is right here.
发表于 2012-7-3 21:27 | 显示全部楼层

点评

新人可以参考我在pcshare大的基础上写的详细步骤:http://www.right.com.cn/forum/thread-109800-1-1.html  发表于 2012-11-26 23:37
占地说下,第一步中的创建opt文件的路径,外挂硬盘的路径一般应为/tmp/mnt/sda1/opt,即BTDOWNLOAD应改为硬盘挂载的盘符名(如sda1),后面第三步及第四步里面--dir=/tmp/mnt 这个地方也照着变  发表于 2012-10-4 15:10
看 修改 下载文件存放目录的 请去 46楼!!!  发表于 2012-7-31 15:30
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2012-7-3 21:35 | 显示全部楼层
就这样吧   NND编辑真费事
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-7-4 00:22 | 显示全部楼层
高手,安装完后咋运行网页来下载呀
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-7-4 06:42 | 显示全部楼层
谢谢楼主,不要找啥包了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2012-7-4 09:30 | 显示全部楼层
asrock2006 发表于 2012-7-4 06:42
谢谢楼主,不要找啥包了

网页客户端 我已经简单汉化了  应该很简单啊
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-7-4 09:52 | 显示全部楼层
支持,谢谢分享。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-7-4 10:02 | 显示全部楼层
吖,楼主好热心,非常好,顶,支持
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-7-4 11:40 | 显示全部楼层
pcshare 发表于 2012-7-4 09:30
网页客户端 我已经简单汉化了  应该很简单啊

是的,谢谢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-7-4 12:21 | 显示全部楼层
{:soso_e109:}幫忙看下 我哪裡有錯誤

————————————————————————————
mount -o bind /tmp/mnt/sda1/opt /opt
/opt/bin/busybox swapon /tmp/mnt/sda1/opt/swapfile
python2.6 /opt/etc/goagent/proxy.py
sleep 5
aria2c --event-poll=select --enable-rpc --rpc-listen-all=true --rpc-allow-origin-all --dir=/tmp/mnt/sda1/BT --file-allocation=none -c -D
————————————————————————————————————————————————————————————————


地址也改了
http://192.168.1.1:6800/jsonrpc


web執行后報錯了

Error: Internal server error
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-7-4 13:01 | 显示全部楼层
不要找啥包了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-7-4 13:11 | 显示全部楼层
楼主  这网站域名碉堡了loli.lu
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-7-4 21:52 | 显示全部楼层
wwh1010 发表于 2012-7-4 12:21
幫忙看下 我哪裡有錯誤

————————————————————————————

我也是出现这个错误,内部服务器错误500
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-7-5 13:52 | 显示全部楼层
呵呵  非常支持!!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-7-5 18:52 | 显示全部楼层
pcshare 发表于 2012-7-4 09:30
网页客户端 我已经简单汉化了  应该很简单啊

OP可以装这个吗?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-26 00:41

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表