Support for DIR-878

I'm trying to get this router "DIR-878" to work atm
1st time I have done this so I'm sure there are i's to dot & t's to cross

please make sure you have backup your routers ART/Factory Settings
and can recover from a bricked router tho you know soldering skill's & an SPI Flash programmer etc

but if anyone want to test/play let me know ?

so far seems to work ok
only thing I can't get to work is the WiFi LED's
there connected to the wifi unit directly

2 Likes

Thank you for spending time on this router! How's the mt76 compared to stock? I'm really curious in trying it out to see if it solves my current crashes on ddwrt.

Hi Amoz
the MT7615 driver is still being worked on
I'm is Australia the only 160Mhz channel we can use is 50 "36-64"
for channels 50-64 need DFS
DFS seems more sensitive or lots more then the QCA9880's I have
so I think that is what is stopping it working here for long
some times it starts but stops. I think when DFS it tripped & stop with no where to change to
I don't have any 160Mhz clients so I have not look at this much
80Mhz channels seen to move to none DFS channels in basic testing

my main laptop has an Intel 7260 witch has problems with the current driver
data rates are faster with 20Mhz then 40Mhz or 80Mhz
where as my other laptop with a Intel 7265 works fine
the 7260 work fine with the QCA9880's tho
so i think the MT7615 driver still need polishing

the last dd-wrt I tried the WiFi didn't work at all
the version I used for a while was r39296 (03/27/19) as a "Dumb AP"
I'm guessing this was a non open source driver the WiFi LED's worked with this one
after that version the driver changed and never work well if at all
as for stock it had lots of problems and was unusable for me
there may be newer better version now tho

1 Like

Hello,

First of all I want to thank you for spend your time to this router. It has been very exciting for me to know that I can already use OpenWRT on it.

I'm looking for the precompiled image that supports this router. Shouldn't it be at https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/?
I could not find it there. Can you help me? Thank you!

Hi gau
I'm not sure if i have submitted it all correctly & don't really know how it all works.
I have never done it before
I have put what i have done on git hub & posted that info here for others to test or add to it
and without much interest motivating me I have just left it there
Here it the files I last used if your want to look they work for me but you know I can't promise anything
http://luckys.onmypc.net/DIR-878/

Thanks a lot, Lucky1. I'll try it! :wink:

1 Like

Hello again Alan,

I've tryed your binary and installs fine. Problem is that wifi dosn't work properly. My devices have a hard time connecting to the Wi-Fi network, and when they get it they surf with a lot of difficulty. Has the same thing happened to you?

On the other hand, I have made a Pull Request to include your new code in the main branch of openwrt. I hope this does not bother you...

Hi gau
I have had mixed results it's better to refer to my reply to Amoz a few messages up
the only thing I can remember to add is sometimes WiFi didn't start at power up
but there was talk of that problem with the MT7615 on the another "xiaomi 3G I think"
I just put a 10 second delay & wifi in the startup script
they are sill working on the driver it's quite new so hope it will get better soon
pull requests is ok I'll have to read up more on how to do it all myself
thanks for giving it a go :slight_smile:

1 Like

I updated to current master
the problems I was having with my Intel 7260 WIFI card seem to have been fixed at some point
seems to work a lot better in the 1hr of playing around I have done "80Mhz mode"
time will tell

1 Like

Hi Lucky1,

What about your Pull Request into Master branch of OpenWRT? Don't you want to include your code in it? :scream:

Hi gau

the only thing I have done is make openwrt work in the DIR-878
witch is make the DTS file & setup the basic firmware format
the MT7615 Driver is way out of my league
there was an update last week witch fixes the startup problem tho
I have made a few attempts at pull request but it's git that I have problems with
my main thing was to share what I have done so some else will have an easy start
I'm more then happy for someone else to take what I have done & finish / fix it tho
I think it wold be better from someone with an DIR-882 to sort out the USB side
witch I can't due to most of the parts not loaded on the PCB
here is a better link to my current code I updated the old one as well

I have been trying to flash both my own build and yours through the bootloader's web interface (my DIR-860L works similarly), but when I click 'upload' after selecting the OpenWrt factory image, it will just sit there for a few minutes and then show a timeout on the web page (192.168.0.1). I thought maybe the bootloader wasn't too happy with my image being larger (it has a few extra bells and whistles), but since it also happens with your image, it doesn't seem to be the case.

The router will just sit there with the system LED blinking untill I power it off; it doesn't reboot or anything. Rebooting just brings back the official D-Link web interface.

Edit: I just renamed the OpenWrt factory image similar to the D-Link image (DIR_878_FW120B05.BIN) and the timeout happens a lot more quickly now...

Any idea what's going wrong here?

sounds like maybe it's your browser
I have had this & seem this with other routers where I have had to use IE or once only IE on windows XP
I have all ways used Firefox on windows 7 for the DIR-878
it has all ways just worked
I have had no need to test others
what browser / OS are you trying with ?

1 Like

Firefox 71.0 on Debian 10. Will boot into Windows and see if that changes anything.

Edit: believe it or not, Firefox and Chromium on Linux just timed out on me, old Edge (not the Chrome-based one) on Windows 10 accepts the factory image and is now showing an upgrade progress bar. Go figure.

Edit 2: I gave Firefox on Windows 10 a shot as well a day later because I can't seem to switch from the master image to my hackish 19.07 image, and Firefox on Windows worked fine the first time here as well. Really wonder what's up with that...

@Lucky1 thanks for your help, will be test driving the DIR-878 in the coming weeks and report back. For what it's worth, I have built an image off today's master and bumped the mt76 version and a few extra LED patches for MT7615E (among which one that Lucky1's PR points to). First of course you'll need his pull request for DIR-878 A1 support.

Patches I added:

The last patch just pulls in present mt76 master (has seen a few MT7615E related commits since the previous 2019-10-10 version).

For those wanting to build themselves, just grab them and apply with git am, then pick the DIR-878 from the supported targets and run a build.

I would expect a difference between browser type like IE,Edge Firefox
but i would think Firefox on linux would work the same on windows
I'm surprised it's different

So am I. I thought maybe the firewall was at play, but even with that disabled, it didn't work. I reflashed a DIR-860L this way yesterday, and that went just fine from Firefox, the same Linux setup. Weird stuff.

Opened the router, to see the possibility of adding a USB port...
Well, guess it's possible, the pcb has all the traces, but obviously, missing the smd parts..
Anyone actually tried it?

@Lucky1 Did you resolder the serial header on yours? I just opened mine up after my first serial 'experience' in a long time on the DIR-860L rev B1. Was a bit disappointed to see what I presume to be the serial headers just filled with solder...

The header is neatly populated on the FCC pictures...