Troubleshooting WiFi Connection Issues and High Latency with ESP32 CAM on Isolated Network

I'm working with the ESP32 CAM WiFi module and encountering two issues. It experiences high latency on my home network, and more concerning, it fails to obtain an IP address on an isolated network created with a Linksys WRT54 router (firmware v 4.21.1), despite other devices connecting successfully. The ESP32 CAM works fine on my home network using the standard 'CameraWebServer_Test' code.

When attempting to connect to the isolated network, the ESP32 CAM (firmware version 1.0.6) produces the following error logs and debug messages:

"WiFi.begin() failed!"
"wl_connect: failed to connect"
"WiFi.status() = DISCONNECTED"

I'd appreciate help understanding why this happens and how to resolve it.
Solution
I rechecked the settings as you suggested and noticed that the issue is indeed related to the DHCP settings on the Linksys WRT54 router. I found that the DHCP server was not enabled on the router, which was causing the ESP32 CAM to fail obtaining an IP address.

However, I also noticed that the router's firmware version is quite old and may not fully support the ESP32 CAM's WiFi capabilities. which is will consider upgrading the router's firmware or using a different router with more modern WiFi standards.
Thank you for pointing me in the right direction! πŸ™
Was this page helpful?