Hello i'm new here. I have a d-link dir878 (A1) and wanted to install openwrt on it. When i use Failsafe UI it shows me "Error - the image you uploaded failed to pass verification" any ideas of what to do?
Does it upgrade to same version using dlink upgrade file?
i.e whether it is provider rebrand that locks out standard dlink fw.
i don't really know what do you mean, i can tell that it's not rebrand and it has firmware version 4.0.1
Please try to flash same/latest dlink fw, it is like one byte in the header off to fail eachothers validation. OpenWRT is only for DLINK original fw.
i can't find the v4.0.1 but when i tried the 1.30... the same error appeared
You need both firmwares side by side to find the broken bit and transfer that bit to openwrt-factory image.
oh man i am dumb, it's "vendor: russia" i downloaded oldest available firmware from russian d-link site "v3.5.0" from 2018 and now we will see if the openwrt will work
Well, check boot logs if it is same motherboard first.
and how can i do that?
Somewhere in default web ui / last very advanced options / Log or journal or events / set those to maximum level / copy paste full records to like notepad++
Then find mtd
there - is same flash in device?
Then find ^Linux version
which should say ram and SoC type right after.
In case it is one to one with device page go for it.
i think (of course i will try all of that in a second) that the russian version is somewhat locked from any modifications, because the recovery mode is displaying different than in the examples Failsafe UI, and the 3.5.0 firmware, it isn't anywhere else
"mtd .name = raspi, size 0x01000000 (16M) .erasesize = 0x00010000 (64K) .numeraseregions = 0" this is what i found in logs
https://openwrt.org/toh/d-link/dir-878_a1#flash_layout
Do you see same flash layout (and mt76 and mdiatek around logs)?
Also do binwalk -e -M
on both firmwares if bootloader/kernel versions are at least similar.
i see mediatek but no layout
i do it in windows, linux, where?
Install linux in a virtual machine if on Windows.
i have linux alongside windows, just on windows because i know it from when i was a kid
Main thing to determine is if hardware and bootloader is similar enough to force standard dlink fw or openwrt on it. Say if partition map is different it is a clear no-go.
Cool, download both images, check with strings
if bootloader version is same