Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to change HOST_NAME constant #186

Open
sezeryalcin opened this issue Mar 21, 2022 · 4 comments
Open

Add support to change HOST_NAME constant #186

sezeryalcin opened this issue Mar 21, 2022 · 4 comments
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@sezeryalcin
Copy link

sezeryalcin commented Mar 21, 2022

There is absolutely no point of keeping a static hostname prefix as this library is free and open source. There are already made patches for allowing customization of DHCP hostname string so please allow this functionality.

Dhcp.h

#define HOST_NAME "WIZNet"

I am seeing following in my DHCP table which could make much sense if I had a chance to customize it.

WIZnetEFFEEC | DE:AD:BE:EF:FE:EC | 192.168.1.107 | 47:49:21
WIZnetEFFEEB | DE:AD:BE:EF:FE:EB | 192.168.1.108 | 47:50:28
WIZnetEFFEEA | DE:AD:BE:EF:FE:EA | 192.168.1.110 | 47:58:33
WIZnetEFFEE0
@per1234 per1234 added topic: code Related to content of the project itself type: enhancement Proposed improvement labels Mar 21, 2022
@Russell108
Copy link

Hello Arduino team I have many Arduino on my network If I can set the hostname as in the wifinina library, it would be really easy to find them on my DHCP server
It's not a trivial thing but really useful for administration

@Russell108
Copy link

OK For me, this is no longer such a big issue I realise that the hostname is unique
I understand that the default will be WIZnet, followed by the last three octets of the mac address.

@thirstyice
Copy link

See my PR #248

@ThSchwanck
Copy link

I needed an option to set non constant host names, see my PR #257.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

5 participants