Add support for dlink DIR-878 R1

Hi All,

Just purchased a Dlink DIR-878 R1 bootloader version.

I'll start from the end:

The only thing that worked for me was using a built in tool in dlink's fw called fw_update, using built in telnet service. Pushed the openwrt binary to the router using the netcat tool(nc)

Im now happily running owned compiled openwrt 21.02. :smirk:

I followed these threads:

(Too bad the second one is locked. I would continue there).

Tried the signature method with the salted md5 but it did not work. Both dlink web gui and fail safe mode refused to accept the image.
Same for all dlink russian fw versions for the 878.
Also using 882 R1 openwrt FW was rejected by the router.

The 878 R1 Partitions are the same as the 882 R1 partiotions. No additional config partition.

Some question

  1. How can I update the wiki to let other folks enjoy openwrt as well?
  2. Do you see a need to submit patches?
    Or should other folks use the 882 r1 opewrt fw which is basically same. (Same hw and same partitions. No usb on 878 though..)

Tagging relevant PoCs:
@pyckle, @Lucky1 @kar200

1 Like

Just a note
the R1 firmware comes with a copy of uboot boot loader
and if it's different it updates it
you should be able to flash the basic R1 firmware
the same as you did with fw_update
I think this will remove any signature requirements
and allow the fail safe interface to upload the DIR-882-R1
the only difference is the room for the USB-led trigger program & labeling
how ever you are welcome to add a pull request for the DIR-878-R1
would not be hard at all & even add you country's signature
as I don't think the basic R1 firmware needs or looks for this

Thx for your reply @Lucky1

I have added a PR:

So it sounds like I should have used the dlink fw_update tool to push a russian dlink fw and that would run over the bootloader with a version that doesnt check for sigantures...
Any way to revert to stock and retry? I have saved all the flash partitions prior to switching to opewrt.

My setup is working well now with openwrt so not sure I will try that but want to have some backup plan if openwrt gets corrupted from some reason..

On the router box it says:
H/W ver: R1 F/W ver: 1.0.0
UPC Code /IL/R1B

if you can get the version of stock firmware that has a matching signature
it should always flash from the failesafe interface

Hi
I also purchased the R1 version. I'm confused by the amount of details re failsafe upgrad/encrypted f/w recovery etc.. Is the latest available openwrt f/w OK for web based upgrade on the 878 R1 ?

the DIR-878-R1 versions is there
https://downloads.openwrt.org/releases/22.03.3/targets/ramips/mt7621/openwrt-22.03.3-ramips-mt7621-dlink_dir-878-r1-squashfs-factory.bin
and the boot loader is different & I think it even works with linux etc
I can't remember if it works via the web interface
but the R1 is not encrypted
but can be Singed or require Signing

OK, I can confirm that I managed to use the R1 version 22.03 with the curl commad in Failsafe UI mode (was not working via the web upgrade). Works fine!
Thanks

1 Like