找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 12245|回复: 42

为你的固件添加luci aria2设置页面

  [复制链接]
本帖最后由 shenrui01 于 2012-11-4 15:29 编辑

为你的固件添加luci aria2设置页面
下面都是针对openwrt-dreambox源码修改
aria2配置页面代码来源于穿越蓝天http://hi.baidu.com/animefans_xj/item/0611fc4e2f0db8a961d7b9bd
YAAW控制前段来源于http://blog.binux.me/yaaw
本人进行了汉化
没有废话开工:
1.下载aria2.tar.gz解压,将aria2目录上传至openwrt-dreambox/feeds/dreambox_packages/替换原来的,这里我修改了aria2为1.15.2版本,所以还需要修改feeds目录下dreambox_packages.index索引文件中相应的值
  1. ruishen@RS-Dev:~/openwrt-dreambox$ nano feeds/dreambox_packages.index
  2. 找到aria2地方修改下面两个地方
  3. Version: 1.15.2
  4. Source: aria2-1.15.2.tar.bz2
复制代码


2.下载luci-aria2.tar.gz解压,将luci-aria2目录上传至openwrt-dreambox/feeds/luci/luci/luci/applications/,同样还需要修改feeds目录下luci.index索引文件中相应的值,随便找个位置添加下面一段

  1. Package: luci-app-aria2
  2. Submenu: 3. Applications
  3. Version: trunk+svn-1
  4. Depends: +PACKAGE_luci-app-aria2:aria2
  5. Provides:
  6. Build-Depends: lua/host
  7. Section: luci
  8. Category: LuCI
  9. Title: aria2 configuration module
  10. Maintainer: LuCI Development Team <luci@lists.subsignal.org>
  11. Source:
  12. Type: ipkg
  13. Description: aria2 configuration module
  14. http://luci.subsignal.org/
  15. @@
复制代码


还有openwrt-dreambox/feeds/luci/luci/Makefile文件中添加下面一段
  1. $(eval $(call application,aria2,aria2 configuration module,\
  2.         +PACKAGE_luci-app-aria2:aria2))
复制代码


上面两段代码不知道添加什么位置的,其实挨着transmission添加就行,就是参照transmission做的

3.完成再./scripts/feeds install -a一下,应该就能在luci-Applications里找到luci-app-aria2了,选择他会自动选择Network-File Transfer中的aria2
下面就编译吧

截图见这个帖子https://www.right.com.cn/forum/thread-107437-1-1.html

点评

恭喜  发表于 2012-11-5 00:36

评分

参与人数 3恩山币 +3 收起 理由
pass*** + 1 泥马,真给力,我要顶!
a2918*** + 1 添加要注意添加源码所在的位置
laoy*** + 1 不错,不会加到op里。怎么加阿

查看全部评分

我的恩山、我的无线 The best wifi forum is right here.
在楼主的指点下终于成功编译上去了.特来感谢.

本帖子中包含更多资源

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

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

使用道具 举报

 楼主| | 显示全部楼层
ghostry 发表于 2012-11-4 16:58
在楼主的指点下终于成功编译上去了.特来感谢.

这次忘记占沙发了
看来步骤我还没记错
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

使用道具 举报

非常感谢楼主的共享精神!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

感谢楼主,留着备用
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

支持共享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

感谢楼主分享,mark备用
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

谢谢lz分析!!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

使用道具 举报

感谢楼主的无私奉献。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

感谢lz分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

非常感谢技术分享!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

其实给一下 openwrt的软件源  就可以 了搞这么多麻烦  ???

换成http://hg255d.rsis.me/hg255d/packages可以安装软件

opkg install  aria2_1.15.2-1_ramips.ipk
opkg install libxml2_2.7.8-1_ramips.ipk
opkg install luci-app-aria2_trunk+svn-1_ramips.ipk

最后重启 openwrt 即可生效!!!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
yhmbetter 发表于 2012-11-6 14:35
其实给一下 openwrt的软件源  就可以 了搞这么多麻烦  ???

换成http://hg255d.rsis.me/hg255d/packag ...

嗯这是我自己搭在vps上的软件源,都是编译过程中产生的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

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

GMT+8, 2024-4-29 00:23

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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