WPA2 Enterprise

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
MATTYGILO
Posts: 12
Joined: Tue Apr 05, 2022 3:03 pm

Re: WPA2 Enterprise

Post by MATTYGILO » Wed Aug 03, 2022 11:10 am

This doesn't work I get this error


OSError: Wifi Invalid Mode

MATTYGILO
Posts: 12
Joined: Tue Apr 05, 2022 3:03 pm

Re: WPA2 Enterprise

Post by MATTYGILO » Wed Aug 03, 2022 1:45 pm

I have implemented the code on my repo but I get this error

Code: Select all

0x4038516b: compare_and_set_native at /home/runner/work/tensorflow-micropython-examples/tensorflow-micropython-examples/esp-idf/components/esp_hw_support/include/soc/compare_set.h:25
 (inlined by) spinlock_acquire at /home/runner/work/tensorflow-micropython-examples/tensorflow-micropython-examples/esp-idf/components/esp_hw_support/include/soc/spinlock.h:103
 (inlined by) xPortEnterCriticalTimeout at /home/runner/work/tensorflow-micropython-examples/tensorflow-micropython-examples/esp-idf/components/freertos/port/xtensa/port.c:288
0x40375eb0: heap_caps_malloc at /home/runner/work/tensorflow-micropython-examples/tensorflow-micropython-examples/esp-idf/components/heap/heap_caps.c:145
0x403760d7: heap_caps_calloc at /home/runner/work/tensorflow-micropython-examples/tensorflow-micropython-examples/esp-idf/components/heap/heap_caps.c:395
0x4207a136: gdma_new_channel at /home/runner/work/tensorflow-micropython-examples/tensorflow-micropython-examples/esp-idf/components/driver/gdma.c:143
0x420c1206: crypto_shared_gdma_new_channel at /home/runner/work/tensorflow-micropython-examples/tensorflow-micropython-examples/esp-idf/components/mbedtls/port/crypto_shared_gdma/esp_crypto_shared_gdma.c:41
 (inlined by) crypto_shared_gdma_init at /home/runner/work/tensorflow-micropython-examples/tensorflow-micropython-examples/esp-idf/components/mbedtls/port/crypto_shared_gdma/esp_crypto_shared_gdma.c:75
 (inlined by) esp_crypto_shared_gdma_start at /home/runner/work/tensorflow-micropython-examples/tensorflow-micropython-examples/esp-idf/components/mbedtls/port/crypto_shared_gdma/esp_crypto_shared_gdma.c:112
0x420c11d1: esp_sha_dma_start at /home/runner/work/tensorflow-micropython-examples/tensorflow-micropython-examples/esp-idf/components/mbedtls/port/sha/dma/esp_sha_gdma_impl.c:20
0x420c10eb: esp_sha_dma_process at /home/runner/work/tensorflow-micropython-examples/tensorflow-micropython-examples/esp-idf/components/mbedtls/port/sha/dma/sha.c:316
 (inlined by) esp_sha_dma at /home/runner/work/tensorflow-micropython-examples/tensorflow-micropython-examples/esp-idf/components/mbedtls/port/sha/dma/sha.c:260
0x420bf84b: esp_internal_sha1_dma_process at /home/runner/work/tensorflow-micropython-examples/tensorflow-micropython-examples/esp-idf/components/mbedtls/port/sha/dma/esp_sha1.c:117
 (inlined by) mbedtls_sha1_update_ret at /home/runner/work/tensorflow-micropython-examples/tensorflow-micropython-examples/esp-idf/components/mbedtls/port/sha/dma/esp_sha1.c:179
0x420bf96f: mbedtls_sha1_update_ret at /home/runner/work/tensorflow-micropython-examples/tensorflow-micropython-examples/esp-idf/components/mbedtls/port/sha/dma/esp_sha1.c:143
 (inlined by) mbedtls_sha1_finish_ret at /home/runner/work/tensorflow-micropython-examples/tensorflow-micropython-examples/esp-idf/components/mbedtls/port/sha/dma/esp_sha1.c:238
0x420b913d: sha1_finish_wrap at /home/runner/work/tensorflow-micropython-examples/tensorflow-micropython-examples/esp-idf/components/mbedtls/mbedtls/library/md_wrap.c:366
0x420b8fea: mbedtls_md_hmac_finish at /home/runner/work/tensorflow-micropython-examples/tensorflow-micropython-examples/esp-idf/components/mbedtls/mbedtls/library/md.c:410
0x420ba14b: mbedtls_pkcs5_pbkdf2_hmac at /home/runner/work/tensorflow-micropython-examples/tensorflow-micropython-examples/esp-idf/components/mbedtls/mbedtls/library/pkcs5.c:280
0x4200cf65: pbkdf2_sha1 at /home/runner/work/tensorflow-micropython-examples/tensorflow-micropython-examples/esp-idf/components/wpa_supplicant/src/crypto/crypto_mbedtls.c:664
0x4200bd89: wpa_set_passphrase at /home/runner/work/tensorflow-micropython-examples/tensorflow-micropython-examples/esp-idf/components/wpa_supplicant/src/rsn_supp/wpa.c:2287
0x4200bf59: wpa_set_bss at /home/runner/work/tensorflow-micropython-examples/tensorflow-micropython-examples/esp-idf/components/wpa_supplicant/src/rsn_supp/wpa.c:2257
0x42087b92: wpa_config_bss at /home/runner/work/tensorflow-micropython-examples/tensorflow-micropython-examples/esp-idf/components/wpa_supplicant/esp_supplicant/src/esp_wpa_main.c:91
0x42087bab: wpa_sta_connect at /home/runner/work/tensorflow-micropython-examples/tensorflow-micropython-examples/esp-idf/components/wpa_supplicant/esp_supplicant/src/esp_wpa_main.c:174
 (inlined by) wpa_sta_connect at /home/runner/work/tensorflow-micropython-examples/tensorflow-micropython-examples/esp-idf/components/wpa_supplicant/esp_supplicant/src/esp_wpa_main.c:168
0x420d6b31: cnx_sta_connect_led_timer_cb at ??:?
0x420d6f7e: cnx_csa_fn at ??:?
0x420d7c7b: cnx_remove_all_rc at ??:?
0x420d7cf0: cnx_start_handoff_cb at ??:?
0x420d1fbc: clear_bss_queue at ??:?
0x420d243b: scan_inter_channel_timeout_process at ??:?
0x420d659b: chm_end_op at ??:?
0x420d65ba: chm_end_op_timeout_process at ??:?
0x420d6104: esp_wifi_skip_supp_pmkcaching at ??:?
0x420d6399: ieee80211_timer_do_process at ??:?
0x4003e9bf: ?? ??:0

User avatar
ernitron
Posts: 89
Joined: Fri Jun 03, 2016 5:53 pm
Location: The Netherlands

Re: WPA2 Enterprise

Post by ernitron » Mon Aug 15, 2022 2:00 pm

Up!

I would like to have an official answer is Enterprise WPK will be (ever) implemented. I think this feature is needed for serious IoT in enterprise environments.

Thank you

Post Reply