Set hostname using W5500
-
Hello,
I'm using the ATOMIC PoE Base W5500 (SKU: A091).
In Arduino environment, how can I set the hostname for DHCP request? I don't seem to find any API for that purpose.Thanks.
-
The W5500 Ethernet library for Arduino does not natively support setting a DHCP hostname in its standard implementation. If you're using Ethernet.h, it lacks this functionality. For advanced DHCP options like hostname, consider using the EthernetENC or UIPEthernet library, which offer extended DHCP support. Alternatively, you’d need to modify the DHCP client in the library to include the hostname in the DHCP request packet manually.
-
Hello @hacxx
please stop posting incorrect / not very useful information. W5500 is different from ENC28J60 and therefore EthernetENC or UIPEthernet library cannot be used for W5500. Thank you.
Thanks
Felix
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login