-
Notifications
You must be signed in to change notification settings - Fork 97
softAP with custom IP not working #26
Comments
Wow. You are so good and helpful to find out a lots of new issues. It'll be very time saving if you can also include the test code and procedure to duplicate your findinds. I'll verify and certainly include the fixes in the new release. Pls keep going on to isolate / identify more bugs I'm sure we still have many. Thanks and Regards, |
Below you have my set up and if you dont define DEBUG_WIFI you will see the problem occur more often but same as my other issue (/r doesnt reset credentials) IT WORKED FOR A FEW DAYS and then it stopped working and started digging around so I found out that it can happen and why :) .
all the settings above are a copy of what i am doing in setup() but this one is actually to fire CP on MQTT receive (the only diff is here i dont use timeout) but the problem is here present also (with debug defined i have more default IPs than chosen ones) :) |
Hi @AlesSt This crude hack to fix the rarely-happening bug is verified and working OK. It will be included in next release. This seems to be an quite old issue and just wonder why ESP32 core still has been fixed. Thanks, |
As far as i ve read it is the same problem with ESP8266. I dont have any ESP8266 on me that I could test with (all built in some housing and doing its magic => but I plan to upgrade/update them to use ur lib for wifi) the thing is I think it is implemented but ppl just dont know/use it ....... I will check if this |
### Releases 1.0.11 1. Add optional **CORS (Cross-Origin Resource Sharing)** feature. Thanks to [AlesSt](https://github.com/AlesSt). See more in [Issue #27: CORS protection fires up with AJAX](#27) and [Cross Origin Resource Sharing](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing). To use, you must explicitly use `#define USING_CORS_FEATURE true` 2. Solve issue softAP with custom IP sometimes not working. Thanks to [AlesSt](https://github.com/AlesSt). See [Issue #26: softAP with custom IP not working](#26) and [Wifi.softAPConfig() sometimes set the wrong IP address](espressif/arduino-esp32#985). 3. Temporary fix for issue of not clearing WiFi SSID/PW from flash of ESP32. Thanks to [AlesSt](https://github.com/AlesSt). See more in [Issue #25: API call /r doesnt clear credentials](#25) and [WiFi.disconnect(true) problem](espressif/arduino-esp32#400). 4. Fix autoConnect() feature to permit autoConnect() to use STA static IP or DHCP IP. Remove from deprecated functi0n list. 5. Enhance README.md with more instructions and illustrations.
Hi @AlesSt Just inform you that the new ESP_WiFiManager v1.0.11 has been released, certainly with your contribution well noted in Contributions-and-Thanks as well as in library source files. Releases 1.0.11
|
Since I started digging in issues are pouring out :)
So sometimes softAP fires up with custom IP subnet settings other times with default 192.168.4.1.
in void ESP_WiFiManager::setupConfigPortal() function:
and log print:
so you can see i set them up correctly :) but not used ....... i was digging around a bit and got this "crude" solution:
espressif/arduino-esp32#985
so either:
or:
For now i went for the second "crude" bypass :) It works but i guess i will delay more because when i shut down debugging, print statement wont delay even more :)
The text was updated successfully, but these errors were encountered: