找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 17310|回复: 12

15.05.1稳定版安装Material主题的办法。

[复制链接]
发表于 2016-6-29 19:56 | 显示全部楼层 |阅读模式


官方终于开始适配Material主题了~但是目前只能在trunk版使用,难道使用稳定版的用户现在只能去刷trunk版?
不不不,其实我们可以手动安装。
首先你得根据你的路由器cpu选择对应的ipk包(请原谅楼主没有更多设备测试ar71xx的ipk包能不能在mt7620上面进行安装)。
打开OpenWrt trunk版官方的下载地址http://downloads.openwrt.org/snapshots/trunk/,根据你的路由器进行选择,例如楼猪这里是D-Link DIR-835(貌似买亏了)则选择ar71xx。

接下来不截图了,直接进入 /snapshots/trunk/ar71xx/generic/packages/luci/ 查找 material

这里不需要下载,咱们直接右键,属性,复制连接即可(Chrome直接右键,复制链接地址)

现在回到路由器的luci的软件包页面,直接将material主题的链接地址粘贴到 下载并安装软件包 的输入框里面,点击OK让系统自行下载并且安装。

开始享用这个非常漂亮的主题把~
如果点击左侧菜单遇到类似下面的错误,请继续往下查看修复办法。
No page is registered at '/system/packages'.
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.

请下载WinSCP之类的管理软件(请容许小白不会用vi),进入 /usr/lib/lua/luci/view/themes/material/ 并编辑 header.htm 这个文件。
查找 local href  = controller .. prefix .. r .. 修改为 local href  = controller .. "/" .. prefix .. r .. (也就是将前两个点改成.. "/" ..)

enjoy~

本帖子中包含更多资源

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

×
我的恩山、我的无线 The best wifi forum is right here.
发表于 2016-6-29 20:09 | 显示全部楼层
???????????????????????????????????????????????????????????????????????????????????????、、、
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-7-5 00:09 | 显示全部楼层
不错,按照楼主的思路,我把trunk的Material主题编译进CC固件里,没有出错了。

点评

求教怎么编译?  详情 回复 发表于 2017-3-21 22:58
好像是恩山的大神!  详情 回复 发表于 2016-7-7 19:33
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-7-5 10:54 | 显示全部楼层
围观赚点嗯币,别介意
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2016-7-7 19:33 | 显示全部楼层
wukaisky 发表于 2016-7-5 00:09
不错,按照楼主的思路,我把trunk的Material主题编译进CC固件里,没有出错了。

好像是恩山的大神!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-8-15 23:06 | 显示全部楼层
本帖最后由 476210180 于 2016-8-15 23:12 编辑

这个主题明显可以通用,包名最后的“all”已经说明了一切。
即arch=all,已为所有架构通用。
还有就是vi/vim很好用啊,打开文件后按字母 I 键进入编辑模式,输入完毕后按一下ESC退出编辑模式,如果此时要保存就输入 :x 或者 :wq 就可以了。
输入完毕按完ESC忽然又不想保存了,可以输入 :q! 强退不保存。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-8-16 01:23 | 显示全部楼层
不错,可以用
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-1-10 15:35 | 显示全部楼层
安装完这个主题,并按照方法修改,主题很漂亮,但是opkg update 出错了:
Downloading http://downloads.openwrt.org/cha ... s/base/Packages.gz.
Downloading http://downloads.openwrt.org/cha ... /base/Packages.sig.
Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/cha ... s/luci/Packages.gz.
Downloading http://downloads.openwrt.org/cha ... /luci/Packages.sig.
Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/cha ... ckages/Packages.gz.
Downloading http://downloads.openwrt.org/cha ... kages/Packages.sig.
Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/cha ... outing/Packages.gz.
Downloading http://downloads.openwrt.org/cha ... uting/Packages.sig.
Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/cha ... ephony/Packages.gz.
Downloading http://downloads.openwrt.org/cha ... phony/Packages.sig.
Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/cha ... gement/Packages.gz.
Downloading http://downloads.openwrt.org/cha ... ement/Packages.sig.
Signature check failed.
Remove wrong Signature file.
Collected errors:
* opkg_download: Failed to download http://downloads.openwrt.org/cha ... es/base/Packages.gz, wget returned 5.
* opkg_download: Failed to download http://downloads.openwrt.org/cha ... s/base/Packages.sig, wget returned 5.
* opkg_download: Failed to download http://downloads.openwrt.org/cha ... es/luci/Packages.gz, wget returned 5.
* opkg_download: Failed to download http://downloads.openwrt.org/cha ... s/luci/Packages.sig, wget returned 5.
* opkg_download: Failed to download http://downloads.openwrt.org/cha ... ackages/Packages.gz, wget returned 5.
* opkg_download: Failed to download http://downloads.openwrt.org/cha ... ckages/Packages.sig, wget returned 5.
* opkg_download: Failed to download http://downloads.openwrt.org/cha ... routing/Packages.gz, wget returned 5.
* opkg_download: Failed to download http://downloads.openwrt.org/cha ... outing/Packages.sig, wget returned 5.
* opkg_download: Failed to download http://downloads.openwrt.org/cha ... lephony/Packages.gz, wget returned 5.
* opkg_download: Failed to download http://downloads.openwrt.org/cha ... ephony/Packages.sig, wget returned 5.
* opkg_download: Failed to download http://downloads.openwrt.org/cha ... agement/Packages.gz, wget returned 5.
* opkg_download: Failed to download http://downloads.openwrt.org/cha ... gement/Packages.sig, wget returned 5.
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-2-10 18:50 | 显示全部楼层
嗯 帮大忙了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-3-21 12:14 | 显示全部楼层
真棒,啊哈哈,可以用了,手机管理方便多了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-3-21 22:58 | 显示全部楼层
wukaisky 发表于 2016-7-5 00:09
不错,按照楼主的思路,我把trunk的Material主题编译进CC固件里,没有出错了。

求教怎么编译?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-8-19 19:55 | 显示全部楼层
FH-AP2400-20AN,刷了openwrt-15.05.1-ar71xx-generic-ja76pf2-squashfs-sysupgrade.bin这个版本,用LZ的方法装了主题,点确定就剩下一个loading的圆圈在转。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-12-13 21:08 | 显示全部楼层
楼上的一样转圈。。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-26 14:27

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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