Optimized build for the D-Link DIR-860L

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.

1 Like

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

1 Like

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

Quick benchs of r8216:

Wired:

[ 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)

5GHz

[ 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)

2.4GHz

[ 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

1 Like

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.

1 Like

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!

4 Likes

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!

2 Likes

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

1 Like

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

2 Likes

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

1 Like

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:

3 Likes

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.

1 Like

With the last build, this is my 5Ghz speed. Uploaded the build multiple times, with hard reset.

[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec   640 KBytes  5.23 Mbits/sec
[  4]   1.00-2.01   sec  3.25 MBytes  27.2 Mbits/sec
[  4]   2.01-3.01   sec  3.50 MBytes  29.2 Mbits/sec
[  4]   3.01-4.00   sec  2.75 MBytes  23.2 Mbits/sec
[  4]   4.00-5.01   sec  2.75 MBytes  22.9 Mbits/sec
[  4]   5.01-6.00   sec  2.75 MBytes  23.2 Mbits/sec
[  4]   6.00-7.01   sec  2.38 MBytes  19.8 Mbits/sec
[  4]   7.01-8.00   sec  3.00 MBytes  25.4 Mbits/sec
[  4]   8.00-9.01   sec  3.12 MBytes  25.9 Mbits/sec
[  4]   9.01-10.01  sec  3.50 MBytes  29.6 Mbits/sec
[  4]  10.01-11.01  sec  2.25 MBytes  18.8 Mbits/sec
[  4]  11.01-12.00  sec  1.25 MBytes  10.5 Mbits/sec
[  4]  12.00-13.01  sec  1.38 MBytes  11.5 Mbits/sec
[  4]  13.01-14.01  sec  2.62 MBytes  21.9 Mbits/sec
[  4]  14.01-15.01  sec  2.88 MBytes  24.3 Mbits/sec
[  4]  15.01-16.00  sec  3.38 MBytes  28.5 Mbits/sec
[  4]  16.00-17.01  sec  3.25 MBytes  27.1 Mbits/sec
[  4]  17.01-18.01  sec  2.62 MBytes  22.1 Mbits/sec
[  4]  18.01-19.02  sec  2.38 MBytes  19.7 Mbits/sec
[  4]  19.02-20.01  sec  2.75 MBytes  23.1 Mbits/sec
[  4]  20.01-21.01  sec  3.12 MBytes  26.3 Mbits/sec
[  4]  21.01-22.00  sec  3.25 MBytes  27.4 Mbits/sec
[  4]  22.00-23.01  sec  3.25 MBytes  27.1 Mbits/sec
[  4]  23.01-24.01  sec  3.12 MBytes  26.3 Mbits/sec
[  4]  24.01-25.01  sec  2.50 MBytes  21.0 Mbits/sec
[  4]  25.01-26.00  sec  2.62 MBytes  22.2 Mbits/sec
[  4]  26.00-27.01  sec  3.38 MBytes  28.2 Mbits/sec
[  4]  27.01-28.01  sec  3.75 MBytes  31.4 Mbits/sec
[  4]  28.01-29.02  sec  3.25 MBytes  26.9 Mbits/sec
[  4]  29.02-30.01  sec  3.38 MBytes  28.7 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-30.01  sec  84.0 MBytes  23.5 Mbits/sec                  sender
[  4]   0.00-30.01  sec  84.0 MBytes  23.5 Mbits/sec                  receiver