Optimized build for the D-Link DIR-860L


Thank you very much <3


I had the DEAUTH issue on a tp-link 1043ND v1.7 with clean install of 18.06.1 today, luckily I knew the drill thanks to this thread. Thanks!


What's the drill? I must have missed that one... :wink:


Seems to do the trick. It was my parents router and need to monitor it for a while to check if ok.
Blah, might not be fixed:

Mon Sep 24 13:16:52 2018 daemon.info hostapd: wlan0: STA 8c:f5:a3:ee:01:ae IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Mon Sep 24 13:17:05 2018 daemon.info hostapd: wlan0: STA 50:8f:4c:73:e2:4f IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Mon Sep 24 17:07:59 2018 daemon.info hostapd: wlan0: STA 38:59:f9:0c:b2:d1 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)

There are more reports here - https://github.com/openwrt/mt76/issues/169


@all, tried making a build with the closed source drivers provided by Nossiac. The good news is that it boots, the bad news is that the wireless interface does not come up. Ran out of time investigating it, unfortunately.


I saw there were a lot of commits for MT76 wifi driver(some regarding the tx power issues) ...


Hi @Kherby,
Lots of activity for mt76x0 and mt76x2 but if I read the commits correctly no patches for mt76 in this batch of commits.

However, activity tends to bleed through (code can be reused/repurposed) so I hope we will see more activity for mt76.


@All, the recent activity dropped as a commit in the master branch aka compiling now :slight_smile:

Edit: build compiled succesfully so I am testing it atm on a mir3g.


is usb3 disabled in your builds now (and usb2 enabled?)



Yes, USB3 is disabled. Not sure about USB2, since I do not use it and thus have not tested it. I have not explicitly enabled it but there are a few lines about it in the kernel log.

@All, a new build, r8196 is uploaded to the OP. Enjoy and have a nice weekend!


You build something similar for the mir3g? usb3 also disabled I venture a guess... does usb2 work on that one?

(where can I find it cheap with free international shipping...? =) )


aliexpress, gearbest, geekbuying etc.

@Bartvz - Any chance for enabling usb3 for the d-link on next build ?


Some feedback from my router :slight_smile:
On both r8089 and r8196 I still have continuous wifi disconnections with this error:

Sat Sep 29 18:17:38 2018 kern.err kernel: [ 252.193111] mt76x2e 0000:01:00.0: MCU message 31 (seq 8) timed out
Sat Sep 29 18:17:40 2018 kern.err kernel: [ 254.273052] mt76x2e 0000:01:00.0: MCU message 31 (seq 9) timed out

While r8064 works perfectly using the "AUTH fix" and 18.06.1 works well without fix.


If you order one, always see if you can get it assured against import tax/fees. With that being said, if you have a DIR860L why spend another ~€40-45,-? I bought one because: 1, I am familiar with the chipset; 2, 128 MB flash and 256 MB RAM; 3, most importantly, it is cheap compared to similar routers.

Since there is no advantage of USB3 (throughput is the same), I probably wont enable it. Xiaomi even disabled it in in favor of USB2, because it appears to interfere with WiFi.

Muchas gracias!
Personally I haven't seen those timeouts but of course, the mir3g is a slightly different beast than the dir860l (mt7603 vs the mt7602). Do these timeouts happen while using the 2.4 or while using the 5GHz band?
Do other people see those timeouts?
It appears to be an issue which rears its head again: https://github.com/openwrt/mt76/issues/142


I dont have any wifi issues with r8089 but i dont have many clients connected with my DIR-860L at the moment.


Could you elaborate, my external hdd is definitely faster over usb 3.0 ?
When i have some time will do iperf with and without usb flash drive with some writing.


Wasn't there a problem with 2.4GHz wifi and USB 3.0?


Blah, since I'm wired for most things I never experienced this, however after some digging it seems to be true:

According to Loyd, D-Link added an option to turn on and off the USB 3.0 port on the DIR-860L and DIR-868L routers. When enabled, it notifies users with a message that enabling USB 3.0 might adversely affect the 2.4GHz wireless signal.

Interesting if this applies to sata as well (there are router boards with sata ports) since i'm still trying to my nas/dlna functionality moved to the router.

@Bartvz - Side question - what kind of throughput do you get via wireguard ? I have just set it on tp-link and get around 14Mbs but there is more spare CPU?


I have not testes max throughout since I am maxing out my cellular connection/work WiFi network. Interesting observation, I will investigate it.

@all, a new version of the mt76 driver just dropped, fixing a beacon issue. Due to time constraints tomorrow or the day after a new build.


USB3 is by far faster than USB2 on the DIR-860L and with that said, very few devices can actually deliver performance that surpasses USB2 esp since the PSU of the DIR-860L doesn't have enough power to drive external HDDs reliable.

It should be well above 100+Mbit unless something is severely broken.