Posted: Fri Dec 22, 2017 10:00 Post subject: New Build 34080: DIR-868L, DIR-880L, RT-AC68U (SFE w PBR)
Hi folks,
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.
Note:
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:
/proc/switch/eth0/port/<port number>/vlanpcp
Ports configurations are restricted to LAN ports 1 - 4 and the WAN port.
Example configurations:
To see current LAN port 4 VLAN configuration:
cat /proc/switch/eth0/port/3/vlanpcp
To set LAN port 4 VLAN PCP to 4 (video):
echo 4 > /proc/switch/eth0/port/3/vlanpcp
ebtables Utility
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.
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.
Ok, got this loaded on my 868L. Will test this again. Didn't do a factory reset.
SFE will be enabled. WIFI disabled for now. I have my 890L loaded with BS version as well. WIFI working there and fine.
WIFI with password configed and working
USB support + NAS share over samba working
static IP working
VPN PPTP partially working
Connecting on LAN side works and connects in 1 sec.
Connecting WAN side does NOT work
i get a request on firewall log that a VPN is incomming but does not pass
i tried turning firewall of
i checked passthrough pptp
i had it working on a erlier build but cant get it to work now
WIFI with password configed and working
USB support + NAS share over samba working
static IP working
VPN PPTP partially working
Connecting on LAN side works and connects in 1 sec.
Connecting WAN side does NOT work
i get a request on firewall log that a VPN is incomming but does not pass
i tried turning firewall of
i checked passthrough pptp
i had it working on a erlier build but cant get it to work now
so not sure what im missing.
Could be caused by SFE. Try turning it off and reboot router. If possible switch to OpenVPN. PPTP is obsolete and not secure.
WIFI with password configed and working
USB support + NAS share over samba working
static IP working
VPN PPTP partially working
Connecting on LAN side works and connects in 1 sec.
Connecting WAN side does NOT work
i get a request on firewall log that a VPN is incomming but does not pass
i tried turning firewall of
i checked passthrough pptp
i had it working on a erlier build but cant get it to work now
so not sure what im missing.
Could be caused by SFE. Try turning it off and reboot router. If possible switch to OpenVPN. PPTP is obsolete and not secure.
no go on power off/reboot
i need PPTP cause i have 2 routers im planning on using as media access from 2 other locations and they only have PPTP support and no support for DDWRT :/
i wrote down my working config so it should work but isnt.
WIFI with password configed and working
USB support + NAS share over samba working
static IP working
VPN PPTP partially working
Connecting on LAN side works and connects in 1 sec.
Connecting WAN side does NOT work
i get a request on firewall log that a VPN is incomming but does not pass
i tried turning firewall of
i checked passthrough pptp
i had it working on a erlier build but cant get it to work now
so not sure what im missing.
Could be caused by SFE. Try turning it off and reboot router. If possible switch to OpenVPN. PPTP is obsolete and not secure.
no go on power off/reboot
i need PPTP cause i have 2 routers im planning on using as media access from 2 other locations and they only have PPTP support and no support for DDWRT :/
i wrote down my working config so it should work but isnt.
i get request in FW but it wont pass thru
Is SFE on? If yes, try to disable it and see if PPTP works.
WIFI with password configed and working
USB support + NAS share over samba working
static IP working
VPN PPTP partially working
Connecting on LAN side works and connects in 1 sec.
Connecting WAN side does NOT work
i get a request on firewall log that a VPN is incomming but does not pass
i tried turning firewall of
i checked passthrough pptp
i had it working on a erlier build but cant get it to work now
so not sure what im missing.
Could be caused by SFE. Try turning it off and reboot router. If possible switch to OpenVPN. PPTP is obsolete and not secure.
no go on power off/reboot
i need PPTP cause i have 2 routers im planning on using as media access from 2 other locations and they only have PPTP support and no support for DDWRT :/
i wrote down my working config so it should work but isnt.
i get request in FW but it wont pass thru
Is SFE on? If yes, try to disable it and see if PPTP works.
Where do i find it, and turn it off?
is it this
"Shortcut Forwarding Engine"? if so no change
Where do i find it, and turn it off?
is it this
"Shortcut Forwarding Engine"? if so no change
Yes, SFE is short for Shortcut Forwarding Engine. Did you reboot the router when you turn SFE off? Changing the radio button to Off and saving does not turn it off. Best to reboot router after saving.
If you really cannot reboot, the command below will disable SFE:
Where do i find it, and turn it off?
is it this
"Shortcut Forwarding Engine"? if so no change
Yes, SFE is short for Shortcut Forwarding Engine. Did you reboot the router when you turn SFE off? Changing the radio button to Off and saving does not turn it off. Best to reboot router after saving.
If you really cannot reboot, the command below will disable SFE:
rmmod shortcut-fe
cant get it to work, so ive abandoned the PPTP and tried openVPN
But i cant get andy default gateway with TUN and TAP isnt supported on android devices.
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!