# ESP32 as wifi module in Legato 21.05.0

**URL:** <https://forum.legato.io/t/esp32-as-wifi-module-in-legato-21-05-0/6858>\
**Category:** Uncategorized\
**Created:** [December 19, 2024, 9:04pm UTC](https://forum.legato.io/t/esp32-as-wifi-module-in-legato-21-05-0/6858 "2024-12-19T21:04:17Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [January 4, 2025, 3:01am UTC](https://forum.legato.io/t/esp32-as-wifi-module-in-legato-21-05-0/6858/8 "2025-01-04T03:01:57Z")

</div>

according to this document:

> [@Error to get IP-Address](https://forum.legato.io/t/error-to-get-ip-address/6622/2):
>
> you can follow this document to connect as wifi client [4119378\_mangOH Green Tutorial - Wi-Fi\_r1.pdf](https://forum.legato.io/uploads/short-url/uEmZg25JvqJm8UxvVuQkqWBUNjm.pdf) (939.0 KB)

it needs to do “wifi client setsecurityproto”.  
Have you tried this command first and see if it can connect wifi client?

If it needs this command, I believe you also need to set  
config set dataConnectionService:/wifi/secProtocol 3

For the definition of enum, you can see here:

> **[le\_wifiClient API Reference - Legato Docs](https://docs.legato.io/20_08/group __le__ wifiClient.html#ga3acda5a68db1e0d601ee840a94542304)**
>
> legato™ is an open source Linux-based embedded platform designed to simplify connected IoT application development

---

_[View the full topic](https://forum.legato.io/t/esp32-as-wifi-module-in-legato-21-05-0/6858)._
