.
Could not connect to WiFi
Started Soft Access Point
WiFi connected
0.0.0.0
192.168.4.1
Error setting up MDNS responder!
Moderator: igrr
szpapas wrote:Change a little bit on WifiManager.cpp
void WiFiManager::startWebConfig() {
DEBUG_PRINT("");
DEBUG_PRINT("WiFi connected");
DEBUG_PRINT(WiFi.localIP());
DEBUG_PRINT(WiFi.softAPIP());
/* <---- comment this block out
if (!mdns.begin(_apName, WiFi.localIP())) {
DEBUG_PRINT("Error setting up MDNS responder!");
while (1) {
delay(1000);
}
}
DEBUG_PRINT("mDNS responder started");
*/
// Start the server
server.begin();
===
int WiFiManager::serverLoop()
{
// Check for any mDNS queries and send responses
// mdns.update(); <--- comment this out
// Check if a client has connected
WiFiClient client = server.available();
Then upload again should be OK.
i done it , error not showing any more , and after connected to the AP the configuration page still not showing.
so still not working
there s a new version of WiFiManager that does away with MDNS and has quite a few new features like captive portal.
make sure you are running the staging version of the arduino ide esp8266 package for it though
good luck
1. I looked through .cpp really quickly, and I'm getting two compile errors `class ESP8266WebServer' has no member named 'hostHeader'` and `'class WiFiClient' has no member named 'localIP'` - am I missing something?
2. Thoughts on allow the actual html of the page to be configurable outside of the library? Obviously it's easy enough to edit your cpp file, but it might be nice to allow somebody to pass in the html they want displayed on the "configuration" page?