openwrt支持wpa3加密

目前openwrt19.07发行版支持wpa3加密,详细请查看openwrt官网wpa3介绍

安装wpad-openssl

make menuconfig选择wpad-openssl

Network --->
	<*> wpad-openssl

注意:把其他版本的wpad去掉,否则会出现冲突导致编译不过。

如果openwrt已经是1907,可在系统中直接安装

opkg list | grep wpad #查看是否已安装wpad-openssl,如果未安装但安装了其他版本的wpad,请使用opkg remove ***卸载
opkg install wpad-openssl

配置Wi-Fi加密方式为WPA3

root@GL-AR750S:/# cat /etc/config/wireless 

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '36'
        option hwmode '11a'
        option path 'pci0000:00/0000:00:00.0'
        option htmode 'VHT80'
        option doth '0'
        option txpower '20'
        option txpower_max '20'
        option band '5G'
        option disabled '0'
        option noscan '0'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'GL-AR750S-58c-5G'
        option encryption 'sae' #加密方式为WPA3 Personal (SAE)
        option key 'goodlife'
        option disassoc_low_ack '0'
        option ifname 'wlan0'
        option wds '1'

重启wifi即可

openwrt加密方式key值对应表:

Value WPA Version Ciphers Supported since
sae WPA3 Personal (SAE) CCMP 19.07
sae-mixed WPA2/WPA3 Personal (PSK/SAE) mixed mode CCMP 19.07
psk2+tkip+ccmp WPA2 Personal (PSK) TKIP, CCMP
psk2+tkip+aes WPA2 Personal (PSK) TKIP, CCMP
psk2+tkip WPA2 Personal (PSK) TKIP
psk2+ccmp WPA2 Personal (PSK) CCMP
psk2+aes WPA2 Personal (PSK) CCMP
psk2 WPA2 Personal (PSK) CCMP
psk+tkip+ccmp WPA Personal (PSK) TKIP, CCMP
psk+tkip+aes WPA Personal (PSK) TKIP, CCMP
psk+tkip WPA Personal (PSK) TKIP
psk+ccmp WPA Personal (PSK) CCMP
psk+aes WPA Personal (PSK) CCMP
psk WPA Personal (PSK) CCMP
psk-mixed+tkip+ccmp WPA/WPA2 Personal (PSK) mixed mode TKIP, CCMP
psk-mixed+tkip+aes WPA/WPA2 Personal (PSK) mixed mode TKIP, CCMP
psk-mixed+tkip WPA/WPA2 Personal (PSK) mixed mode TKIP
psk-mixed+ccmp WPA/WPA2 Personal (PSK) mixed mode CCMP
psk-mixed+aes WPA/WPA2 Personal (PSK) mixed mode CCMP
psk-mixed WPA/WPA2 Personal (PSK) mixed mode CCMP
wpa3 WPA3 Enterprise CCMP 19.07
wpa3-mixed WPA3/WPA2 Enterprise CCMP 19.07
wpa2+tkip+ccmp WPA2 Enterprise TKIP, CCMP
wpa2+tkip+aes WPA2 Enterprise TKIP, CCMP
wpa2+ccmp WPA2 Enterprise CCMP
wpa2+aes’ WPA2 Enterprise CCMP
wpa2 WPA2 Enterprise CCMP
wpa2+tkip WPA2 Enterprise TKIP
wpa+tkip+ccmp WPA Enterprise TKIP, CCMP
wpa+tkip+aes WPA Enterprise TKIP, AES
wpa+ccmp WPA Enterprise CCMP
wpa+aes WPA Enterprise CCMP
wpa+tkip WPA Enterprise TKIP
wpa WPA Enterprise CCMP
wpa-mixed+tkip+ccmp WPA/WPA2 Enterprise mixed mode TKIP, CCMP
wpa-mixed+tkip+aes WPA/WPA2 Enterprise mixed mode TKIP, CCMP
wpa-mixed+tkip WPA/WPA2 Enterprise mixed mode TKIP
wpa-mixed+ccmp WPA/WPA2 Enterprise mixed mode CCMP
wpa-mixed+aes WPA/WPA2 Enterprise mixed mode CCMP
wpa-mixed WPA/WPA2 Enterprise mixed mode CCMP
owe Opportunistic Wireless Encryption (OWE) CCMP 19.07

你可能感兴趣的:(openwrt)