Optimized build for the D-Link DIR-860L

iperf3 with 2.4GHz 40 MHz and client connected at 150 Mbps

Accepted connection from 192.168.10.112, port 59762
[  5] local 192.168.10.1 port 5201 connected to 192.168.10.112 port 59763
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  8.79 MBytes  73.4 Mbits/sec
[  5]   1.00-2.00   sec  8.00 MBytes  67.3 Mbits/sec
[  5]   2.00-3.00   sec  10.5 MBytes  88.1 Mbits/sec
[  5]   3.00-4.00   sec  9.35 MBytes  78.7 Mbits/sec
[  5]   4.00-5.00   sec  11.3 MBytes  94.9 Mbits/sec
[  5]   5.00-6.00   sec  12.2 MBytes   102 Mbits/sec
[  5]   6.00-7.00   sec  11.9 MBytes  99.9 Mbits/sec
[  5]   7.00-8.00   sec  11.4 MBytes  96.2 Mbits/sec
[  5]   8.00-9.01   sec  5.25 MBytes  43.8 Mbits/sec
[  5]   9.01-10.01  sec  8.95 MBytes  75.1 Mbits/sec
[  5]  10.01-10.04  sec   371 KBytes   102 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.04  sec  98.1 MBytes  82.0 Mbits/sec

iperf3 with 5GHz and client connected at 433 Mbps

Accepted connection from 192.168.10.88, port 54664
[  5] local 192.168.10.1 port 5201 connected to 192.168.10.88 port 54665
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  21.7 MBytes   182 Mbits/sec
[  5]   1.00-2.00   sec  22.0 MBytes   184 Mbits/sec
[  5]   2.00-3.00   sec  22.2 MBytes   186 Mbits/sec
[  5]   3.00-4.00   sec  22.4 MBytes   188 Mbits/sec
[  5]   4.00-5.00   sec  22.2 MBytes   186 Mbits/sec
[  5]   5.00-6.00   sec  22.3 MBytes   187 Mbits/sec
[  5]   6.00-7.00   sec  22.3 MBytes   187 Mbits/sec
[  5]   7.00-8.00   sec  22.4 MBytes   187 Mbits/sec
[  5]   8.00-9.00   sec  21.5 MBytes   181 Mbits/sec
[  5]   9.00-10.00  sec  23.8 MBytes   200 Mbits/sec
[  5]  10.00-10.04  sec  1.06 MBytes   215 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.04  sec   224 MBytes   187 Mbits/sec

Not bad!

Today I recieved my Dir860L B1 and i was wondering which build i should use ?
I want to use this device as a switch + WLAN AP (isolated guest AP) together with my WRT3200acm.

Would need working vlan support and decent 2.4ghz wifi performance...
Any advice ? And is there a guide on howto proper flash this device ?

Either use the latest master branch, or a build from the 18.06 branch. The current latest stable (17.01.4) has a nasty bug with VLANs. It does have a workaround, but properly working VLANs on newer builds are much nicer to use :slight_smile:

Flashing is as simple as going to the web interface of your router with the d-link firmware, click update firmware, and upload a factory image of the desired Lede build. Done :slight_smile:

1 Like

Thanks for ur reply, i always like to flash via recovey mode (had the best experience with it so far with other devices).
Sadly i'm not into building my own image as i don't have any experience with building openwrt images.
I would realy like to use this optimized build from here but if vlans aren't working i can't use it for my setup. :frowning:

Where do i find the latest master branch ?
I've only found 17.01.4: https://openwrt.org/toh/views/toh_admin_fwlinkcheck?s[]=dir&s[]=860l

edit: is that the right one?: https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/
I'll have to install any extra stuff right (Luci, ebtables, QoS aso) ?

You can also use the latest 18.06 branch. It should already have Luci included making it a bit easier: https://downloads.openwrt.org/releases/18.06-SNAPSHOT/

Any additional packages you would like to use should be downloaded via opkg (or the software page in Luci). ebtables isn't included by default and needs to be downloaded. Personally, I wouldn't use QoS or SQM on a switch/access point. Let the router handle that task. But that's just me :slight_smile:

1 Like

Thanks man !
I'll give it a try right now... fingers crossed

edit: is there really no need to flash via recovery ? Can't be bad right ? :wink:

As long as you use the factory image, and NOT the sysupgrade image, you should be golden. :slight_smile:

1 Like

It worked out great, no problems what so ever !! Thanks for your quick help man !!! :slight_smile:
Now i need to figure out how to get this http to https redirect (i guess it's a package as well) and the material design (im used to it) to work.
After that i'm going to modify my whole setup together with my WRT3200acm...
Hopefully the Dir-860L has about the same Wifi performance as my old RT-N16 with Tomato fw. 'fingers crossed'

install the luci-ssl-openssl package :slight_smile: that's all there is to it.

Should also be a package. I believe @Bartvz has it included in the builds that he posted in his OP. Might want to ask him for the specific name of the package :slight_smile:

1 Like

Luci-theme-material

1 Like

Opend a new thread, sorry for spamming this one here with my problem....

I think that's a good idea :slight_smile: I'll try to help you out in the new thread.

If you make your own build, I have included the config.seed for every build in the download directory which may be a good starting point

Thanks but to be honest i don't feel mighty enough to build my own image, unfortunately.
I was very happy to see that someone allready got a "optimized build" ready to go...
The big and only question for me is if vlan is fully working as i really need it for my setup with the isolated guest AP+switch.

The commit that fixed VLAN functionality is quite old and should be included in Bart's latest builds :slight_smile:

1 Like

Today i was about to configure my 860L as a guest AP but when i tried to enter the GUI i got the following error:

/usr/lib/lua/luci/dispatcher.lua:176: /etc/config/luci seems to be corrupt, unable to find section 'main'
stack traceback:
	[C]: in function 'assert'
	/usr/lib/lua/luci/dispatcher.lua:176: in function 'dispatch'
	/usr/lib/lua/luci/dispatcher.lua:99: in function </usr/lib/lua/luci/dispatcher.lua:98>

It was running for ~3 days, had to reboot to get Luci back.... build 6795.

Reflashed the build and reconfigured everything from the scratch. Vlan's are working for fine but one big problem, I cant install ebtables package via software...


Installing ebtables (2018-05-15-66a97018-1) to root...
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/base/ebtables_2018-05-15-66a97018-1_mipsel_24kc.ipk
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for ebtables:
 * 	kernel (= 4.14.44-1-cfa316e572ea7fa890feb6abb050c445) * 
 * opkg_install_cmd: Cannot install package ebtables.

The package seems to be for Kernel Version: 4.14.44 and the build which i'm using has Kernel: 4.14.37...
How do i get this fixed ? I do need ebtables for my isolated guest Setup...

edit: It doen't seem to be fixable out of the box.
@Bartvz, do you have a custom package feed for ur build 6795 @ Kernel 4.14.37 ?
Or do you know a source where i can get the needed ebtable package ?

Pls help me :slight_smile:

That is due to a newer kernel in the master branch as compared to my build. You could try force installing it with opkg.

Please note that force installing can possibly brick your router. Be sure you are aware how to use the recovery to unbrick it :wink:

@Kherby the latest 18.06 snapshots now have commits that fix the WiFi issues you experienced earlier. So that might be the better option for you if you don't want to compile your own image.

Im running 17.01.4 stable atm and i was able to install ebtables + vlans are also working.
But my isolated guest setup is still not working as it should.
I might give 18.06 another try, thanks for the info... i dont need much, basicly just vlans, ebtables and decent wifi performance and ofc the build should be stable with daily usage. :wink: