Hi,
I've got a new router from my ISP. After installing it I noticed I can no longer access my ESP modules by hostname. It worked great with my old router. Also ALL OTHER DEVICES (several Windows and Linux machines and Android devices) are still accessible (pingable) by their hostnames on the new router. So it is clear there is something wrong with the ESP firmware.
DHCP is working, at least the IPs are properly assigned. I can ping and access the modules using their IPs.
After playing around for a while I noticed that if I reset the ESP, hostname access works for a few minutes but vanishes then. After that only IP access is possible. Strange.
I am using the most recent Github master branch of the NONOS SDK.
I set the hostname doing this early on in my code:
wifi_station_set_hostname(FlashConfig.Hostname);
wifi_station_dhcpc_start();
What debugging options do I have? There is nothing special in the log. No difference to my old router.
Debugging DHCP
Re: Debugging DHCP
Postby pratik » Mon Nov 06, 2017 4:05 pm
You should disable the DHCP service and restart it after making changes. The changes will not apply if DHCP is still running.
Also, you should have it working with the latest nonOS SDK now I guess.
Also, you should have it working with the latest nonOS SDK now I guess.
Who is online
Users browsing this forum: No registered users and 120 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.