Note: The browser Mozilla Firefox seems to not support the upload fully and users end up with incorrect firmware.bin file sizes. Please try Chrome or Microsoft Edge for the upload instead. To find out, if the uploaded file size is correct, please compare the sha256sum, which is shown upon upload, with the original sha256sum provided by OpenWrt.
I flashed a D-Link DAP-X1860 with openwrt-23.05.2-ramips-mt7621-dlink_dap-x1860-a1-squashfs-factory.bin
The web interface looks ok but maybe there was something wrong.
I see:
OpenWrt 23.05.2 r23630-842932a63d / LuCI openwrt-23.05 branch git-23.306.39416-c86c256
I used Chromium Version 119.0.6045.159 (Offizieller Build) snap (64-Bit) with Ubuntu 22.04, so I did not pay attention, but now I remember that the shown md5sum was different when uploading from the D-Link website.
If the installed OpenWrt version is 'good enough' to access via luci/ ssh, just sysupgrade it again with a verified image.
The bootloader based rescue httpd is old and rather picky (pretty much an ie6-only environment), but it's always available - so you could just as well use it again (I'd still go the sysupgrade route first, you can always use this if the former doesn't work).
I'm just saying that this httpd implementation is very picky, but I still used linux to flash mine (successfully) - and the worst that can happen here, is having to try again (with a different browser/ OS, etc.).
To your second question, you can change IPs and subnets as you like (it probably even makes sense to change both subnets to custom values, to reduce the chances of accidental overlap with new/ factory-reset devices).
So you recommend to do a sysupgrade with the IP-address I use now, although the file size is the same.
There is not much configured at the moment. I don't like it to change and restart networks for flashing, enabling wifi for posting, a.s.o. There can happen mistakes (by me).
I notice again, that "linux devices" like phones, dvb with custom os are often better flashed with windows. Hard to understand.
Because that's what the vendors work on, test and (over-)optimize, they break it the way it is, rather than simply providing standards compliant software.
Hmmm, I've been trying to flash Openwrt on my DAP-x1860 but so far unable to enter the recovery mode. Do I only need to enter the IP on the host pc or do I need to enter additional information?
As already mentioned, the color was red here after I did a reset with the original firmware. Be careful when entering IP-address, gateway and dns. I made a mistake here after flashing openwrt.