峯言凬语 O ever youthful O ever weeping~
本无意与众不同,怎奈何口味太重。
首页
平水韵
颜色表
ABOUT
文章分类
友情链接
OpenWrt官方原版配置插件,以及单独编译ipk插件
2019-08-07 |Nonni | Net

nh011.png
官网下载:

https://downloads.openwrt.org/releases/

设置软件源为

dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
arch ramips_24kec 100
arch ramips 200
arch ralink 300
arch mips 400
arch all 500
src/gz pandora_base http://downloads.pandorabox.com.cn/pandorabox/packages/mt7621/packages/base
src/gz pandora_luci http://downloads.pandorabox.com.cn/pandorabox/packages/mt7621/packages/luci
src/gz pandora_packages http://downloads.pandorabox.com.cn/pandorabox/packages/mt7621/package/packages

update
然后安装 luci-app-s-s s-s-libev

或者软件源里面再加上

src/gz sourceforge_dist http://openwrt-dist.sourceforge.net/releases/ramips/packages
src/gz sourceforge_dist_luci http://openwrt-dist.sourceforge.net/releases/luci/packages

update
然后安装 luci-app-s-s-spec s-s-libev-spec

*注意不要随便upgrade其他软件包,经常会造成各种问题,比如升级dnsmasq dnsmasq-full后不能解析域名,升级busybox常会造成不能登陆管理界面而需要重刷。

单独编译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

单独编译IPK的命令:

make package/MentoHUST-OpenWrt-ipk/compile V=99
make package/luci-app-mentohust/compile V=99
make package/lean/luci-app-ssr-plus/compile V=s
make package/lienol/lienol/luci-app-passwall/compile V=s
make package/lean/luci-app-syncdial/compile V=s
make package/feeds/luci/luci-app-transmission/compile V=s
make package/lean/luci-app-nps/compile V=s
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
respond-post-343

添加新评论

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