ESP8266 Developer Zone The Official ESP8266 Forum 2017-11-06T16:05:00+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=6308 2017-11-06T16:05:00+08:00 2017-11-06T16:05:00+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6308&p=18011#p18011 <![CDATA[Re: Debugging DHCP]]> Also, you should have it working with the latest nonOS SDK now I guess.

Statistics: Posted by Guest — Mon Nov 06, 2017 4:05 pm


]]>
2017-09-08T19:50:21+08:00 2017-09-08T19:50:21+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6308&p=15639#p15639 <![CDATA[Debugging DHCP]]>
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.

Statistics: Posted by blubb — Fri Sep 08, 2017 7:50 pm


]]>