自定义构建
https://firmware-selector.openwrt.org/
可选 PKG
中文语言、iperf3、SmartDNS
luci-i18n-base-zh-cn luci-i18n-firewall-zh-cn luci-i18n-opkg-zh-cn iperf3 luci-i18n-smartdns-zh-cn
自定义构建配置 (uci-defaults)
# Beware! This script will be in /rom/etc/uci-defaults/ as part of the image.
# Uncomment lines to apply:
#
host_name="Licht_AX"
#
wlan_name="Licht_AX_5G"
wlan_password="Licht998486."
#
root_password="Licht998486."
lan_ip_address="192.168.8.1"
# log potential errors
exec >/tmp/setup.log 2>&1
if [ -n "$root_password" ]; then
(echo "$root_password"; sleep 1; echo "$root_password") | passwd > /dev/null
fi
# Set hostname & timezone
if [ -n "$host_name" ]; then
uci set system.@system[0].hostname="$host_name"
uci set system.@system[0].timezone='CST-8'
uci set system.@system[0].zonename='Asia/Shanghai'
uci commit system
fi
# Configure LAN
# More options: https://openwrt.org/docs/guide-user/base-system/basic-networking
if [ -n "$lan_ip_address" ]; then
uci set network.lan.ipaddr="$lan_ip_address"
uci commit network
fi
# Configure WLAN
# More options: https://openwrt.org/docs/guide-user/network/wifi/basic#wi-fi_interfaces
if [ -n "$wlan_name" -a -n "$wlan_password" -a ${#wlan_password} -ge 8 ]; then
# 5G HZ WLAN @wifi-device[1]
# Device
uci set wireless.@wifi-device[1].disabled='0'
uci set wireless.@wifi-device[1].country='US'
uci set wireless.@wifi-device[1].cell_density='2'
uci set wireless.@wifi-device[1].channel='64'
uci set wireless.@wifi-device[1].htmode='HE160'
# Interface
uci set wireless.@wifi-iface[1].disabled='0'
uci set wireless.@wifi-iface[1].encryption='psk2'
uci set wireless.@wifi-iface[1].ssid="$wlan_name"
uci set wireless.@wifi-iface[1].key="$wlan_password"
#
uci commit wireless
fi
echo "All done!"
AX3000T 相关
基本信息
| Model | AX3000T | 
|---|---|
| CPU | MediaTek MT7981B | 
| Arch | ARMv8 Processor rev 4 / AArch64 Cortex-A53 | 
| Platform | Mediatek/Filogic | 
| Flash Size | 128 MB | 
| RAM | 256 MB | 
| Wiki | https://openwrt.org/inbox/toh/xiaomi/ax3000t | 
刷入过程
- 参考 OpenWrt Wiki 官方教程,使用 XMiR-Patcher 按照提示即可刷入 OpenWrt。
 
注意事项
使用 XMiR-Patcher 备份过程中可能出现 Timed Out 的问题。
解决方法:GitHub Issue。
Timeout 设置为 90 并使用额外功能菜单中的单独备份模式分别备份各个分区。
UBoot 刷入
- 同样参考 OP 官方 Wiki。
 - 使用 scp 命令在电脑与路由器之间拷贝文件时使用 
-O参数。 
注意事项
- 5G WIFI - 高级设置 - 国家代码设置为 US。
 - 信号覆盖密度酌情设置。
 - 常规设置最大传输功率可选 24 dBm 或自动。
 - 选择 AU 等国家代码可能会因为频率过高 (超过 6GHZ) 导致搜索不到 5G 信号。
 
其他 PKG
OpenWrt-nikki
formerly MihomoTProxy
https://github.com/nikkinikki-org/OpenWrt-nikki/wiki
- 配置目录:/etc/mihomo/profiles
 - 运行目录: /etc/mihomo/run
 - UI 目录:/etc/mihomo/run/ui
 - 路由器代理性能开销较小,局域网代理性能开销较大。