魔豆路由器目前aria2远程下载不稳定解决方法
说在最前修改有危险,修改需谨慎。如果黑屏解决办法用U盘重新刷系统,断电捅菊花再通电5秒放开进入安全模式就可以刷系统了。
魔豆路由退出来后经过漫长的时间终于可以离线下载。官方论坛放出了aria2,但是不稳定,经常要重启aria2服务。但重启aria2服务需要用软件连接路由器起输入命令
/data/apps/tp/aria2/sbin/aria2.sh disable(不自启动)没使用过
/data/apps/tp/aria2/sbin/aria2.sh enable (开机自启动)使用了单不会开机自启动,也不知道为什么。
/data/apps/tp/aria2/sbin/aria2.sh start (启动ARIA2)
/data/apps/tp/aria2/sbin/aria2.sh stop (停止ARIA2)
还有就是用了/data/apps/tp/aria2/sbin/aria2.sh enable (开机自启动)这条命令,根本就无效,每次重启路由器后都要输入命令启动aria2,最后想到一个办法,魔豆不是有触屏吗?我们可以用触屏来解决启动aria2。
先上图
添加的方法就是
用winscp514.rar登录路由器,登录方法查看https://nctoro.com/?post=279
登录成功后我们进入/data/apps/tp/aria2/conf/新建aria.conf双击打开该文件,编码选择utf-8,复制一下啊代码保存。
{
"title" : "Aria2",
"content" : "Aria2是一个离线下载的小插件,它能够帮助您实现离线下载等功能\n当前版本:1.17.1\n",
"button1" : {
"txt" : "启动",
"cmd" : "/data/apps/tp/aria2/sbin/aria2.sh start",
"code" : {
"0" : "成功开启Aria2服务",
"1" : "执行错误1",
"2" : "执行错误2"
}
},
"button2" : {
"txt" : "关闭",
"cmd" : "/data/apps/tp/aria2/sbin/aria2.sh stop",
"code" : {
"0" : "Aria2已经关闭",
"1" : "执行错误1",
"2" : "执行错误2"
}
},
"button3" : {
"txt" : "重启",
"cmd" : "/data/apps/tp/aria2/sbin/aria2.sh restart",
"code" : {
"0" : "设定成功",
"1" : "执行错误1",
"2" : "执行错误2"
}
}
}
在/data/apps/tp/aria2/下新建文件夹images,把触屏的图标放里面,我这用的HDNS的图标。就没有新建。
ctrl+t执行custom /data/apps/tp/aria2/conf/aria.conf 是不是触屏有显示了呢。
然后我们编辑/system/apps/tp/conf/tp_apps.conf这个文件,在编辑之前我们先ctrl+t运行mount -o remount rw /system因为system下的文件是只读属性。
{
"app_num": 11,
"apps":[
{ "name" : "网络状态",
"icon" : "/system/apps/tp/images/appicon_status_normal.png",
"iconPressed" : "/system/apps/tp/images/appicon_status_active.png",
"exec" : "/system/apps/tp/bin/system-status",
"msgNum" : 4
},
{ "name" : "设备列表",
"icon" : "/system/apps/tp/images/appicon_devices_normal.png",
"iconPressed" : "/system/apps/tp/images/appicon_devices_active.png",
"exec" : "/system/apps/tp/bin/device-list",
"msgNum" : 4
},
{ "name" : "时钟",
"icon" : "/system/apps/tp/images/appicon_time_normal.png",
"iconPressed" : "/system/apps/tp/images/appicon_time_active.png",
"exec" : "/system/apps/tp/bin/clock",
"msgNum" : 4
},
{ "name" : "网络设置",
"icon" : "/system/apps/tp/images/appicon_networkConfig_normal.png",
"iconPressed" : "/system/apps/tp/images/appicon_networkConfig_active.png",
"exec" : "/system/apps/tp/bin/networkSetting",
"msgNum" : 4
},
{ "name" : "极客模式",
"icon" : "/system/apps/tp/images/appicon_expertMode_normal.png",
"iconPressed" : "/system/apps/tp/images/appicon_expertMode_active.png",
"exec" : "/system/apps/tp/bin/expert-mode",
"msgNum" : 4
},
{ "name" : "系统更新",
"icon" : "/system/apps/tp/images/appicon_update_normal.png",
"iconPressed" : "/system/apps/tp/images/appicon_update_active.png",
"exec" : "/system/apps/tp/bin/system-update",
"msgNum" : 4
},
{ "name" : "防蹭网",
"icon" : "/system/apps/tp/images/appicon_app_2-factorAuth_normal.png",
"iconPressed" : "/system/apps/tp/images/appicon_app_2-factorAuth_active.png",
"exec" : "/system/apps/tp/bin/fangcengwang",
"msgNum" : 4
},
{ "name" : "帮助反馈",
"icon" : "/system/apps/tp/images/appicon_feedback_normal.png",
"iconPressed" : "/system/apps/tp/images/appicon_feedback_active.png",
"exec" : "/system/apps/tp/bin/system-help",
"msgNum" : 4
}, { "name" : "HDNS",
"icon" : "/data/apps/72116776/images/HDNS1.png", "iconPressed" : "/data/apps/72116776/images/HDNS2.png", "exec" : "/data/apps/72116776/bin/cdns /data/apps/72116776/c/hdns.conf ", "msgNum" : 4 },
{ "name" : "Aria2", "icon" : "/data/apps/72116776/images/HDNS1.png", "iconPressed" : "/data/apps/72116776/images/HDNS2.png", "exec" : "custom /data/apps/tp/aria2/conf/aria.conf ", "msgNum" : 4 },
{ "name" : "游戏加速", "icon" : "/system/apps/tp/images/appicon_gameAcc_normal.png", "iconPressed" : "/system/apps/tp/images/appicon_gameAcc_active.png", "exec" : "/system/apps/tp/bin/game-speedup", "msgNum" : 4 } ] }
我们把 app_num
的值改成和"name" 一样多的数值我这是11个,官方开发版固件在没安装触屏插件的情况下是8或7.保存。最后重启路由器。这样我们就大功告成了。
我这有改好了的文件
发表评论