Skip to content

EAP Authentication not works on v3.2.1(idf-v5.4.2) #11615

@truemeg

Description

@truemeg

Board

ESP32-Dev Module

Device Description

No board, only esp32 device

Chip Info:

------------------------------------------
  Model             : ESP32
  Package           : D0WD-Q5
  Revision          : 1.01
  Cores             : 2
  CPU Frequency     : 240 MHz
  XTAL Frequency    : 40 MHz
  Features Bitfield : 0x00000032
  Embedded Flash    : No
  Embedded PSRAM    : No
  2.4GHz WiFi       : Yes
  Classic BT        : Yes
  BT Low Energy     : Yes
  IEEE 802.15.4     : No

Hardware Configuration

Only ESP32

Version

latest stable Release (if not listed below)

IDE Name

Arduino IDE, VSCode

Operating System

Windows 11

Flash frequency

80MHz

PSRAM enabled

no

Upload speed

115200

Description

I have tested on v2.0.17 and it worked
But after upgrading as v3.2.1, i confirmed that it didnt work even one time.
Also i found that the problem reconnecting issue which if i reconnect esp32 within 5 minutes, it gets ip but ping not works, but my wifi laptop works fine, it means my FreeRadius Server and AP works fine.

Sketch

I used sample example project. WiFiClientEnterprise

Debug Message

