Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8026

MicroPython • Re: network issues/questions for LWIP and Wiznet

$
0
0
However, while doing some further testing, I discovered another 'gotcha', which may be more difficult to fix.
If you use dnsmasq to assign hostnames (which is a legitimate thing to do), it doesn't work. It doesn't work on PicoW or Pico2W either, so is a LWIP issue, not something specific to Wiznet. Actually, it doesn't work on Windows either, so I am not too worried at the moment.

I will have to look at the traffic using wireshark to see what is going on, and then see if I can figure out how to make that work. I suspect implementing a dns reverse lookup of the host's IP address is the way around that one :)
This way of using DHCP is not very usual, quite insecure, not mandatory to be implemented at all, and ignored/disabled by default in many IP stacks. Better update PTR records in local DNS, and use reverse lookup to get the hostname by IP, that's pretty standard.

Statistics: Posted by gmx — Tue Sep 16, 2025 11:05 pm



Viewing all articles
Browse latest Browse all 8026

Trending Articles