Any idea why it is implemented the way it is in OpenWrt?
According to the patches themselves, from Christian who is an active Linux developer, he is waiting for upstream to implement the driver better.
Spoiler alert: they won't. The thing that I don't understand is why he will retract from his own patches, which makes the device work as it should, in the meantime.
I think that he is doing it that way because it does break the currently running devices in a way that only a factory reset can recover them. Also, the patches does not include the changes to the configuration script (the 02 network thing) which probably means that when someone tested it, it just didn't worked.
If you look carefully the 02 network file, which I've fixed by myself, I've deleted all of the other devices and only kept the EA6350v3, since it's a change I've done myself and I cannot test it on other devices since I don't own ones.
Another thing is, probably, that the IPQ4018 requires the changes but the IPQ4019 doesn't. This means that the patches will fix the xx18 family and break the xx19 family.
P.S.: I've found a special file which may greatly improve the wireless performance of the device under OpenWrt. I recommend you to join the discussion and the testing in my custom build thread.
What is your thread?
I'm running openwrt on another ipq4018 device (AVM Fritz!Box 4040)
Would it be sufficient to modify /etc/board.d/02_network and apply the patch to
I think it will, but doing it wrong (specially the 02_network) will render the device unavailable and you will have to have a way to boot a working firmware if it's the case.
The EA6350v3 is dual firmware and can be (relatively) easily recovered from a bad boot, I don't know your if your device will. The serial console should be online (no Wi-Fi and no Ethernet will work) and you should be able to sideload a working firmware that way and flash it from the console and try it again.
I have a Meraki MR33 with the IPQ4029. It does not recognise Alan tagging from what I can tell. My MAC with VLAN1, 100 and 200 can see the VLANS trunked on my switch coming from a WRT32X, but it can only see VLAN1 on the MR33. I'm no expert on OpenWRT and customer build configs, though I have a build environment set up and ready to compile. Is there any way I can patch the IPQ4029 (using DSA on a snapshot) so that it will recognise the VLANS? Help?
hi on 19.07.2 this simple vlan for wan2 worked ok, now on 19.07.4 does not work.
config switch_vlan option device 'switch0' option vlan '1' option vid '1' option ports '4 3 2 0' config switch_vlan option device 'switch0' option vlan '2' option vid '2' option ports '0t 1 5' config interface 'wanb' option ifname 'eth0.2' option proto 'dhcp'
Yes the issue with the VLAN is still here, on my MR8300, manual conf doesn't work and from Luci, the router will disconnect from the network (I am using VLAN 100)
Can someone say if I can use the wan port for vlan tagging? I used openwrt master with 5.4 kernel and just doing
eth1.42 worked without configuring the switch.
Now I realized the 5.4 kernel is broken on the IPQ40XX. Every time I receive something on the wan port the throughput stays at 1.5 Mbit/s. Sending has no issues.
I can not easily get to this router again, so I don't know what happens if I just flash master with 4.19 kernel. If everything breaks, that would be very problematic.
I just got vlan tagging on wan port in my EA8300 with OpenWRT 19.03 unomodified and this config:
config interface 'wan' option type 'bridge' option proto 'pppoe' option username 'ONHxxxx@vodafone' option password 'xxxx' option ipv6 '0' option ifname 'eth1.100' config switch option name 'switch0' option reset '1' option enable_vlan '1' config switch_vlan option device 'switch0' option vlan '1' option ports '0 1 2 3 4' option vid '1' config switch_vlan option device 'switch0' option vlan '100' option vid '100' option ports '0t 5t'
got it thanks to this post by jeff:
Are u sure that u can just put the wan port on vlan 100? (even if it is trunked)
I didn’t try adding more VLANs to my LAN ports. My ISP only accepts the PPPOE connection if the WAN traffic is VLAN tagged with vlan 100. And with that config it finally worked.
Note that I also needed ifname eth1.100 in the WAN config. Both that setting and the switch0 setting to mark port 5 as tagged were neccesary.
Interesting that u use
eth1 instead of
In my Linksys EA8300, eth1 is the WAN port assigned to port 5 in the internal switch. eth0 is for LAN and ports 0-4, and I don't want to VLAN tag any LAN ports (as I said my objective was to VLAN tag the WAN port so my ISP would accept the PPPOE connection).
exists the possibility to use the Vlan tag 2? My ISP require it for the WAN.
FYI: I made a PR that adds a kernel flag to restore the "old" behavior. Lets see if it will be merged.
So, if I could apply that to my openwrt master branch, I'd be able to use the old switch0 vlan syntax in /etc/config/network again, for the ea8300?
How can I "test" this PR in the openwrt master branch? I'm not a github guru, sorry!
In the image-builder just do
curl https://github.com/openwrt/openwrt/commit/ced3840240e4095085706b3f9622c85ea646c33e.patch | git am
make clean and
make target/linux/clean and compile again.
If this patch gets accepted as it is, port isolation will be default again.