在官方 openwrt 中使用 lede 里的插件
- 从 lede/feeds/luci/applications 里复制 luci-app-autoreboot、luci-app-ramfree、luci-app-watchcat、luci-app-adbyby-plus、luci-app-filetransfer、luci-app-ttyd、luci-app-wol、luci-app-arpbind、luci-app-nlbwmon、luci-app-turboacc、luci-app-wrtbwmon 到官方 openwrt 下的 feeds/luci/applications
- 从 lede/feeds/packages/net 里复制 dnsforwarder 到官方 openwrt 下的 feeds/packages/net
- 从 lede/feeds/luci/libs/luci-lib-fs 里复制 luci-lib-fs 到官方 openwrt 下的 feeds/luci/libs/luci-lib-fs
- 然后执行 ./scripts/feeds update -a && ./scripts/feeds install -a
- 然后 make menuconfig 选中这些软件包
- 编译:make V=s -j$(nproc) | tee ../op.log
- FAQ
- 官方 openwrt 编译 tubcc 报错 没有 zones.lua
- 编辑:openwrt/feeds/luci/applications/luci-app-turboacc/Makefile
- 注释 define Package/$(PKG_NAME)/preinst 这段内容
- 如果不注释上面的会报错,应该是官方 openwrt 的 luci-app-firewall 的原因,需要将 lede 的 luci-app-firewall 复制到 luci 中并覆盖。
- 官方 openwrt 编译 tubcc 报错 没有 zones.lua
官方 openwrt 使用 mtk 闭源wifi 驱动
- 1.取消开源驱动:wireless-regdb 、hostapd-common 、kmod-mt7603、kmod-mt76 、kmod-mt76-core 、kmod-mt7603 、kmod-mt76x2 、netifd 、kmod-mt7615-fireware和 kmod-mt7615e,以及wpad-openssl (network-wirelessAPD下面,可能是wpad-mini或其他的,总之把wpad开头的都取消否则会冲突)
- 2.选择闭源驱动:mtwifi、kmod-mt7603e、kmod-mt7615d
- 编译完以后,先刷initramfs-kernel.bin,在此基础上再刷squashfs-sysupgrade.bin试试
- 参考:
- https://www.openwrt.pro/post-424.html mtk 闭源驱动
- https://github.com/coolsnowwolf/lede/tree/eb64bd0f9b3356d771fbfce39f9f20cff53c3ceb/package/lean/mt mtk 闭源驱动
- https://github.com/coolsnowwolf/lede/issues/5002
- https://github.com/coolsnowwolf/lede/issues/6102
- https://github.com/coolsnowwolf/lede/issues/9384 wifi 选开源驱动还是闭源驱动问题的解答
- https://github.com/coolsnowwolf/lede/issues/8775
- https://github.com/coolsnowwolf/lede/issues/7379
- https://github.com/coolsnowwolf/lede/issues/9185
- https://iqqoz.com/post-3051.html