Skip to content

Commit 198a644

Browse files
authored
Merge pull request #2756 from arduino/gibix/unoq-wpa2-enterprise
uno q: add wpa2-enterprise wifi connection
2 parents 38a9c46 + a8a9919 commit 198a644

File tree

1 file changed

+41
-0
lines changed
  • content/hardware/02.uno/boards/uno-q/tutorials/01.user-manual

1 file changed

+41
-0
lines changed

content/hardware/02.uno/boards/uno-q/tutorials/01.user-manual/content.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1423,6 +1423,47 @@ If you want to forget the saved network so it doesn’t auto-connect again, you
14231423
sudo nmcli connection delete <SSID>
14241424
```
14251425

1426+
#### WPA2-Enterprise Connections
1427+
1428+
To connect to a WPA2-Enterprise network, you need to provide additional authentication configuration. The possible configurations can be complex; please refer to the [official documentation](https://people.freedesktop.org/~lkundrak/nm-dbus-api/nm-settings.html) for a comprehensive list of options.
1429+
1430+
For example, here is the configuration for **Eduroam**, an international Wi-Fi roaming service for users in research and education.
1431+
1432+
```bash
1433+
nmcli con add \
1434+
type wifi \
1435+
connection.id Eduroam \ # Connection name
1436+
wifi.ssid eduroam \ # Network Wi-Fi SSID
1437+
wifi.mode infrastructure \
1438+
wifi-sec.key-mgmt wpa-eap \
1439+
802-1x.eap peap \
1440+
802-1x.phase2-auth mschapv2 \
1441+
802-1x.identity <your identity>
1442+
```
1443+
1444+
1445+
1446+
Here's another example using TTLS authentication with PAP:
1447+
1448+
```bash
1449+
nmcli con add \
1450+
type wifi \
1451+
connection.id ExampleNetwork \ # Connection name
1452+
wifi.ssid <your Wi-Fi SSID> \ # Network Wi-Fi SSID
1453+
wifi.mode infrastructure \
1454+
wifi-sec.key-mgmt wpa-eap \
1455+
802-1x.eap ttls \
1456+
802-1x.phase2-auth pap \
1457+
802-1x.domain-suffix-match example.com \
1458+
802-1x.identity <your identity>
1459+
```
1460+
1461+
If you prefer not to store your password in plain text (especially when it contains special characters), you can use the `--ask` flag to be prompted for the password interactively when connecting:
1462+
1463+
```bash
1464+
nmcli --ask con up <your network name>
1465+
```
1466+
14261467
#### From the Microcontroller
14271468

14281469
Since the radio module is connected to the Qualcomm microprocessor, we need the **Bridge** to expose the connectivity to the microcontroller.

0 commit comments

Comments
 (0)