I have my WRT device connected to my BT router, and connect everything to the WRT device instead of the router.
My speedtest shows I have 45Mbps down and 11 up and have set up the SQM and my interfaces set up as shown in the image.
When I test my bufferbloat using DSLreports.com it shows flooding the upload increases ping by a few hundred (see image). Messing with the queue disciplines and up/download numbers doesnt seem to fix this. http://www.dslreports.com/speedtest/57522960
Does anyone have any tips on what I might be doing wrong?
This connection must use the OpenWrt device's WAN port, and everything else must be connected to LAN. Is this how you wired it?
I turned the device into a dumb AP using this guide which said the router didnt need to be attached to the WAN but I'll try using the WAN port tomorrow and report back.
Its a BT home hub 5 router and a TRENDnet TEW-827DRU
Here the commands you asked me to run:
# brctl show
bridge name bridge id STP enabled interfaces
br-lan 7fff.d8eb97302976 no eth1.1
wlan1
br-wan 7fff.d8eb97302977 no eth0.2
In a device configured as a dumb access point, all traffic goes through bridges, and no traffic shapping can take place.
You can configure the device back into a router, but unless you configure the BT router as "transparent" or similar, you will 3nd with a double-NAT setup.
I think he could put the "normal" wan port, say eth1, into the bridge as well, but instantiate sqm on eth1, that should allow traffic shaping on a bridge as well.
Generally, sqm for wan traffic should be instantiated as early as possible, so rather at the router than at the AP if the goal is to debloat wan traffic.
Looking at your earlier posts, try to instantiate SQM on eth0.2 and report back whether that works.
Does the BT Home Hub 5 router's label say type A or type B?
If it was Type A, it could run OpenWrt and be set up as a bridge (VDSL2 modem) to avoid the double NAT.
The TRENDnet TEW-827DRU is much more powerful and could serve as the router.
So I fixed it in the end by reseting the config and then plugging the router into the WAN port and changing the lan subnet to 192.168.2.1 because the HomeHub is using 192.168.1.1. This had to be manually changed in the network file with WINSCP as I think theres a bug with this router's firmware where the router wouldnt change it via luci. Then I set the SQM to ethernet 0.2(wan,wan6).
For some reason I had to do these steps a couple times before it actually worked. Sometimes I wouldnt get internet and sometimes I wouldnt be able to connect to the openwrt router. And it took a bit of research to understand why I couldnt just use SQM on the LAN interface, as only certain traffic goes through your CPU, and thus can be shaped by SQM.
@mpa that seems to be a good idea but I'm renting and dont personally own the homehub, but thanks anyway.
Seeming to get no bufferbloat now, thank you very much guys :).