Optimized build for the D-Link DIR-860L


On r8089 and r8196 I've disconnections only using the 5GHz band, the 2.4g is slow but stable (no drops).

kernel log:

System log:

Now I am waiting to test the new build! :wink:


I've done some tests with wdc black in a usb 3.1 enclosure supporting UASP and it was working just fine, didn't do too much benchmarks since I was disappointed about aes-xts encryption/decryption speeds (around 14MB/sec) because there is no crypto extensions supported by OpenWRT for this router. But there is also an option to use y-cable and power the hdd.

About wireguard I can't seem to find anything broken, the config is so straightforward. The router Tp-link 1043ND v1.x isn't that powerful but I'm looking for 20-30Mbps and was hoping to get that.


Yeah, fs-crypto is going to be slow and there's no way around it unfortunately.

30mbit should be fine however avoid running LUCI on the 1043ND as it will run into (out of) memory issues.


Interesting. So companies like Xiaomi and D-Link blame interference whereas it is a power issue. Alright with that information, I will enable USB3 again while mentioning said power issue in the OP to make newcomers aware of it.

I have not seen those MCU message timeout errors. However, this is only with one device connected to the 5GHz band. How many devices do you have connected? I think we can leave crowded neighborhood out of the equation since I see around 10 5 GHz networks over here. Hopefully, it is a beacon issue since that is fixed in the newest mt76 drivers!

@all, testing a new build (r8216) at the moment. Hopefully no MCU message timeout errors.


After overnight testing no issues on my end on a mir3g. So build r8216 is now downloadable via the link posted in the OP.


Thanks for the Update, i'll install the new build asap! Where can i read about the Cake SQM fixes?


Quick benchs of r8216:


[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-60.00  sec  5.96 GBytes   853 Mbits/sec                  sender
[  4]   0.00-60.00  sec  5.96 GBytes   853 Mbits/sec                  receiver
CPU Utilization: local/sender 33.0% (2.4%u/30.6%s), remote/receiver 16.2% (1.1%u/15.1%s)


[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-60.00  sec  1.25 GBytes   179 Mbits/sec                  sender
[  4]   0.00-60.00  sec  1.25 GBytes   179 Mbits/sec                  receiver
CPU Utilization: local/sender 11.6% (0.6%u/11.0%s), remote/receiver 8.2% (1.0%u/7.2%s)


[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-60.00  sec   536 MBytes  74.9 Mbits/sec                  sender
[  4]   0.00-60.00  sec   535 MBytes  74.9 Mbits/sec                  receiver
CPU Utilization: local/sender 5.1% (0.6%u/4.4%s), remote/receiver 4.0% (0.5%u/3.5%s)


Commit 885052fbfb0ea5ee49e6abc6878ae99ee011688b and b47614f9f18c7d1c24104ef1d53c8d1ac8920ba4


Running r8216 and it seems stable. I'm trying to install openvpn on the router, and keep getting kernel dependency error... how do I fix this? I tried openvpn-mbedtls and openvpn-openssl

Installing openvpn-mbedtls (2.4.5-7) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/openvpn-mbedtls_2.4.5-7_mipsel_24kc.ipk
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for openvpn-mbedtls:
 * 	kernel (= 4.14.74-1-d71aab2b517a595456b73dc0f4d0cb71) * 
 * opkg_install_cmd: Cannot install package openvpn-mbedtls.


This means that upstream had a kernel version bump to the latest and greatest. Either force installing or updating to a newer build solves it. The first one can be risky but the second one is the one you want. Currently testing a new build with the latest kernel version.


New build, r8289, can be found in the OP.

Oh and I forgot to mention it but file systems and USB3 are enabled again. When using USB3 you should use an external disk with it's own power supply!


This commit just popped up 9 hours ago: ramips: refresh mt7621 kernel config. Unfortunately, no new builds at least until next wednesday due to time constraints and not having access to a mir3g to test.
If there is/are guinea pig(s), I could produce a test build. Let me know!


Here there is a guinea pig! :slight_smile: If you will make a test build I can test it


Test build coming tomorrow because there was an updated mt76 driver and work


The new build, r8340, is up in the OP, enjoy!
Tested by @Axl_Mas, thank you!


I get a bit lower 5Ghz speeds but seems solid, thanks!


Define lower, I would like to know :slight_smile:
Maybe tomorrow a new build. It all depends on testing done by @Axl_Mas and how my weekend works out (travelling, redecorating, among other things :stuck_out_tongue: )


around 20 Mbits but this is within the margin of error. For example i get different speeds depending on the router (and laptop) position/rotation.


That's why I asked :wink:
Do you see MCU timeout warnings after running that build for 2-3 days?

@All, new build. r3849, is available from the OP. Nothing major but the latest and greatest mt76 driver. Some code cleanups, nothing else.

Thanks to @Axl_Mas for being a guinea pig :stuck_out_tongue:


I have only one:

Tue Oct 23 08:40:52 2018 daemon.info hostapd: wlan0: STA ....... IEEE 802.11: disassociated due to inactivity
Tue Oct 23 08:40:53 2018 daemon.info hostapd: wlan0: STA ....... IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)

for the last two days, no issues to report. I've switched to wireless for my main station and haven't had any hickups.