openwrt编译自定义合集

openwrt编译自定义合集

添加小猫包

1
2
3
4
5
6
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
git pull
proxychains ./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig

ipv6开启

make menuconfig
Extra packages->ipv6helper,空格点选
再找Network->Firewall->ip6tables,回车进去,把能看见的全空格点选
(一般为ipv6tables-extra和ip6yables-mod-nat)

改banner

修改 package/base-files/files/etc/banner

改默认ip

package/base-files/files/bin/config_generate
image.png (这好像没什么用)

x86-qemu

Target Images->Build PVE/KVM image files(QCOW2)
PS:Images里最好去掉其他选项,比如Gzip Images啥的

Utilities->Virtualization->qemu-ga
PS:一定要点选成星号

cloudflare DDNS脚本

Network -> IP Addresses and Names->ddns-scripts->ddns-scripts-cloudflare

MT7922

Kernel modules->Wireless Drivers-> kmod-mt7922-firmware kmod-mt7921e Firmware->mt7922bt-firmware
警告:lede会有大量报错,建议使用官方源码

application

LuCI->Applications-> luci-app-openclash luci-app-bypass 去掉luci-app-ssr-plus luci-app-ttyd luci-app-uhttpd 官方 LuCI->Applications-> luci-app-cloudflared luci-app-ddns luci-app-ttyd luci-app-uhttpd luci-app-firewall luci-app-package-manager luci-app-wol

主题

LuCI->Themes->luci-theme-material

无线

添加协议

Netowrk->WirelessAPD-> wpa-supplicant wpa-cli hostapd 第一次启动需要在启动项添加/sbin/wifi up否则wifi不会自启,没用的话可以参考wifi自启

修改ssid

package/kernel/mac80211/files/lib/wifi/mac80211.sh
image.png

Administration

Administration->btop

中文

LuCI —> Modules —> Translations -> Simp Chinese feeds/luci/modules/luci-base/root/etc/config/luci option lang zh_cn

Licensed under CC BY-NC-SA 4.0
使用 Hugo 构建
主题 StackJimmy 设计