8.4.1.3 WPA Security Mode

The AP mode configuration file with WPA/WPA2 security wilc_hostapd_wpa.conf contains the following lines.

interface=wlan0
driver=nl80211
ctrl_interface=/var/run/hostapd
ssid=wilc1000_SoftAP
dtim_period=2
beacon_int=100
channel=7
hw_mode=g
max_num_sta=8
ap_max_inactivity=300
ieee80211n=1
auth_algs=1

#########    WPA/WPA2  ###########
wpa=3
wpa_passphrase=12345678
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
rsn_pairwise=CCMP

The AP mode configuration file with WPA2/WPA3 security wilc_hostapd_wpa.conf contains the following lines.

interface=wlan0
driver=nl80211
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=wilc1000_SoftAP
dtim_period=2
beacon_int=100
channel=7
hw_mode=g
max_num_sta=8
ap_max_inactivity=300
ieee80211n=1
#########    WPA2/WPA3  ###########
wpa=2
ieee80211w=1
wpa_passphrase=1234567890
wpa_key_mgmt=SAE WPA-PSK 
rsn_pairwise=CCMP
sae_groups=19
sae_password=1234567890
broadcast_deauth=1

The AP mode configuration file with WPA3 (only) security wilc_hostapd_wpa.conf contains the following lines.

interface=wlan0
driver=nl80211
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=wilc1000_SoftAP
dtim_period=2
beacon_int=100
channel=7
hw_mode=g
max_num_sta=8
ap_max_inactivity=300
ieee80211n=1
#########    WPA3  ###########
wpa=2
ieee80211w=1
wpa_key_mgmt=SAE
rsn_pairwise=CCMP
sae_groups=19
sae_password=1234567890
broadcast_deauth=1