Odds of timely D-Link DIR-882 or 878 support in 2018?

https://wikidevi.com/wiki/D-Link_DIR-878_rev_A1
there are a bunch or routers off the same PCB with differing options loaded
the 882 is the same as the 878 but no usb ports loaded
I have cross flashed the Motorola MR2600 firmware onto my dir-878 & it works fine but it's just rebadged

No. What I'm saying is you're confusing SoC and radio support. Both are supported but the MT7615 radio support is very new. MT7621 SoC support is very mature.

And yes the USB ports seem to be the only difference between both.

-------- Oorspronkelijk bericht --------
Aan 27 aug. 2019 04:07, John D via OpenWrt Forum < mail@forum.openwrt.org > schreef:

1 Like

Noted with thanks.

So we await mature MT7615 support, maybe official build in OpenWrt 20.xx ......

the MT7615 is happening have a look at Support for Xiaomi Wifi R3P Pro?
I think what is been waited on is someone with the skills,Time & device to start porting

Mt76 keeps seeing MT7615 related commits, in the 19.07 branch as well (just check the git log of the past few days). Nbd regularly bumps and backports. I don't think the drivers are identical between 19.07 and master anymore (they were for a while), but they don't seem to be far apart either.

This one is also very bargain. What do you think between this and dir882/878?

Which one has higher chance to see openwrt support in near future?
Thx

the Xiaomi has Openwrt running with development on the MT7615 driver moving forward everyday
it's clearly ahead but as it's the same wifi chip it's development is helping both

I have the Dir-878 it was a cheap ebay buy for me it looked interesting
it's an AP only (DDWRT atm would love openwrt on it)
I don't own the xiaomi so i can't compare

1 Like

Do read up on the flashing procedure for Xiaomi before making your decision. Like other Xiaomi routers it seems you need serial etc. You've asked questions about basic concepts in embedded hardware, so I'm just double checking.

1 Like

Thanks

Toh says you can also flash by first unlocking the router?

If the instructions don't require serial, then nevermind me.

Does anyone knows if OpenWRT will ever support DIR-882? DD-WRT is supporting it so why OpenWRT doesn't?

See here:

Besides the USB port both devices are virtually identical; so this might help (but there might be modifications needed to get it to work on the DIR-882; so don't try anything unless you know what you're doing and can recover from a faulty flash).

Because someone needs to send in a patch or create a pull request, which hasn't happened yet.

The github repository linked above is a good start.
Build the image for The DIR-878, flash it, report back if it is working.
Once that is done, it only needs someone to invest some time in sending in the patch or create a pull request.

1 Like

I build an image from OpenWRT master for DIR-882 A1 by adapting the patch for DIR-878 and it seems to work well enough for a WiFi AP. Didn't test USB yet but that is on the to do list as I want to use the router with a LTE USB Dongle as moble broadband gateway.

Adaptation was simple enough as I only replaced pattern DIR-878 with DIR-882 so I would assume the DIR-878 image would probably work also, just reporting different hardware type.

Great work @Lucky1 and thanks.

1 Like

It seems the only difference between both is the 882 having USB 3 and the 878 having no USB really. That means you could share a common DTS (.dtsi) etc.

Quick test with USB storage with VFAT USB stick proved both USB-2 and USB-3 work on the DIR-882 as is.

Sadly both 2,4G & 5G the WiFi are rather unstable as after a while (usually less than 30 minutes) dmesg gets flooded with "mt7615e: Message X timeout" and WiFi goes unresponsive.

