-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Failed to ping in softAP mode #4963
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I can confirm that on Windows 10 it is not (or not more) possible to access esp8266.local. It does not work anymore if bonjour is installed by Apple. |
I don't have iPhone (too costly). |
besides MDNS do you see that you AP does emmit a signal? I already invested several hours in debugging but I can't get WiFi.softAP() to work stable. The WiFi signal is already instable (broken every few seconds). Tested with 2.4.0(rc2) and already tried eraseConfig() followed by ESP.reset(). I'm going to prepare a MVCE sketch. |
make sure you set mode to WIFI_AP if you want stability |
Great with 2.4.2 all issues I had with WiFi in AP mode are gone! Just note that the password has to be at least 8 characters long, otherwise the ESP device will start on WiFi channel 1 with it's default name ESP_<last 3 bytes of MAC>. When uploading set Erase Flash to "All Flash Contents" to get rid of may be weird WiFi config. This is the sketch that worked for me (without using MDNS, which has been the topic):
|
MDNS has been rewritten from scratch since this was reported. In addition, the original sketch was missing MDNS.update() in the loop, which is required to assure correct behavior of the responder. |
Platform
Settings in IDE
Problem Description
I'm not able to
ping esp8266.local
from cmd.MCVE Sketch
Debug Messages
Wifi can be accessed and in serial console it shows
However, I'm not able to
ping esp8266.local
from cmd, but can be accessed using ip address.The text was updated successfully, but these errors were encountered: