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:Jump to 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! 🙏...
2 Replies
The latency on your home network might be due to weak WiFi or congestion. On the isolated network, the Linksys WRT54 router’s older standards (b/g) may not fully support the ESP32 CAM's 802.11n. Ensure mixed mode (b/g/n) is enabled, and check security settings (use WPA2), and verify the router’s DHCP is working properly.
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! 🙏