找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 24865|回复: 35

【附视频教程】手把手教你用OpenWRT单独编译ipk插件

 火.. [复制链接]
本帖最后由 心安草_ 于 2019-5-3 19:35 编辑

【附视频教程】手把手教你用OpenWRT单独编译ipk插件


视频教程
手把手教你用OpenWRT单独编译ipk插件


一、插件源码下载
1.锐捷
        git clone https://github.com/KyleRicardo/MentoHUST-OpenWrt-ipk
        git clone https://github.com/BoringCat/luci-app-mentohust.git
2.Rosy主题
        git clone https://github.com/rosywrt/luci-theme-rosy.git
        
二、下载存放路径
/home/cheng/openwrt/lede/package


三、配置
make menuconfig
<M> 选中,但不编译进固件
1.锐捷
-> Network                                                                                                      
         -> Ruijie
        <M> mentohust......................................... A Ruijie Client Daemon
-> LuCI                                                                                                         
       -> 3. Applications
        <M> luci-app-mentohust...................... MentoHUST 802.1X Client for LuCI
        
2.Rosy主题
-> LuCI                                                                                                        
   -> 4. Themes
        <M> luci-theme-rosy............................................... Rosy Theme
        
四、编译
make package/MentoHUST-OpenWrt-ipk/compile V=99
make package/luci-app-mentohust/compile V=99
make package/luci-theme-rosy/luci-theme-rosy/compile V=99


五、ipk生成路径
路径:
bin/packages/mipsel_24kc/base
文件名
mentohust_0.3.1-1_mipsel_24kc.ipk
luci-app-mentohust_1.1.-0_all.ipk
luci-theme-rosy_git-19.069.38477-5ed9705-1_all.ipk


六、上传ipk至路由器
清除原有密钥
ssh-keygen -f "/home/cheng/.ssh/known_hosts" -R 192.168.10.1
拷贝至路由器
scp mentohust_0.3.1-1_mipsel_24kc.ipk root@192.168.10.1:/tmp
scp luci-app-mentohust_1.1.-0_all.ipk root@192.168.10.1:/tmp
scp luci-theme-rosy_git-19.069.38477-5ed9705-1_all.ipk root@192.168.10.1:/tmp


七、安装
ssh进入路由器
cd /tmp
opkg install mentohust_0.3.1-1_mipsel_24kc.ipk
opkg install luci-app-mentohust_1.1.-0_all.ipk
opkg install luci-theme-rosy_git-19.069.38477-5ed9705-1_all.ipk


八、安装状态


视频教程
手把手教你用OpenWRT单独编译ipk插件










本帖子中包含更多资源

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

×

评分

参与人数 5恩山币 +5 收起 理由
wm*** + 1 不要怂、就是干!
8610*** + 1 感谢你的分享,无论怎样,你都是最无私的人!来,说说,你E盘上还有啥一起给我吧!
crazyb*** + 1 感谢你的分享,无论怎样,你都是最无私的人!
lcs*** + 1 面对这种帖子,我内心复杂,真不知道说什么好……
2608*** + 1 率全体恩山路由党以及党魁向你学习!

查看全部评分

我的恩山、我的无线 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.
回复

使用道具 举报

支持一下 学习学习
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

楼主阿为什么的编译追后一个时会出错阿
make[1]: Entering directory '/home/wx/ledeopenwrt/lede'
make[1]: *** No rule to make target 'package/luci-theme-rosy/luci-theme-rosy/compile'.  Stop.
make[1]: Leaving directory '/home/wx/ledeopenwrt/lede'
/home/wx/ledeopenwrt/lede/include/toplevel.mk:216: recipe for target 'package/luci-theme-rosy/luci-theme-rosy/compile' failed
make: *** [package/luci-theme-rosy/luci-theme-rosy/compile] Error 2

点评

跟你遇到一样的问题,请问你解决了吗  详情 回复 发表于 2020-12-14 21:05
make menuconfig 中配置了嘛  详情 回复 发表于 2019-5-6 22:57
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
835228 发表于 2019-5-6 22:45
楼主阿为什么的编译追后一个时会出错阿
make[1]: Entering directory '/home/wx/ledeopenwrt/lede'
make[ ...

make menuconfig 中配置了嘛

点评

而且我的前两个插件编译成功就是之后一个不成功  详情 回复 发表于 2019-5-7 08:04
配置好的教程上的三个地方都配置好的  详情 回复 发表于 2019-5-7 07:58
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
心安草_ 发表于 2019-5-6 22:57
make menuconfig 中配置了嘛

配置好的教程上的三个地方都配置好的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
心安草_ 发表于 2019-5-6 22:57
make menuconfig 中配置了嘛

而且我的前两个插件编译成功就是之后一个不成功
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

感谢,学习一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

请问楼主,编译完整的带订阅的酸酸乳PLUS插件和adbyby plus+,分别需要勾选哪些依赖呢?可否帮忙编译两个呢?(K2P和NEWIFI d2)谢谢   119032660@qq.com

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

使用道具 举报

 楼主| | 显示全部楼层
18079951917 发表于 2019-5-20 16:37
请问楼主,编译完整的带订阅的酸酸乳PLUS插件和adbyby plus+,分别需要勾选哪些依赖呢?可否帮忙编译两个呢 ...

这个即使编译了也很难安装上。。要对应内核版本的。最好自主编译。

点评

可否告知一下分别需要哪些依赖吗  详情 回复 发表于 2019-5-20 22:40
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
心安草_ 发表于 2019-5-20 20:14
这个即使编译了也很难安装上。。要对应内核版本的。最好自主编译。

可否告知一下分别需要哪些依赖吗
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

感谢楼主的教学
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

关闭

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

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

GMT+8, 2024-4-30 01:23

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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