diff --git a/source/linux/How_to_Guides/Target/How_To_Enable_M2CC3301_in_linux.rst b/source/linux/How_to_Guides/Target/How_To_Enable_M2CC3301_in_linux.rst index 2d898300a..b819b62e1 100644 --- a/source/linux/How_to_Guides/Target/How_To_Enable_M2CC3301_in_linux.rst +++ b/source/linux/How_to_Guides/Target/How_To_Enable_M2CC3301_in_linux.rst @@ -81,12 +81,23 @@ Connect to Wi-Fi Using scripts provided in the SDK makes connecting to an Access Point or router straightforward. The following are steps to connect to a WPA password-secured Access Point. -.. code-block:: console +.. ifconfig:: CONFIG_sdk in ('SITARA') + + .. code-block:: console + + cd /usr/share/cc33xx + ./sta_start.sh + ./sta_connect.sh -s WPA-PSK -n -p + udhcpc -i wlan0 + +.. ifconfig:: CONFIG_sdk in ('DebianSDK') + + .. code-block:: console - cd /usr/share/cc33xx - ./sta_start.sh - ./sta_connect.sh -s WPA-PSK -n -p - udhcpc -i wlan0 + cd /usr/share/cc33xx + bash ./sta_start.sh + bash ./sta_connect.sh -s WPA-PSK -n -p + udhcpc -i wlan0 For more information on the Wi-Fi capabilities of the CC33xx devices, please see the documentation that can be found in the `CC33xx SDK `_.