I need to find some time to investigate the WiFi issue bit more thoroughly.
To me it does bit resembled the [MCU issue] (https://github.com/openwrt/mt76/issues/142) mt76-driver had on DIR-860L.

1 Like

Thanks to holidays there is bit more time to play with the DIR-882.
Latest mt76 driver (master) solves the issue with MCU timeouts and the AP has been running stable for more than 24 hours.

Last major issue for me is poor tx performance and I see same issue has already been reported to mt76 repo. https://github.com/openwrt/mt76/issues/327

For me the difference between ideal vs. non-idea conditions is rather small,
it enough to have even slightly obstructed line of sight between AP and client to cause tx rate to drop.

This is what it looks to me without clear line of sight between laptop and AP in the same room using 80Mhz bandwidth.

root@zenbook:~# iperf3 -R -c 192.168.254.7
Connecting to host 192.168.254.7, port 5201
Reverse mode, remote host 192.168.254.7 is sending
[ 4] local 192.168.254.60 port 53200 connected to 192.168.254.7 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 60.1 MBytes 504 Mbits/sec
[ 4] 1.00-2.00 sec 58.2 MBytes 488 Mbits/sec
[ 4] 2.00-3.00 sec 58.4 MBytes 490 Mbits/sec
[ 4] 3.00-4.00 sec 59.6 MBytes 500 Mbits/sec
[ 4] 4.00-5.00 sec 58.3 MBytes 489 Mbits/sec
[ 4] 5.00-6.00 sec 59.6 MBytes 500 Mbits/sec
[ 4] 6.00-7.00 sec 59.7 MBytes 501 Mbits/sec
[ 4] 7.00-8.00 sec 59.1 MBytes 496 Mbits/sec
[ 4] 8.00-9.00 sec 58.2 MBytes 488 Mbits/sec
[ 4] 9.00-10.00 sec 58.9 MBytes 494 Mbits/sec


[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 593 MBytes 498 Mbits/sec 0 sender
[ 4] 0.00-10.00 sec 590 MBytes 495 Mbits/sec receiver

iperf Done.

root@zenbook:~# iperf3 -c 192.168.254.7
Connecting to host 192.168.254.7, port 5201
[ 4] local 192.168.254.60 port 53224 connected to 192.168.254.7 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 10.6 MBytes 89.2 Mbits/sec 0 238 KBytes
[ 4] 1.00-2.00 sec 8.95 MBytes 75.1 Mbits/sec 0 223 KBytes
[ 4] 2.00-3.00 sec 12.7 MBytes 107 Mbits/sec 0 263 KBytes
[ 4] 3.00-4.00 sec 10.3 MBytes 86.6 Mbits/sec 0 235 KBytes
[ 4] 4.00-5.00 sec 1.24 MBytes 10.4 Mbits/sec 48 26.9 KBytes
[ 4] 5.00-6.00 sec 19.7 MBytes 165 Mbits/sec 2 280 KBytes
[ 4] 6.00-7.00 sec 18.5 MBytes 155 Mbits/sec 0 254 KBytes
[ 4] 7.00-8.00 sec 13.7 MBytes 115 Mbits/sec 0 240 KBytes
[ 4] 8.00-9.00 sec 11.7 MBytes 98.5 Mbits/sec 0 243 KBytes
[ 4] 9.00-10.00 sec 6.84 MBytes 57.4 Mbits/sec 80 238 KBytes


[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 114 MBytes 95.9 Mbits/sec 130 sender
[ 4] 0.00-10.00 sec 110 MBytes 92.7 Mbits/sec receiver

With clear line of sight between laptop and AP, same room and same distance tx is much better

root@zenbook:~# iperf3 -c 192.168.255.7
Connecting to host 192.168.255.7, port 5201
[ 4] local 192.168.255.60 port 53270 connected to 192.168.255.7 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 41.7 MBytes 350 Mbits/sec 0 269 KBytes
[ 4] 1.00-2.00 sec 36.2 MBytes 304 Mbits/sec 0 300 KBytes
[ 4] 2.00-3.00 sec 41.7 MBytes 350 Mbits/sec 0 334 KBytes
[ 4] 3.00-4.00 sec 41.1 MBytes 345 Mbits/sec 0 320 KBytes
[ 4] 4.00-5.00 sec 44.0 MBytes 369 Mbits/sec 0 320 KBytes
[ 4] 5.00-6.00 sec 45.5 MBytes 382 Mbits/sec 0 322 KBytes
[ 4] 6.00-7.00 sec 45.1 MBytes 378 Mbits/sec 0 322 KBytes
[ 4] 7.00-8.00 sec 46.5 MBytes 390 Mbits/sec 0 328 KBytes
[ 4] 8.00-9.00 sec 38.6 MBytes 324 Mbits/sec 0 325 KBytes
[ 4] 9.00-10.00 sec 49.9 MBytes 419 Mbits/sec 0 322 KBytes


[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 430 MBytes 361 Mbits/sec 0 sender
[ 4] 0.00-10.00 sec 427 MBytes 358 Mbits/sec receiver

Same server and client can reach +450Mbps rx and tx with Netgear R7000 running DD-WRT without direct line of sight. I'm using Intel 9260 on the Ubuntu 18.04.3 laptop as client and ubuntu 18.04.3 as server with gigabit Ethernet.

2 Likes

That's great to hear. I have backported the DIR-878 patch to 19.07 but it's a but hackish. Bumped the mt76 driver as well. Will be switching it with my RT-AC57U as main router soon.

1 Like

I am new to here, recently replaced my MW4530R with DIR882 and installed padavan hanwckf. I am not quite familiar with this fw at all. And I need mwan, 80211r on DIR882 which is not available on padavan hanwckf.

By any chance OpenWrt can support DIR882 soon? What are the road blocks? Where can see the progress?

@Lucky1 added support, see this thread. He also has built images based on master, since that's where devices get support first. Since 19.07 is right around the corner it's very unlikely it will see support for the DIR-878.

If you'd like to compile yourself, his pull request is here.

Edit: @ikkisunshine - to clarify: the DIR-878 and DIR-882 are basically the same hardware except for the latter having a USB 3 port. I think there was someone running a slightly modified DIR-878 build on his DIR-882 (for the USB port), a search on the forum should turn that up. If you want to use the USB port you should add it to the DTS, I believe.