编译OPENWRT遇到的一些问题。

发布于 2024-03-22  75 次阅读


Feeds源:

https://github.com/kenzok8/openwrt-packages

https://github.com/kenzok8/small

一键添加feeds源指令:

sed -i '$a src-git kenzo https://github.com/kenzok8/openwrt-packages' feeds.conf.default

sed -i '$a src-git small https://github.com/kenzok8/small' feeds.conf.default

编辑文件 feeds.conf.default 文件手动添加

sudo vim feeds.conf.default

src-git kenzo https://github.com/kenzok8/openwrt-packages

src-git small https://github.com/kenzok8/small 

src-git helloworld https://github.com/fw876/helloworld

src-git passwall https://github.com/xiaorouji/openwrt-passwall

src-git lienol https://github.com/Lienol/openwrt-package

编译到某些插件时需要提升GOlang1.22版本

rm -rf feeds/packages/lang/golang

git clone https://github.com/kenzok8/golang feeds/packages/lang/golang

编译时修改默认主题为luci-theme-argon

修改/lean/feeds/luci/collections/luci下的makefile,

把LUCI_DEPENDS下的luci-theme-bootstrap修改成你想要z主题。

然后make menuconfig把默认的luci-theme-bootstrap勾掉就OK

编译时修改默认lan口IP

vim package/base-files/files/bin/config_generate

修改

lan) ipad=${ipaddr:-"192.168.1.1"} ;;

编译时按照Argon按照github上的指令编译生成镜像后是1.0.2早期版本。

删掉lede/package/lean路径下的luci-theme-argon

将lede/package/lean/luci-theme-argon复制到lede/package/lean/luci-theme-argon即可

届ける言葉を今は育ててる
最后更新于 2024-03-22