|
楼主 |
发表于 2021-8-8 19:14
|
显示全部楼层
几种无线类型 `/etc/config/wireless` 的配置例子:
# 2.4G开放无线网络SSID:wireless为例子
config wifi-iface
option ifname 'wl11'
option network 'wan'
option encryption 'none'
option device 'wifi0'
option enctype 'NONE'
option scanifname 'wl1'
option extap '1'
option apcliband '2g'
option ssid 'wireless'
option mode 'sta'
option disabled '0'
option athnewind '0'
# 2.4G加密无线网络SSID:wireless,使用WPA-PSK/WPA2-PSK认证模式和TKIP+AES加密方式
config wifi-iface
option ifname 'wl11'
option network 'wan'
option encryption 'psk2'
option device 'wifi0'
option enctype 'AES'
option scanifname 'wl1'
option extap '1'
option apcliband '2g'
option key 'wireless'
option ssid 'wireless'
option mode 'sta'
option disabled '0'
option athnewind '0'
# 5G开放无线网络
config wifi-iface
option ifname 'wl12'
option network 'wan'
option encryption 'none'
option device 'wifi1'
option enctype 'NONE'
option scanifname 'wl0'
option extap '1'
option apcliband '5g'
option ssid 'wireless'
option mode 'sta'
option disabled '0'
option athnewind '0'
# 5G加密无线网络,使用WPA-PSK/WPA2-PSK认证模式和TKIP+AES加密方式
config wifi-iface
option ifname 'wl12'
option network 'wan'
option encryption 'psk2'
option device 'wifi1'
option enctype 'AES'
option scanifname 'wl0'
option extap '1'
option apcliband '5g'
option key 'wireless'
option ssid 'wireless'
option mode 'sta'
option disabled '0'
option athnewind '0'
|
|