I am evaluating the board nrf3054-dk + nrf7002-ek
I build and run the sample project net/samples/wifi/shell on my board
I tested the wifi shell with some personal encryptions and it works.
But when I tested it with WPA2 Enterprise encryptions, the connection fails,
the command wifi connect returns an error
uart:~$ wifi connect -s "RYSE-SmartBridge-4B19" -k 12 -I "bob" -P "test" [00:02:51.343,658] <err> wpa_supp: Unsupported security type: 12 [00:02:51.344,329] <err> wpa_supp: Failed to add and configure network for STA mode: -1
I added the following param to prj.conf:
CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE=y
but now I got new error log and here after the summary of the log
uart:~$ wifi connect -s "RYSE-SmartBridge-4B19" -k 12 -I "bob" -P "test" [00:05:32.108,245] <wrn> net_if: iface 1 pkt 0x2005b0d8 send failure status -1 [00:05:32.303,009] <err> wpa_supp: MTLS: invalid tls_disable_tlsv* params; ignoring [00:05:32.320,739] <wrn> wpa_supp: EAP-PEAP: Failed to select forced PEAP version 1 [00:05:32.320,831] <inf> wpa_supp: wlan0: CTRL-EVENT-EAP-FAILURE EAP authentication failed Connection request failed (Connection failed/1)
and here after the detailed log:
uart:~$ wifi connect -s "RYSE-SmartBridge-4B19" -k 12 -I "bob" -P "test" Connection requested [00:05:27.078,979] <dbg> net_mgmt: net_mgmt_event_notify_with_info: (hostap_handler): Notifying Event layer 3 code 8 type 6 [00:05:27.079,040] <dbg> net_mgmt: mgmt_event_work_handler: (net_mgmt): Handling events, forwarding it relevantly [00:05:27.079,040] <dbg> net_mgmt: mgmt_run_slist_callbacks: (net_mgmt): Event layer 3 code 8 cmd 6 [00:05:27.103,302] <dbg> net_mgmt: net_mgmt_event_notify_with_info: (hostap_handler): Notifying Event layer 3 code 8 type 6 [00:05:27.103,332] <dbg> net_mgmt: mgmt_event_work_handler: (net_mgmt): Handling events, forwarding it relevantly [00:05:27.103,363] <dbg> net_mgmt: mgmt_run_slist_callbacks: (net_mgmt): Event layer 3 code 8 cmd 6 --- 18 messages dropped --- [00:05:32.107,788] <dbg> net_mgmt: net_mgmt_event_notify_with_info: (sysworkq): Notifying Event layer 3 code 4 type 1 [00:05:32.107,849] <dbg> net_mgmt: net_mgmt_event_notify_with_info: (sysworkq): Notifying Event layer 3 code 4 type 3 [00:05:32.108,245] <wrn> net_if: iface 1 pkt 0x2005b0d8 send failure status -1 [00:05:32.108,337] <dbg> net_mgmt: mgmt_event_work_handler: (net_mgmt): Handling events, forwarding it relevantly [00:05:32.108,367] <dbg> net_mgmt: mgmt_run_slist_callbacks: (net_mgmt): Event layer 3 code 4 cmd 7 [00:05:32.108,367] <dbg> net_mgmt: mgmt_run_slist_callbacks: (net_mgmt): Running callback 0x20005204 : 0x53025 [00:05:32.108,612] <dbg> net_mgmt: mgmt_event_work_handler: (net_mgmt): Handling events, forwarding it relevantly [00:05:32.108,612] <dbg> net_mgmt: mgmt_run_slist_callbacks: (net_mgmt): Event layer 3 code 4 cmd 1 [00:05:32.108,642] <dbg> net_mgmt: mgmt_run_slist_callbacks: (net_mgmt): Running callback 0x20005204 : 0x53025 [00:05:32.109,832] <dbg> net_mgmt: net_mgmt_event_notify_with_info: (sysworkq): Notifying Event layer 3 code 4 type 7 [00:05:32.110,717] <dbg> net_mgmt: mgmt_event_work_handler: (net_mgmt): Handling events, forwarding it relevantly [00:05:32.110,748] <dbg> net_mgmt: mgmt_run_slist_callbacks: (net_mgmt): Event layer 3 code 4 cmd 3 [00:05:32.110,748] <dbg> net_mgmt: mgmt_run_slist_callbacks: (net_mgmt): Running callback 0x20005204 : 0x53025 [00:05:32.110,839] <dbg> net_mgmt: mgmt_event_work_handler: (net_mgmt): Handling events, forwarding it relevantly [00:05:32.110,870] <dbg> net_mgmt: mgmt_run_slist_callbacks: (net_mgmt): Event layer 3 code 4 cmd 7 [00:05:32.110,870] <dbg> net_mgmt: mgmt_run_slist_callbacks: (net_mgmt): Running callback 0x20005204 : 0x53025 [00:05:32.111,206] <inf> wpa_supp: wlan0: Associated with 40:a3:6b:c7:4b:18 [00:05:32.111,907] <inf> wpa_supp: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0 [00:05:32.112,976] <inf> wpa_supp: wlan0: CTRL-EVENT-EAP-STARTED EAP authentication started [00:05:32.210,205] <dbg> net_mgmt: net_mgmt_event_notify_with_info: (sysworkq): Notifying Event layer 3 code 4 type 13 [00:05:32.210,235] <dbg> net_mgmt: net_mgmt_event_notify_with_info: (sysworkq): Notifying Event layer 3 code 4 type 16 [00:05:32.210,296] <dbg> net_mgmt: mgmt_event_work_handler: (net_mgmt): Handling events, forwarding it relevantly [00:05:32.210,296] <dbg> net_mgmt: mgmt_run_slist_callbacks: (net_mgmt): Event layer 3 code 4 cmd 13 [00:05:32.210,296] <dbg> net_mgmt: mgmt_run_slist_callbacks: (net_mgmt): Running callback 0x20005204 : 0x53025 [00:05:32.210,357] <dbg> net_mgmt: mgmt_event_work_handler: (net_mgmt): Handling events, forwarding it relevantly [00:05:32.210,357] <dbg> net_mgmt: mgmt_run_slist_callbacks: (net_mgmt): Event layer 3 code 4 cmd 16 [00:05:32.262,054] <inf> wpa_supp: wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=4 -> NAK [00:05:32.301,818] <inf> wpa_supp: wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25 [00:05:32.303,009] <err> wpa_supp: MTLS: invalid tls_disable_tlsv* params; ignoring [00:05:32.320,648] <inf> wpa_supp: wlan0: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected [00:05:32.320,739] <wrn> wpa_supp: EAP-PEAP: Failed to select forced PEAP version 1 [00:05:32.320,831] <inf> wpa_supp: wlan0: CTRL-EVENT-EAP-FAILURE EAP authentication failed Connection request failed (Connection failed/1) --- 2 messages dropped --- [00:05:34.328,186] <inf> wpa_supp: wlan0: CTRL-EVENT-DISCONNECTED bssid=40:a3:6b:c7:4b:18 reason=3 locally_generated=1
btw: I tested the wpa2 enterprise connection with my windows PC and it works
and here after the full prj.conf
also attached the traffic capture on the freeradius server:
radius.pcapng