SoftAP DHCP server not working with Windows XP
Posted: Wed Mar 21, 2018 9:22 am
I'm trying to create a SoftAP-based ESP8266 application, using the Arduino environment. I can connect to the SoftAP just fine with my iPad, but none of numerous example programs will actually work with my old Windows XP laptop: it can connect, but never gets an IP address assigned.
Looking at the traffic in Wireshark, I see that the computer is sending DHCP Requests, and the module is actually responding with a DHCP Offer - but it's being sent to a destination IP address of 192.168.4.255, which is NOT an address that my computer would know to listen to until after it had already accepted the offer. As far as I know, that packet is supposed to be addressed to 255.255.255.255. (I don't know if the DHCP server is using the proper destination address with other computers, or whether they are simply ignoring the IP address at that point in the process.)
Is this a known bug? Any workarounds?
Looking at the traffic in Wireshark, I see that the computer is sending DHCP Requests, and the module is actually responding with a DHCP Offer - but it's being sent to a destination IP address of 192.168.4.255, which is NOT an address that my computer would know to listen to until after it had already accepted the offer. As far as I know, that packet is supposed to be addressed to 255.255.255.255. (I don't know if the DHCP server is using the proper destination address with other computers, or whether they are simply ignoring the IP address at that point in the process.)
Is this a known bug? Any workarounds?