New Build 34080: DIR-868L, DIR-880L, RT-AC68U (SFE w PBR)

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2, 3  Next
Author Message
quarkysg
DD-WRT User


Joined: 03 May 2015
Posts: 323

PostPosted: Fri Dec 22, 2017 10:00    Post subject: New Build 34080: DIR-868L, DIR-880L, RT-AC68U (SFE w PBR) Reply with quote
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.


The download link below:



Shortcut Forwarding Engine Kernel Module

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.

Have fun!



r34080-linux-4.4.105.tar.gz
 Description:
1. PBR compatible shortcut-fe.ko kernel module.
2. switch-robo.ko kernel module for BCM53xx switch
3. ebtables utility

Download
 Filename:  r34080-linux-4.4.105.tar.gz
 Filesize:  58 KB
 Downloaded:  715 Time(s)

Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12836
Location: Netherlands

PostPosted: Fri Dec 22, 2017 11:04    Post subject: Reply with quote
Thanks @Quarkysg, keep up the good work, grateful for your work.
_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
frodrick
DD-WRT Novice


Joined: 08 Feb 2017
Posts: 18

PostPosted: Sat Dec 23, 2017 9:11    Post subject: Reply with quote
Has it been a long time since you solved the nvram clogging up and needed reset every other day due to hangups?

also glad i found these patched versions, so far no troubles Smile
quarkysg
DD-WRT User


Joined: 03 May 2015
Posts: 323

PostPosted: Sat Dec 23, 2017 9:27    Post subject: Reply with quote
frodrick wrote:
Has it been a long time since you solved the nvram clogging up and needed reset every other day due to hangups?

also glad i found these patched versions, so far no troubles Smile


Depending on your definition of 'long'. I started releasing builds for the 868 and 880 since Oct 17, IIRC.
frodrick
DD-WRT Novice


Joined: 08 Feb 2017
Posts: 18

PostPosted: Sat Dec 23, 2017 9:57    Post subject: Reply with quote
quarkysg wrote:
frodrick wrote:
Has it been a long time since you solved the nvram clogging up and needed reset every other day due to hangups?

also glad i found these patched versions, so far no troubles Smile


Depending on your definition of 'long'. I started releasing builds for the 868 and 880 since Oct 17, IIRC.


I think that answer was good enough =)

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 Smile
quarkysg
DD-WRT User


Joined: 03 May 2015
Posts: 323

PostPosted: Sat Dec 23, 2017 13:55    Post subject: Reply with quote
frodrick wrote:


I think that answer was good enough =)

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 Smile


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.
FurryNutz
DD-WRT User


Joined: 31 Oct 2010
Posts: 228

PostPosted: Mon Dec 25, 2017 2:29    Post subject: Reply with quote
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.
frodrick
DD-WRT Novice


Joined: 08 Feb 2017
Posts: 18

PostPosted: Mon Dec 25, 2017 21:31    Post subject: Reply with quote
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.
quarkysg
DD-WRT User


Joined: 03 May 2015
Posts: 323

PostPosted: Mon Dec 25, 2017 21:35    Post subject: Reply with quote
frodrick wrote:
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.
frodrick
DD-WRT Novice


Joined: 08 Feb 2017
Posts: 18

PostPosted: Mon Dec 25, 2017 21:57    Post subject: Reply with quote
quarkysg wrote:
frodrick wrote:
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 Sad
quarkysg
DD-WRT User


Joined: 03 May 2015
Posts: 323

PostPosted: Mon Dec 25, 2017 22:12    Post subject: Reply with quote
frodrick wrote:
quarkysg wrote:
frodrick wrote:
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 Sad


Is SFE on? If yes, try to disable it and see if PPTP works.
frodrick
DD-WRT Novice


Joined: 08 Feb 2017
Posts: 18

PostPosted: Mon Dec 25, 2017 22:17    Post subject: Reply with quote
quarkysg wrote:
frodrick wrote:
quarkysg wrote:
frodrick wrote:
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 Sad


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
quarkysg
DD-WRT User


Joined: 03 May 2015
Posts: 323

PostPosted: Tue Dec 26, 2017 15:27    Post subject: Reply with quote
frodrick wrote:

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
frodrick
DD-WRT Novice


Joined: 08 Feb 2017
Posts: 18

PostPosted: Wed Dec 27, 2017 13:25    Post subject: Reply with quote
quarkysg wrote:
frodrick wrote:

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.
labrok
DD-WRT User


Joined: 11 Feb 2011
Posts: 297
Location: Greece

PostPosted: Wed Dec 27, 2017 14:33    Post subject: PLEASE BE SPECIFIC ON HW REVISIONS Reply with quote
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!
Goto page 1, 2, 3  Next Display posts from previous:    Page 1 of 3
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum