无线网络配置

1.需要修改的配置文件

nano ./package/network/config/wifi-scripts/files/lib/wifi/mac80211.sh

2.openwrt无线默认关闭,修改为默认开启

set wireless.${name}.disabled=1
修改为
set wireless.${name}.disabled=0

3.修改openwrt无线名称ssid为默认mac后6位

set wireless.default_${name}.ssid=OpenWrt_$(cat /sys/class/ieee80211/${dev}/macaddress|awk -F ":" '{print $4""$5""$6 }'| tr a-z A-Z)

编译VxLan需要勾选软件包

Kernel modules
	->Network Support
		-->komd-vxlan
LuCI
	->Protocols
		-->luci-proto-vxlan
Network
	->Routing and Redirection
		-->ip-bridge
		-->ip-full
	-->vxlan

编译FRR动态路由

1.需要将所有frr相关先编译一遍

Network
	->Routing and Redirection
		-->frr
			--->*

2.FRR必选软件包

Network
	->Routing and Redirection
		-->frr
			--->frr-staticd
			--->frr-vtysh
			--->frr-watchfrr
			--->frr-zebra

编译主题

1.将主题文件导入工作目录中

git clone https://github.com/jerrykuku/luci-theme-argon.git openwrt/feeds/luci/collections/luci

2.编辑/feeds/luci/themes/luci-theme-bootstrap/root/etc/uci-defaults/30_luci-theme-bootstrap,使默认主题不生效

3.编辑openwrt/feeds/luci/collections/luci/Makefile,使新加入主题必选

nano openwrt/feeds/luci/collections/luci/Makefile
写入LUCI_DEPENDS:= \
        +luci-light +luci-theme-argon\
        +luci-app-opkg