Skip to content
Contents
GuidesOpenWrt

A Tuya ESP32 joins Wi-Fi but gets no DHCP lease on a WRT3200ACM running OpenWrt 25.12.2

ESP32 four-way handshake success indicates authentication is complete; a DHCP lease must still be obtained via bridged network. First, look for address requests within the same connection period.

Applies to · WRT3200ACM · OpenWrt 25.12.2 · ESP32 · WPA2-PSK/CCMP

What to check

Four-way handshake completion with MAC alignment on the same ESP32 occurs during the first DHCP packet.

Connect over Ethernet and run the following commands in an SSH session on the router.

logread -e hostapd
logread -e dnsmasq-dhcp

How to interpret the result

If the log shows a successful handshake but no DHCPDISCOVER, verify the SSID bridge and VLAN settings. If a DHCPOFFER has been sent, check for subsequent DHCPREQUEST and DHCPACK. Do not disable wireless encryption to troubleshoot address issues.

Verify and recover

Check that the ESP32 receives a DHCP lease and keeps communicating with its local controller. Keep the existing wireless authentication settings.

Related guide · Where to capture packets on OpenWrt when a TCP handshake times out

Explore hardware

Devices mentioned

Comments