I use patches when compiling my own firmware to address the VLAN issues with my Linksys EA6350v3 that runs off a IPQ40XX chip. I have uploaded the patches to my GitHub page including the directories where to place the two files. You can find it here >
I can completely remove all of my VLAN's including VLAN 1 and 2 and I can also use the WAN port as a VLAN trunk too without any issues. This is only possible with the …
I've finally got round to compiling the firmware.
I would advise switching back to the stock Linksys firmware and then flashing from there so that you can guarantee flashing OpenWrt to the second partition.
I've put a plain v19.07.3 on my GitHub found here
The vanilla firmware is identical to the stock firmware available on the official OpenWrt download page except I've applied the two patches that are mentioned in this thread.
I decided to build my own firmware, got me a 2nd FB4040 and here the fun started.
git fetch --tags
git checkout v19.07.3
./scripts/feeds update -a && ./scripts/feeds install -a
modify target/linux/ipq40xx/base-files/etc/board.d/02_network (see forum for details)
copy the patch "715-net-essedma-disable-default-vlan.patch" --> target/linux/ipq40xx/patches-4.14
make -j5 // as my cpu has 4 cores
flash the image and ...
My switch now has:
2 CPU ports
8 LAN ports and
1 WAN port
I left a backup copy of "02_network" in the "target/linux/ipq40xx/base-files/etc/board.d/" directory
Hence the backup copy was build into the image and "ucidef_add_switch" was called twice.
Next try without the backup copy of "02_network"
Switch now looks as expected and adding a VLAN works.
Just added a guest network to LAN Port 1 --> working fine.
Will do some speed test and report.
@NoTengoBattery and @willowen100
After enabling "Software flow offloading" my box easily reaches more than 400 MBits/sec (NAT)
Further testing with VLANs were successfull too.
Anybody willing to try this build ?
Links and SHA256 checksums:
Be aware that you MUST NOT keep settings as the LAN/WAN ports have changed.
LAN is now eth0.1 (was eth0)
WAN is now eth0.2 (was eth1)
I received my 4040 this week but can't play with it now (I'm in familly holydays).
I will be back at home in few days and will be happy to make a try if that can help
Thanks a lot for this new build. I just installed it on my Fritzbox 4040 and it behaves as expected.
Same thing here,
works very fine since few days
Updated to version 19.07.5, links and SHA256 checksums:
Updated to version 19.07.6, links and SHA256 checksums:
Due to VLAN problems in my FB4040 described in
I am trying to configure VLAN on LAN on a fritzbox 4040. Having read the following I still didnt get it running.
First I avoided vid 1 and 2. I heard that VLAN over WAN cannot be configured in Luci but as I want VLAN over LAN I first tried it in Luci:
I also checked that my LAN interface is physically bound to eth0.10.
Changes applied in Luci but the openwrt device was no longer accessible, so it reverted the changes (lucky me).
In a second step I tried basically the…
@tomtom 's image which is working great!!!
Thank you very much!
I'm currently (probably like many of you) working from home.
When I saw this afternoon that there was a new release of Openwrt
i started my build system and here's the result:
Links and SHA256 sums
One more hint:
add "echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor"
to /etc/rc rc.local (or System -> Startup -> Local Startup)
To see the difference to a "ping localhost" before and after.
and updated my Openwrt (FritzBox 4040), to version 19.07.7 and tested the Local Startup recommendation.
Now I get much better data when measuring my Download and Upload. I've been testing all afternoon and so far I'm very happy that I have better data when measuring my bandwidth
I found an issue in my 19.07.6 build.
The opkg repository is pointing to http://downloads.openwrt.org/releases/19.07. 3/...
To fix this, change the opkg config to point to http://downloads.openwrt.org/releases/19.07. 6/...
Or update to 19.07.7
I would love to try your built. I am hesitant though because of these changes. I am having
WAN eth1.7 (has to be tagged vlan7 as a requirement of the ISP)
FON eth0.4 (to speparate IP telephones)
If I were installing your built, what would the names of my interfaces be?
How did you test this? Is it not a matter of your contracted internet speed (mine is a 50 MBits/s line and performs usually sligthly better on
Would you mind to share the result of an iperf3 test for both 2,4 and 5 GHz wifi for reference? Mine is around 80 MBits/s for 2,4 GHz and ~ 350 MBits/s for the 5 GHz wireless connection (direct measurement between laptop and router). Would normally be entirely sufficient for me, but the connection is sometimes moody, with dropouts of the connection up to a minute or so. Hence the question.
as mentioned before, the default config oy my build is:
LAN = eth0.1
WAN = eth0.2 (untagged) you would change that to VLAN 7, tagged on the WAN port.
FON would be eth0.4, you could add that VLAN in the Gui.
I was using the speedtest of my cable ISP, which does test the speed
to the cable modem and afterwards the speed to the router.
In both cases it was above 400 MBits/sec.
i have very similar iperf3 results in both (2,5 and 5 GHz) frequence ranges, measured from my notebook against a debian box connected via cable to the lan port of the router.
I have used your build openwrt-19.07.7-ipq40xx-generic-avm_fritzbox-4040-squashfs-eva.bin
and made the echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor into
System -> Startup -> Local Startup
I have now 4 VLAN's including the WAN Port!
Thank you very much it is working fine.
here is my preferred way:
copy/move to .config
Target Profile, change from "Multiple devices" to "AVM Fritz!Box 4040"
Deselect "Build the OpenWrt Image Builder"
Deselect "Build the OpenWrt SDK"
Save & done
Short but important hint, snippet from my openwrt-19.07.7/target/linux/ipq40xx/base-files/etc/board.d/02_network
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" \
"0t@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan"
Software flow offloading can be found in Network --> Firewall
Thanks Thomas, I will try
Found an issue when trying to install a "kmod"-package from the official repository , looks like my .config was too different.
New start from " https://downloads.openwrt.org/releases/19.07.7/targets/ipq40xx/generic/config.buildinfo", make, wait, sysupgrade and issue is gone.
New build and SHA256 sums are here: