1、编译丰富插件时,建议修改下面两项默认大小,留足插件空间。( x86/64 )

Target Images ---> (16) Kernel partition size (in MB) #建议修改 (128)
Target Images ---> (160) Root filesystem partition size (in MB) #建议修改 (1024)

2、取消samba

Extra packages ---> autosamba (取消选定)

3、支持 iPv6:

Extra packages ---> ipv6helper(选定)

4、勾选的插件

LuCI ---> Applications ---> luci-app-diskman #磁盘管理工具
LuCI ---> Applications ---> luci-app-filetransfer #文件传输(可web安装ipk包)
LuCI ---> Applications ---> luci-app-firewall #防火墙
LuCI ---> Applications ---> luci-app-frpc #内网穿透Frp客户端
LuCI ---> Applications ---> luci-app-nlbwmon #网络带宽监视器
LuCI ---> Applications ---> luci-app-pptp-server #VPN服务器 PPTP
LuCI ---> Applications ---> luci-app-socat #端口转发
LuCI ---> Applications ---> luci-app-ttyd #网页终端命令行
LuCI ---> Applications ---> luci-app-turboacc #Turbo ACC 网络加速(支持 Fast Path 或者 硬件 NAT)
LuCI ---> Applications ---> luci-app-turboacc ---> Include Shortcut-FE CM #Shortcut-FE 流量分载
LuCI ---> Applications ---> luci-app-turboacc ---> Include BBR CCA #BBR拥塞控制算法提升TCP网络性能
LuCI ---> Applications ---> luci-app-turboacc ---> Include Pdnsd #DNS服务器
LuCI ---> Applications ---> luci-app-upnp #通用即插即用UPnP(端口自动转发)
LuCI ---> Applications ---> luci-app-webadmin #Web管理页面设置

5、添加luci-theme-argone主题

rm -rf package/lean/luci-theme-argone
git clone https://github.com/kenzok78/luci-theme-argone.git package/lean/luci-theme-argone
rm -rf package/lean/luci-app-argone-config
git clone https://github.com/kenzok78/luci-app-argone-config.git package/lean/luci-app-argone-config
sed -i 's/luci-theme-bootstrap/luci-theme-argone/' feeds/luci/collections/luci/Makefile

6、ddns-go

rm -rf package/ddns-go
git clone https://github.com/sirpdboy/luci-app-ddns-go.git package/ddns-go

7、partexp

rm -rf package/luci-app-partexp
git clone https://github.com/sirpdboy/luci-app-partexp.git package/luci-app-partexp

8、nezha

rm -rf package/nezha
git clone https://github.com/erope/openwrt_nezha.git package/nezha

9、helloworld

rm -rf package/helloworld
git clone https://github.com/fw876/helloworld.git package/helloworld

10、passwall

rm -rf package/passwall-packages
git clone https://github.com/xiaorouji/openwrt-passwall-packages.git package/passwall-packages
rm -rf package/passwall
git clone https://github.com/xiaorouji/openwrt-passwall.git package/passwall

11、首次编译

export FORCE_UNSAFE_CONFIGURE=1 &&
./scripts/feeds update -a &&
./scripts/feeds install -a &&
make menuconfig &&
make download -j8 &&
make V=s -j$(nproc)

12、二次编译

apt update -y &&
apt full-upgrade -y &&
cd /root/lede &&
export FORCE_UNSAFE_CONFIGURE=1 &&
export ALL_PROXY=socks5://*:*@47.76.90.39:10808 &&
export GOPROXY=https://goproxy.cn &&
git config pull.rebase false &&
git pull &&
./scripts/feeds update -a &&
./scripts/feeds install -a &&
make defconfig &&
make download -j8 &&
make V=s -j$(nproc)

编译新版Sing-box和hysteria,需golang版本1.20或者以上版本 ,可以用以下命令

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

编译后找不到ttyd选项处理方法

make package/feeds/packages/ttyd/{clean,compile} -j8 V=s

修改左侧菜单栏名称和流量监控绑定接口

sed -i 's/带宽监控/监控/' feeds/luci/applications/luci-app-nlbwmon/po/zh-cn/nlbwmon.po
sed -i 's/lan/br-lan/' feeds/packages/net/nlbwmon/files/nlbwmon.config

OpenWrt 编译 LuCI -> Applications 添加插件应用说明

https://www.right.com.cn/forum/forum.php?mod=viewthread&tid=3682029

最后修改:2024 年 09 月 07 日
如果觉得我的文章对你有用,请随意赞赏