Posted: Fri Dec 22, 2017 10:00 Post subject: New Build 34080: DIR-868L, DIR-880L, RT-AC68U (SFE w PBR)
I've uploaded a new build. No factory default reset necessary if you're already using my builds.
Other than the usual fixes committed by the dd-wrt developers, my build includes the following changes:
1. Allows full 4096 VLANs for 802.1q tagging. Scripting required tho, as the GUI does not allow VLANs > 15.
2. Allows configuration of default hardware based LAN port VLAN PCP. No need to use router CPU for some type of VLAN traffic processing.
3. Enabled the WiFi LEDs for the D-Link DIR-880L (Rev A)
4. Allows acceleration of network packets that are policy routed. You can now use OpenVPN with PBR and also enable SFE.
5. Accelerate IPv6 network packets where previously all IPv6 packets are ignored.
6. Disabled a competing SFE connection manager where previously two connection managers are initialised. This should reduce router CPU usage further.
Limitation of my builds:
1. Broadcom wireless and ethernet drivers may not be the latest, but at least it seems stable.
2. Does not contain Sputnik as source codes not available.
For those using ARM CPU routers who would like to try out the Shortcut Forwarding Engine with PBR, I've attached the kernel module that you can try. Hopefully it'll work for you. To use the kernel module, unzip the attached file and upload it into your router. SSH/telnet into your router and run issue the following commands:
1. rmmod shortcut-fe
(in the directory you have uploaded the shortcut-fe.ko file)
2. insmod shortcut-fe.ko
The default kernel module only accelerates for the 129th packets onwards, so if you want the acceleration to happen faster, do the following:
echo 4 > /sys/fast_classifier/offload_at_pkts
The above command will offload established connections from the 5th packets onwards.
The attached kernel module will only work for ARM based routers and builds on or after 32622 and that your router must also be running the 4.4.x Linux kernel. Otherwise it will likely crash your router or it will not load at all.
This release of the shortcut-fe.ko kernel module fixed a stupid bug I introduced that caused port-forwarded traffic to be dropped. All incoming and outgoing TCP/UDP, IPv4/IPv6 traffic should be accelerated properly with this release.
Switch-Robo Kernel Module
This build's switch-robo.ko kernel driver (attached) has two enhancements:
1. Allows full 4096 VLAN tags.
2. (New) Allows use of hardware based configuration of per port default VLAN PCP bits. I enhanced it to eliminate CPU usage of my router to support my ISP's IPTV service
You can configure per port VLAN PCP using the following file:
Ports configurations are restricted to LAN ports 1 - 4 and the WAN port.
To see current LAN port 4 VLAN configuration:
To set LAN port 4 VLAN PCP to 4 (video):
echo 4 > /proc/switch/eth0/port/3/vlanpcp
BrainSlayer's builds seems to also have issues with the 'ebtables' program for ARM based routers, so I've also included a copy of it here.
Joined: 18 Mar 2014 Posts: 1484 Location: Netherlands
Posted: Fri Dec 22, 2017 11:04 Post subject:
Thanks @Quarkysg, keep up the good work, grateful for your work. _________________ Router Netgear R6400, Linksys EA6900 (XvortexCFE), Linksys E2000 (converted WRT320N), WRT54GS v1.
Install guide see Linksys EA6900: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=291230
Whas it a big problem that made NVRAM clog up?
i had to use the NVRAM erase command a few times every week and reconfig everytime
The problem wasn't NVRAM. What I found was that about a year ago, the source code that initialises the 868L and 880L were changed that resulted in both routers going into a boot loop. Erasing NVRAM probably is a work-around to allow first boot to go thru but as you found out, it returned probably on subsequent boots.
The good news is that BrainSlayer recently reverted the change that causes the issue. The next official build should once again work for the 868 and 880 routers.
Posted: Wed Dec 27, 2017 14:33 Post subject: PLEASE BE SPECIFIC ON HW REVISIONS
I see here you are talking about dir-868L ,i am sure that you already know that this router has already 3 HW revisions, as i can understand ,here you are talking about Rev A1, i also know that people with other revisions will come here to read, You are not explaining clearly if your downloads are only for rev A1 or for others too, and if someone with different revisions will have serious issues if he will try this FW, please do it now. Thank you!