Open prchal opened 1 year ago
Om Ethernet (not Wifi) the hostname presented in the DHCP request is set by the Ethernet library and I do not see any way to override that. See #define HOST_NAME line 45 of libraries/Ethernet/src/Dhcp.h and line 191 of Dhcp.cpp. To change that, the ethernet library has to be changed.
Or do you want that the Withrottle service is announced with mDNS? In that case someone has to implement that for Ethernet (s in "find library and integrate the code").
Regards, Harald.
Version
4.2.18
Bug description
This version don't set hostname from config.h when ethernet is enabled. It sends to DHCP "WIZnet161208" which is probably default.
Steps to reproduce the bug
define ENABLE_ETHERNET true
define WIFI_HOSTNAME "DCCEX"
Expected behaviour
Should set hostname defined in config.h. Previous version 4.1.* did it.
Screenshots
No response
Hardware in use
mega2560, W5500
Additional context
No response