cancel
Showing results for 
Search instead for 
Did you mean: 

Assign Hostname to my STM32F4 board using lwip

noutche2008
Associate II
Posted on March 16, 2015 at 03:39

Hi,

I'm using my STM32F4DISCOVERY board with the STM32F4-BB shield which contain an Ethernet PHY/connector.

i found many example for Ethernet communication using lwip and they work fine.

i want to use my STM32F4 board as server and a windows application as client using VB language.

but the problem when i connect my board to the network using the DHCP my board doesn't have a host name by default as shown in this picture :

http://image.noelshack.com/fichiers/2015/12/1426473258-host-name.png

the goal is to allow the windows application to look for the board address IP using the host name of the board.

so i want to know how can i assign an host name to my board ?? 

2 REPLIES 2
Posted on March 16, 2015 at 12:21

Perhaps your client side DHCP isn't providing a host name properly? Does it work for other nodes/devices on your network?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on March 16, 2015 at 13:00

LWIP_NETIF_HOSTNAME  is the keyword you are looking for...

JW