Ethernet3 icon indicating copy to clipboard operation
Ethernet3 copied to clipboard

W5500 "setHostname" issue

Open basilmozg opened this issue 3 years ago • 4 comments

"setHostname" dont work for me I use W5500 shield and ESO8266

Init Ethernet.setHostname("ethernet"); Ethernet.begin(mac);

DHCP return address But when I link for ethernet.local there os no answer in browser. What am I doing wrong? P.S. Wifi host name works fine

basilmozg avatar Jan 29 '22 14:01 basilmozg

Can try the code from the main branch?

sstaub avatar Jan 29 '22 16:01 sstaub

Do you mean a code from examples? There are no examples with .setHostname I have tried use const *char host = "ethernet" but still the same result. Am I right when enter "hostname.local" in the browser?

basilmozg avatar Jan 29 '22 20:01 basilmozg

No, I mean the whole library itself, you can download it directly from the main branch and then install the library manually. There was a change in handling DHCP memory, maybe it solves your problem.

sstaub avatar Jan 29 '22 20:01 sstaub

I sure this is the same last version. But anyway I reload it. Still the same negative result

` modified 12 Aug 2013 by Soohwan Kim ([email protected])

  • 10 Apr. 2015 Added support for Arduino Ethernet Shield 2 by Arduino.org team

name=Ethernet3 version=1.5.5`

basilmozg avatar Jan 29 '22 21:01 basilmozg