峯言凬语 O ever youthful O ever weeping~
本无意与众不同,怎奈何口味太重。
首页
平水韵
颜色表
ABOUT
文章分类
友情链接
Mi Router MT Tools
2018-08-17 |Nonni | Net

MT工具箱安装:
首先你需要刷开发版并且开启SSH,SSH的开启和使用论坛已经有太多相关帖子,这里就不多说了!附上官方SSH链接https://d.miwifi.com/rom/ssh (注意,开启SSH意味着放弃保修)
最后用软件登上SSH(putty xshell
bash等随便啦)输入下面这一段安装命令,按照说明操作即可,整个过程不用1分钟。安装完直接登录后台管理页面就可以看到MT工具箱了,然后之后就不用ssh工具了!
安装和卸载命令如下:
2017新版,MT工具箱2.0
安装:

wget
http://www.misstar.com/tools/appstore/install.sh -O /tmp/install.sh
&& chmod +x /tmp/install.sh && /tmp/install.sh

(已安装的1.1.0或者1.3.0可以网页里面直接点升级,但是版本升级会丢失配置信息,如有重要数据请做好备份)
卸载:也可直接在管理页面卸载

wget
http://www.misstar.com/tools/uninstall.sh -O /tmp/uninstall.sh
&& chmod +x /tmp/uninstall.sh &&
/tmp/uninstall.sh

安装ShadowSocks:

/etc/misstar/scripts/appmanager add
ss

安装Misstar
tools 后打开 MT工具箱 无法访问

提示:No page
is registered at ‘/web/misstar/index’ .

If this url
belongs to an extension, make sure it is properly installed.

If the
extension was recently installed, try removing the
/tmp/luci-indexcache file.

1、ssh方root用户登录路由器后台;

2、执行命令:

vi /usr/lib/lua/luci/controller/web/index2.lua

3、加入如下内容:

  1. module(“luci.controller.web.index2”, package.seeall)
  2. function index()
  3.      local page   = node(“web”,”misstar”)
  4.      page.target  = firstchild()
  5.      page.title   = (“”)
  6.      page.order   = 100
  7.      page.sysauth = “admin”
  8.      page.sysauth_authenticator = “jsonauth”
  9.      page.index = true
  10.      entry({“web”, “misstar”, “index”}, template(“web/setting/misstar/index”), _(“Tools”), 81)
  11.      entry({“web”, “misstar”, “add”}, template(“web/setting/misstar/add”), _(“Tools”), 82)
  12.      entry({“web”, “misstar”}, alias(“web”,”misstar”,”index”), _(“Tools”), 80)
  13.      entry({“web”, “misstar”, “ss”}, template(“web/setting/applications/ss/html/ss”), _(“Tools”), 85)
  14.      entry({“web”, “misstar”,”frp”}, template(“web/setting/applications/frp/html/frp”), _(“Tools”), 85)
  15.      entry({“web”, “misstar”,”aliddns”}, template(“web/setting/applications/aliddns/html/aliddns”), _(“Tools”), 85)
  16.      entry({“web”, “misstar”,”adm”}, template(“web/setting/applications/adm/html/adm”), _(“Tools”), 85)
  17.      entry({“web”, “misstar”,”koolproxy”}, template(“web/setting/applications/koolproxy/html/koolproxy”), _(“Tools”), 85)
  18.      entry({“web”, “misstar”,”rm”}, template(“web/setting/applications/rm/html/rm”), _(“Tools”), 85)
  19.      entry({“web”, “misstar”,”aria2″}, template(“web/setting/applications/aria2/html/aria2”), _(“Tools”), 85)
  20.      entry({“web”, “misstar”,”webshell”}, template(“web/setting/applications/webshell/html/webshell”), _(“Tools”), 85)
  21.      entry({“web”, “misstar”,”pptpd”}, template(“web/setting/applications/pptpd/html/pptpd”), _(“Tools”), 85)
  22.      entry({“web”, “misstar”,”ftp”}, template(“web/setting/applications/ftp/html/ftp”), _(“Tools”), 85)
  23.      entry({“web”, “misstar”,”kms”}, template(“web/setting/applications/kms/html/kms”), _(“Tools”), 85)
  24. end

4、执行清理缓存命令:

  1. rm -rf /tmp/luci-indexcache

5、刷新前台页面即可​​​​。

respond-post-34

添加新评论

请填写称呼
请填写合法的电子邮箱地址
请填写合法的网站地址
请填写内容