2023-09-26 01:18 PM
Customized hardware with STM32H723 + LAN8740A for MII mode.
LWIP Settings:
#define NO_SYS 1
#define LWIP_DHCP 1
#define LWIP_NETIF_HOSTNAME 1
The DHCP client, UDP and TCP server and ICMP(Ping) are all working fine.
But host name didn't show up on DHCP server (wired Linksys router with hostname as 'unknow').
Couldn't figure this issue out.
Any suggestions?
Thanks.
JYI
2023-09-26 11:05 PM
> But host name didn't show up on DHCP server
What do you exactly mean with "host name"?
For using something like "http://mySTM32server" instead of the IP address you need to activate DNS.
2023-09-27 09:37 AM
> But host name didn't show up on DHCP server
Perhaps you are looking for the LWIP_NETIF_HOSTNAME option (which enables DHCP option 12 "host name" in DHCP requests)?
2023-09-27 10:50 PM - edited 2023-09-27 11:03 PM
Oops, DNS was going the other direction, right? My bad.