JAndrassy / ArduinoOTA

Arduino library to upload sketch over network to Arduino board with WiFi or Ethernet libraries
GNU Lesser General Public License v2.1
439 stars 89 forks source link

Arduino MKR Zero with Ethernet Shield not visible #7

Closed luke321 closed 5 years ago

luke321 commented 5 years ago

Hello,

I am trying to get my MKR Zero OTA ready, the Ethernet Shield is working I can ping it.

I took the example code and changed it to a static IP. I cannot see the MKR with a Bonjour Viewer under Windows 10, Bonjour installed with Itunes. I also used a Network Monitor and could not see any Bonjour related trafic going out from the Arduino.

Do you have any suggestions?

JAndrassy commented 5 years ago

see here https://github.com/arduino/Arduino/issues/8408

luke321 commented 5 years ago

Thanks for the fast reply, but I already know that issue thread. I cannot even see the Arduino in the Bonjour Browser app. Also I am connected directly to the Arduino without a router or switch.

I also tried both Python and Arduino Versions suggested, but since the MKR is not visible in the Bonjour Browser I suspect the culprit elsewhere.

JAndrassy commented 5 years ago

do the examples of the Ethernet library work with static IP? do you test ArduinoOTA with OTEthernet example?

luke321 commented 5 years ago

Yes i tested some examples they work, basic http server and also udp sender. I am currently trying with the OTEthernet example.

JAndrassy commented 5 years ago

do the examples of the Ethernet library work modified to static IP?

luke321 commented 5 years ago

Yes they do, this makes it so puzzling for me. I will try another pc tomorrow but I only have Windows 10 available.

JAndrassy commented 5 years ago

it sometimes help to restart the IDE. on my Linux computer the mdns list shows the entry only after the IDE

luke321 commented 5 years ago

After some windows updates it works now, I actually have to start the IDE first and than start the Arduino while being connected via ethernet. It shows up immediately.

Thanks for the support and this great library!

luke321 commented 5 years ago

Update:

If anyone encounters similar problems under Windows 10, make sure the network is not set to public, device discovery must be enabled. And for the discovery to work reliably I had to disable all other network adapters and reboot.