---- Opened the serial port COM3 ----
E (333) quad_psram: PSRAM ID read error: 0xffffffff, PSRAM chip not found or not supported
[     0][W][esp32-hal-psram.c:69] psramInit(): [arduino-psram] PSRAM init failed!
[     1][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RX (2) successfully set to 0x400db600
[    22][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_TX (3) successfully set to 0x400db5d0
[    35][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_CTS (4) successfully set to 0x400db5a0
[    48][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RTS (5) successfully set to 0x400db570
[    62][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RX (2) successfully set to 0x400db600
[    75][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_TX (3) successfully set to 0x400db5d0
[    89][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_CTS (4) successfully set to 0x400db5a0
[   102][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RTS (5) successfully set to 0x400db570
[   116][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RX (2) successfully set to 0x400db600
[   129][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_TX (3) successfully set to 0x400db5d0
[   143][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_CTS (4) successfully set to 0x400db5a0
[   156][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RTS (5) successfully set to 0x400db570
[   172][D][esp32-hal-cpu.c:273] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz
[   181][E][esp32-hal-psram.c:92] psramAddToHeap(): PSRAM not initialized!
[   204][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 3 successfully set to type UART_RX (2) with bus 0x3ffbdb74
[   215][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 1 successfully set to type UART_TX (3) with bus 0x3ffbdb74
=========== Before Setup Start ===========
Chip Info:
------------------------------------------
  Model             : ESP32
  Package           : D0WD-Q5
  Revision          : 1.01
  Cores             : 2
  CPU Frequency     : 240 MHz
  XTAL Frequency    : 40 MHz
  Features Bitfield : 0x00000032
  Embedded Flash    : No
  Embedded PSRAM    : No
  2.4GHz WiFi       : Yes
  Classic BT        : Yes
  BT Low Energy     : Yes
  IEEE 802.15.4     : No
------------------------------------------
INTERNAL Memory Info:
------------------------------------------
  Total Size        :   330480 B ( 322.7 KB)
  Free Bytes        :   288836 B ( 282.1 KB)
  Allocated Bytes   :    34396 B (  33.6 KB)
  Minimum Free Bytes:   283184 B ( 276.5 KB)
  Largest Free Block:   110580 B ( 108.0 KB)
------------------------------------------
Flash Info:
------------------------------------------
  Chip Size         : 16777216 B (16 MB)
  Block Size        :    65536 B (  64.0 KB)
  Sector Size       :     4096 B (   4.0 KB)
  Page Size         :      256 B (   0.2 KB)
  Bus Speed         : 80 MHz
  Bus Mode          : QIO
------------------------------------------
Partitions Info:
------------------------------------------
                nvs : addr: 0x00009000, size:    20.0 KB, type: DATA, subtype: NVS
            otadata : addr: 0x0000E000, size:     8.0 KB, type: DATA, subtype: OTA
               app0 : addr: 0x00010000, size:  3072.0 KB, type:  APP, subtype: OTA_0
               app1 : addr: 0x00310000, size:  3072.0 KB, type:  APP, subtype: OTA_1
               ffat : addr: 0x00610000, size: 10112.0 KB, type: DATA, subtype: FAT
           coredump : addr: 0x00FF0000, size:    64.0 KB, type: DATA, subtype: COREDUMP
------------------------------------------
Software Info:
------------------------------------------
  Compile Date/Time : Jul 20 2025 14:27:39
  Compile Host OS   : windows
  ESP-IDF Version   : v5.4.2-25-g858a988d6e
  Arduino Version   : 3.2.1
------------------------------------------
Board Info:
------------------------------------------
  Arduino Board     : ESP32_DEV
  Arduino Variant   : esp32
  Arduino FQBN      : esp32:esp32:esp32:UploadSpeed=115200,CPUFreq=240,FlashFreq=80,FlashMode=qio,FlashSize=16M,PartitionScheme=app3M_fat9M_16MB,DebugLevel=verbose,PSRAM=enabled,LoopCore=1,EventsCore=1,EraseFlash=none,JTAGAdapter=default,ZigbeeMode=default
============ Before Setup End ============
[   725][V][esp32-hal-uart.c:676] uartBegin(): UART0 baud(115200) Mode(800001c) rxPin(3) txPin(1)
[   733][V][esp32-hal-uart.c:774] uartBegin(): UART0 not installed. Starting installation
[   743][V][esp32-hal-uart.c:784] uartBegin(): UART0 RX FIFO full threshold set to 120 (value requested: 120 || FIFO Max = 128)
[   757][V][esp32-hal-uart.c:814] uartBegin(): Setting UART0 to use REF_TICK clock
[   767][V][esp32-hal-uart.c:874] uartBegin(): UART0 initialization done.
[   782][V][esp32-hal-uart.c:925] uartSetRxFIFOFull(): UART0 RX FIFO Full value set to 120 from a requested value of 120

Connecting to network: terrance1226
[   802][W][STA.cpp:543] disconnect(): STA already disconnected.
[   823][V][NetworkEvents.cpp:117] _checkForEvent(): Network Event: 101 - WIFI_READY
[   956][V][STA.cpp:186] _onStaEvent(): STA Started
[   961][V][NetworkEvents.cpp:117] _checkForEvent(): Network Event: 110 - STA_START
[   969][V][STA.cpp:110] _onStaArduinoEvent(): Arduino STA Event: 110 - STA_START
............................................................[ 30983][V][STA.cpp:216] _onStaEvent(): STA Disconnected: SSID: terrance1226, BSSID: 80:3f:5d:74:06:1c, Reason: 8
[ 30994][V][NetworkEvents.cpp:117] _checkForEvent(): Network Event: 113 - STA_DISCONNECTED
[ 30994][V][STA.cpp:190] _onStaEvent(): STA Stopped
[ 31006][V][STA.cpp:110] _onStaArduinoEvent(): Arduino STA Event: 113 - STA_DISCONNECTED
[ 31014][W][STA.cpp:137] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE
[ 31021][V][NetworkEvents.cpp:117] _checkForEvent(): Network Event: 111 - STA_STOP
[ 31028][V][STA.cpp:110] _onStaArduinoEvent(): Arduino STA Event: 111 - STA_STOP
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:4888
load:0x40078000,len:16456
load:0x40080400,len:4
load:0x40080404,len:3476
entry 0x400805b4
E (333) quad_psram: PSRAM ID read error: 0xffffffff, PSRAM chip not found or not supported
[ 31674][W][esp32-hal-psram.c:69] psramInit(): [arduino-psram] PSRAM init failed!
[     1][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RX (2) successfully set to 0x400db600
[    22][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_TX (3) successfully set to 0x400db5d0
[    35][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_CTS (4) successfully set to 0x400db5a0
[    48][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RTS (5) successfully set to 0x400db570
[    62][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RX (2) successfully set to 0x400db600
[    75][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_TX (3) successfully set to 0x400db5d0
[    89][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_CTS (4) successfully set to 0x400db5a0
[   102][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RTS (5) successfully set to 0x400db570
[   116][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RX (2) successfully set to 0x400db600
[   129][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_TX (3) successfully set to 0x400db5d0
[   143][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_CTS (4) successfully set to 0x400db5a0
[   156][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RTS (5) successfully set to 0x400db570
[   172][D][esp32-hal-cpu.c:273] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz
[   181][E][esp32-hal-psram.c:92] psramAddToHeap(): PSRAM not initialized!
[   204][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 3 successfully set to type UART_RX (2) with bus 0x3ffbdb74
[   215][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 1 successfully set to type UART_TX (3) with bus 0x3ffbdb74
=========== Before Setup Start ===========
Chip Info:
------------------------------------------
  Model             : ESP32
  Package           : D0WD-Q5
  Revision          : 1.01
  Cores             : 2
  CPU Frequency     : 240 MHz
  XTAL Frequency    : 40 MHz
  Features Bitfield : 0x00000032
  Embedded Flash    : No
  Embedded PSRAM    : No
  2.4GHz WiFi       : Yes
  Classic BT        : Yes
  BT Low Energy     : Yes
  IEEE 802.15.4     : No
------------------------------------------
INTERNAL Memory Info:
------------------------------------------
  Total Size        :   330480 B ( 322.7 KB)
  Free Bytes        :   288836 B ( 282.1 KB)
  Allocated Bytes   :    34396 B (  33.6 KB)
  Minimum Free Bytes:   283208 B ( 276.6 KB)
  Largest Free Block:   110580 B ( 108.0 KB)
------------------------------------------
Flash Info:
------------------------------------------
  Chip Size         : 16777216 B (16 MB)
  Block Size        :    65536 B (  64.0 KB)
  Sector Size       :     4096 B (   4.0 KB)
  Page Size         :      256 B (   0.2 KB)
  Bus Speed         : 80 MHz
  Bus Mode          : QIO
------------------------------------------
Partitions Info:
------------------------------------------
                nvs : addr: 0x00009000, size:    20.0 KB, type: DATA, subtype: NVS
            otadata : addr: 0x0000E000, size:     8.0 KB, type: DATA, subtype: OTA
               app0 : addr: 0x00010000, size:  3072.0 KB, type:  APP, subtype: OTA_0
               app1 : addr: 0x00310000, size:  3072.0 KB, type:  APP, subtype: OTA_1
               ffat : addr: 0x00610000, size: 10112.0 KB, type: DATA, subtype: FAT
           coredump : addr: 0x00FF0000, size:    64.0 KB, type: DATA, subtype: COREDUMP
------------------------------------------
Software Info:
------------------------------------------
  Compile Date/Time : Jul 20 2025 14:27:39
  Compile Host OS   : windows
  ESP-IDF Version   : v5.4.2-25-g858a988d6e
  Arduino Version   : 3.2.1
------------------------------------------
Board Info:
------------------------------------------
  Arduino Board     : ESP32_DEV
  Arduino Variant   : esp32
  Arduino FQBN      : esp32:esp32:esp32:UploadSpeed=115200,CPUFreq=240,FlashFreq=80,FlashMode=qio,FlashSize=16M,PartitionScheme=app3M_fat9M_16MB,DebugLevel=verbose,PSRAM=enabled,LoopCore=1,EventsCore=1,EraseFlash=none,JTAGAdapter=default,ZigbeeMode=default
============ Before Setup End ============
[   726][V][esp32-hal-uart.c:676] uartBegin(): UART0 baud(115200) Mode(800001c) rxPin(3) txPin(1)
[   734][V][esp32-hal-uart.c:774] uartBegin(): UART0 not installed. Starting installation
[   744][V][esp32-hal-uart.c:784] uartBegin(): UART0 RX FIFO full threshold set to 120 (value requested: 120 || FIFO Max = 128)
[   758][V][esp32-hal-uart.c:814] uartBegin(): Setting UART0 to use REF_TICK clock
[   768][V][esp32-hal-uart.c:874] uartBegin(): UART0 initialization done.
[   783][V][esp32-hal-uart.c:925] uartSetRxFIFOFull(): UART0 RX FIFO Full value set to 120 from a requested value of 120

Connecting to network: terrance1226
[   803][W][STA.cpp:543] disconnect(): STA already disconnected.
[   824][V][NetworkEvents.cpp:117] _checkForEvent(): Network Event: 101 - WIFI_READY
[   903][V][STA.cpp:186] _onStaEvent(): STA Started
[   908][V][NetworkEvents.cpp:117] _checkForEvent(): Network Event: 110 - STA_START
[   915][V][STA.cpp:110] _onStaArduinoEvent(): Arduino STA Event: 110 - STA_START

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions