Debugging DHCP

Posts: 116
Joined: Mon Jun 22, 2015 5:35 am

Debugging DHCP

Postby blubb » Fri Sep 08, 2017 7:50 pm


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:


What debugging options do I have? There is nothing special in the log. No difference to my old router.

User avatar
Posts: 467
Joined: Wed Jun 29, 2016 7:17 pm
Location: India

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.
Pratik Panda

Custom firmware, Knowledge base and freelancing (ESP8266/ESP32):

Who is online

Users browsing this forum: No registered users and 11 guests