From 2668b34602254c220781f0979bf9891658f56438 Mon Sep 17 00:00:00 2001 From: Chaitanya Tata Date: Fri, 28 Mar 2025 00:09:34 +0530 Subject: [PATCH] doc: net: wifi: Fix the connect command The command should work with existing certs rather than a generic example, also fix the key-management. Signed-off-by: Chaitanya Tata --- doc/connectivity/networking/api/wifi.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/connectivity/networking/api/wifi.rst b/doc/connectivity/networking/api/wifi.rst index feaf0a9fc4e..c22b6d502fe 100644 --- a/doc/connectivity/networking/api/wifi.rst +++ b/doc/connectivity/networking/api/wifi.rst @@ -78,7 +78,7 @@ To initiate Wi-Fi connection, the following command can be used: .. code-block:: console - uart:~$ wifi connect -s -c 149 -k 17 -w 2 -a client1 --key1-pwd whatever --key2-pwd whatever --eap-id1 id1 --eap-pwd1 pwd1 + uart:~$ wifi connect -s -c 149 -k 7 -w 2 -a client1 --key1-pwd whatever --key2-pwd whatever Server certificate is also provided in the same directory for testing purposes. Any AAA server can be used for testing purposes, for example, ``FreeRADIUS`` or ``hostapd``.