Skip to content

rp2 - mDNS not working #15297

@massimosala

Description

@massimosala

Port, board and/or hardware

rp2040

MicroPython version

mp 1.22.2

Reproduction

There isn't a code sample, the feature is built-in in the firmware.

Expected behaviour

The micro working on WiFi (STA_IF or AP_IF) should respond to mDNS queries.

Observed behaviour

Not working.

Additional Information

I code in Python a mDNS and LLMNR responder.

It works like a charm on the esp8266: the micro, with its hostname xxxxxx.local is recognized by any browser (browsers use mDNS) and by ping (on microsoft pc, ping use also LLMNR).

Running my module on the rp2:

  • LLMNR works
  • MDNS doesn't work: when my code binds a UDP socket to the local port 5353, mp raises an exception

[Errno 112] EADDRINUSE

So the firmware has already taken the mDNS port ... is trying to do something... but mDNS isn't working.

Code of Conduct

Yes, I agree

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy