hostapd.conf , Attempting to allow Both WPA3 & WPA2 to connect , Odd results ...
by babydr from LinuxQuestions.org on (#5MF86)
Hello ALL , I've been attempting to have hostapd allow both wpa3 & wpa2 devices access a linux based router (home brewed) ...
using slackware64-current
Linux-5.10.41-HUGE , Self compiled , with config option CONFIG_IWLWIFI_DEBUG = Y
For obvious reasons , Which have not given me the debugging I was actually hoping for , Such as seeing in a logfile , even on the screen(wpa_cli or hostapd_cli) , the connection attempts of either of the wpa2 or wpa3 devices , they just don't appear .
The wifi device in the router (well nuc style pc) is ...
Code:# lspci -vs 04:00.0
04:00.0 Network controller: Intel Corporation Wireless 3165 (rev 81)
Subsystem: Intel Corporation Dual Band Wireless AC 3165
Flags: bus master, fast devsel, latency 0, IRQ 125
Memory at 81200000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [c8] Power Management version 3
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [40] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number 70-1c-e7-ff-ff-05-58-52
Capabilities: [14c] Latency Tolerance Reporting
Capabilities: [154] L1 PM Substates
Kernel driver in use: iwlwifi
Kernel modules: iwlwifihostapd pkgs created using slackbuilds hostapd tools .
The config present below does allow the wpa3 device to connect , At what rate I didn't check for , But the silly thing keeps saying 'insecure' .
With the hostapd-minimal.conf that is on Kernel.org , the wpa2 device does connect at 11Mb/s , it is capable of 11n , I am pretty sure the wpa3 device would fail with the hostapd-minimal.conf , I've not tried .
The wpa2 device is an ipad2(iOS 9.3.5) , Which there AIN'T any diagnostics on , The wpa3 device is an iphone11(iOS 14.6.0) , Which there AIN'T any diagnostics on either .
I've even took an OLD Dell laptop with a dlink(cardbus) DWL-G630 and NOT using hostapd there have been trying to see the attempts just from the client end , With the same results , Nothing appears anyplace to allow me to see what the heck is happening or not happening .
So I resort (Again) here to someone who has done much the same before , though successfully . I'd also appreciate a bit of info in how to have these tools provide decent diagnostics when needed . There have been many decent resources that have presented what looked like what I'd need tho again , Not presenting me what I was looking for .
All help appreciated . JimL
Code:# cat /etc/hostapd/hostapd.conf
interface=wlan0
logger_syslog=-1
logger_syslog_level=0
logger_stdout=-1
logger_stdout_level=0
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
wmm_enabled=0
ssid=SuperSSID
hw_mode=g
channel=1
beacon_int=100
dtim_period=2
max_num_sta=8
auth_algs=1
ieee80211n=1
wpa=2
wpa_passphrase=SuperPassPhrase
wpa_psk_file=/etc/hostapd/hostapd.wpa_psk
wpa_key_mgmt=WPA-PSK SAE
wpa_pairwise=CCMP TKIP
rsn_pairwise=CCMP TKIP
sae_password=SuperPassPhrase
wpa_passphrase=SuperPassPhrase
wps_cred_add_sae=1
ieee80211w=2
own_ip_addr=127.0.0.1
using slackware64-current
Linux-5.10.41-HUGE , Self compiled , with config option CONFIG_IWLWIFI_DEBUG = Y
For obvious reasons , Which have not given me the debugging I was actually hoping for , Such as seeing in a logfile , even on the screen(wpa_cli or hostapd_cli) , the connection attempts of either of the wpa2 or wpa3 devices , they just don't appear .
The wifi device in the router (well nuc style pc) is ...
Code:# lspci -vs 04:00.0
04:00.0 Network controller: Intel Corporation Wireless 3165 (rev 81)
Subsystem: Intel Corporation Dual Band Wireless AC 3165
Flags: bus master, fast devsel, latency 0, IRQ 125
Memory at 81200000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [c8] Power Management version 3
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [40] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number 70-1c-e7-ff-ff-05-58-52
Capabilities: [14c] Latency Tolerance Reporting
Capabilities: [154] L1 PM Substates
Kernel driver in use: iwlwifi
Kernel modules: iwlwifihostapd pkgs created using slackbuilds hostapd tools .
The config present below does allow the wpa3 device to connect , At what rate I didn't check for , But the silly thing keeps saying 'insecure' .
With the hostapd-minimal.conf that is on Kernel.org , the wpa2 device does connect at 11Mb/s , it is capable of 11n , I am pretty sure the wpa3 device would fail with the hostapd-minimal.conf , I've not tried .
The wpa2 device is an ipad2(iOS 9.3.5) , Which there AIN'T any diagnostics on , The wpa3 device is an iphone11(iOS 14.6.0) , Which there AIN'T any diagnostics on either .
I've even took an OLD Dell laptop with a dlink(cardbus) DWL-G630 and NOT using hostapd there have been trying to see the attempts just from the client end , With the same results , Nothing appears anyplace to allow me to see what the heck is happening or not happening .
So I resort (Again) here to someone who has done much the same before , though successfully . I'd also appreciate a bit of info in how to have these tools provide decent diagnostics when needed . There have been many decent resources that have presented what looked like what I'd need tho again , Not presenting me what I was looking for .
All help appreciated . JimL
Code:# cat /etc/hostapd/hostapd.conf
interface=wlan0
logger_syslog=-1
logger_syslog_level=0
logger_stdout=-1
logger_stdout_level=0
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
wmm_enabled=0
ssid=SuperSSID
hw_mode=g
channel=1
beacon_int=100
dtim_period=2
max_num_sta=8
auth_algs=1
ieee80211n=1
wpa=2
wpa_passphrase=SuperPassPhrase
wpa_psk_file=/etc/hostapd/hostapd.wpa_psk
wpa_key_mgmt=WPA-PSK SAE
wpa_pairwise=CCMP TKIP
rsn_pairwise=CCMP TKIP
sae_password=SuperPassPhrase
wpa_passphrase=SuperPassPhrase
wps_cred_add_sae=1
ieee80211w=2
own_ip_addr=127.0.0.1