You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/nrf/app_dev/device_guides/nrf70/wifi_advanced_security_modes.rst
+188Lines changed: 188 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,194 @@ The client and the authentication server exchange certificates to authenticate e
21
21
See `Zephyr Wi-Fi management`_ for more information on how to configure and use the Wi-Fi enterprise security mode.
22
22
23
23
24
+
.. _ug_nrf70_wifi_enterprise_mode:
25
+
26
+
Enterprise mode testing on linux using hostapd
27
+
==============================================
28
+
29
+
Enterprise mode for Wi-Fi is used in business environments or larger networks, which require enhanced security and centralized management of users by utilizing Public Key Infrastructure (PKI).
30
+
31
+
Prerequisites
32
+
-------------
33
+
34
+
To use this mode, ensure that the following prerequisites are met:
35
+
36
+
* RADIUS server in addition to self-signed local certificate(s) and private key for both server-side and client-side (for EAP-TLS).
37
+
* Wi-Fi Access Point (AP) that supports Enterprise mode.
38
+
* nRF70 Series device with certificates for Enterprise mode available in the :file:`zephyr/samples/net/wifi/test_certs` folder.
39
+
40
+
RADIUS server configuration
41
+
---------------------------
42
+
43
+
Hostapd is an open-source user space software that provides an integrated RADIUS server, which can be used to simplify the setup for Enterprise mode.
44
+
Therefore, in the following example, hostapd is used as a RADIUS server (authentication server) to verify Enterprise mode functionality with the nRF7002 DK, along with commercial or test access points as the Authenticator.
45
+
46
+
Hostapd installation
47
+
--------------------
48
+
49
+
To install hostapd, complete the following steps:
50
+
51
+
1. Install hostapd by using the following commands:
52
+
53
+
.. code-block:: console
54
+
55
+
git clone git://w1.fi/hostap.git
56
+
57
+
cd hostap/hostapd
58
+
59
+
cp defconfig .config
60
+
61
+
#. Edit the :file:`.config` file for hostapd to use it as a RADIUS server by using the following commands:
62
+
63
+
.. code-block:: console
64
+
65
+
Comment (by adding #) the following configurations
66
+
#CONFIG_DRIVER_HOSTAP=y
67
+
#CONFIG_DRIVER_NL80211=y
68
+
#CONFIG_LIBNL32=y
69
+
70
+
Enable the following configurations (by removing # from the front)
71
+
CONFIG_DRIVER_NONE=y
72
+
CONFIG_RADIUS_SERVER=y
73
+
CONFIG_EAP_PSK=y
74
+
CONFIG_EAP_PWD=y
75
+
CONFIG_EAP_GPSK_SHA256=y
76
+
CONFIG_EAP_FAST=y
77
+
78
+
Add the following configurations
79
+
CONFIG_PEERKEY=y
80
+
CONFIG_IEEE80211W=y
81
+
82
+
Verify required EAP Types are enabled
83
+
"CONFIG_EAP=y"
84
+
"CONFIG_EAP_TLS=y"
85
+
"CONFIG_EAP_PEAP=y"
86
+
"CONFIG_EAP_TTLS=y"
87
+
88
+
Build the hostapd executable
89
+
----------------------------
90
+
91
+
To build the hostapd executable, complete the following steps:
92
+
93
+
1. Build the hostapd executable by using the following commands:
94
+
95
+
.. code-block:: console
96
+
97
+
make clean ; make
98
+
99
+
#. Copy the certificates for EAP-TLS to the hostapd folder by using the following commands:
Copy file name to clipboardExpand all lines: doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,7 @@ Developing with nRF70 Series
78
78
79
79
* Added support for the nRF7002 EB II (PCA63571) with the nRF54 Series DKs as detailed in :ref:`ug_nrf7002eb2_gs`.
80
80
* Deprecated support for the nRF7002 EB (PCA63561) with the nRF54 Series DKs.
81
+
* Added a new section :ref:`ug_nrf70_wifi_enterprise_mode` in the :ref:`ug_nrf70_wifi_advanced_security_modes` page.
81
82
* Removed support for storing the nRF70 firmware patches in external flash without the :ref:`partition_manager`, as mentioned in :ref:`ug_nrf70_developing_fw_patch_ext_flash`.
0 commit comments