Skip to content

Commit 11710b3

Browse files
jsuhaas22StaticRocket
authored andcommitted
feat(debian): CC33x1: Update docs to use NetworkManager
Update the CC33x1 "HowTo Guide" to use NetworkManager service and its nmcli tool for connecting to wifi, instead of using the current method of cc33xx-target-scripts. The scripts are required only in Arago, which is a custom distribution. But on Debian, we should use Debian's default way of managing wifi. Signed-off-by: Suhaas Joshi <[email protected]>
1 parent 32774b1 commit 11710b3

File tree

1 file changed

+25
-13
lines changed

1 file changed

+25
-13
lines changed

source/linux/How_to_Guides/Target/How_To_Enable_M2CC3301_in_linux.rst

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -83,26 +83,38 @@ For AM62L-EVM:
8383
Connect to Wi-Fi
8484
****************
8585

86-
Using scripts provided in the SDK makes connecting to an Access Point or router straightforward.
87-
The following are steps to connect to a WPA password-secured Access Point.
88-
8986
.. ifconfig:: CONFIG_sdk in ('SITARA')
9087

91-
.. code-block:: console
88+
Using scripts provided in the SDK makes connecting to an Access Point or router straightforward.
89+
The following are steps to connect to a WPA password-secured Access Point.
90+
91+
.. code-block:: console
9292
93-
cd /usr/share/cc33xx
94-
./sta_start.sh
95-
./sta_connect.sh -s WPA-PSK -n <SSID> -p <PASSWORD>
96-
udhcpc -i wlan0
93+
cd /usr/share/cc33xx
94+
./sta_start.sh
95+
./sta_connect.sh -s WPA-PSK -n <SSID> -p <PASSWORD>
96+
udhcpc -i wlan0
9797
9898
.. ifconfig:: CONFIG_sdk in ('DebianSDK')
9999

100-
.. code-block:: console
100+
TI's Debian SDK uses NetworkManager to connect to wifi. To connect, ensure that NetworkManager.service is running
101+
with the following command:
102+
103+
.. code-block:: console
104+
105+
systemctl status NetworkManager.service
106+
107+
It should show status as "active". If it isn't active, activate it by running the following:
108+
109+
.. code-block:: console
110+
111+
systemctl restart NetworkManager.service
112+
113+
Then, to actually connect to wifi, use `nmcli` as follows:
114+
115+
.. code-block:: console
101116
102-
cd /usr/share/cc33xx
103-
bash ./sta_start.sh
104-
bash ./sta_connect.sh -s WPA-PSK -n <SSID> -p <PASSWORD>
105-
udhcpc -i wlan0
117+
nmcli device wifi connect "<SSID>" password "<password>"
106118
107119
For more information on the Wi-Fi capabilities of the CC33xx devices, please
108120
see the documentation that can be found in the `CC33xx SDK <https://www.ti.com/tool/CC33XX-SOFTWARE>`_.

0 commit comments

Comments
 (0)