WIZnet Developer Forum

W7500p - How can I set DHCP with a hostname?

Hi,
I’m doing my first steps with a WIZwiki-W7500p-board and a HTTP-Server-demo in DHCP-mode. The device is running. I’d like to call the device in the network by name. But I’ve found nothing in the ethernet-settings.
Where can I set a hostname?

Thanks

Hi,

If you search for DCHP_HOST_NAME in the dhcp.h file, you can enter your own hostname.
In the dhcp.c file they create a array called HOST_NAME where the define is stalled. This array is used to fill the hostname (and i believe some unique chars) in all the packages.
Good luck!

Copyright © 2017 WIZnet Co., Ltd. All Rights Reserved.