Hello,
I use 2 Mikrotik HAP AC2 as dumb access points with OpenWRT 21.02.3.
I need to use the "WAN" port as trunk and the rest of ports as untagged ports. I tried manually configuring /etc/config/network and adding 5t as trunk on all vlans as this port is not present on the switch section but it's not working. The vlans are not 1 or 2.
Anyone has a solution for this problem?
I need to do that because i need POE for these routers.
hi
i will try to answer you from my memory, so forgive me if i am left something out, as i don't use hap ac2 anymore
when robimarko first added support for ac2 , it was
swconfig / essedma
there is no real eth1, only emulated eth1 (wan)
so, vlans are not possible on WAN
i used patch from notengobattery, some specialized builds for IPQ 40xx and applied patch from there
this way old swconfig started to work as expected, and no more ETH1 so vlans are working on all ports
but it is a "hand job" to pick, modify, apply patch
now i see ansuel started working on ipq40xx DSA implementation, but PR is is still in testing phase
sorry if i left something out
finally found the PR
openwrt:master
← sartura:ipq40xx-dsa
opened 05:32PM - 25 Oct 21 UTC
This PR is a WIP draft for adding a working ethernet + DSA driver along with som… e PHY SFP improvements.
Ethernet driver is an updated and fixed version of the IPQESS driver that has been in various trees.
DSA driver is based on an older qca8k driver to which IPQ40xx specific stuff was added based on even older modified qca8k that was lingering in the same trees as the IPQESS.
DSA driver itself lacks some features that newer qca8k has like VLAN offloading but that is something that I plan on adding.
The code also isn't upstream ready due to various hacks that are specific to the IPQ40xx in regards to PSGMII.
Driver combo works surprisingly well, however it has one bug that doesn't always present itself.
The issue is that PSGMII PHY-s won't calibrate on some boots, this happens really randomly.
I have only added conversion of Jalapeno board as an example, however, I will add a few more.
Note that I don't know if RGMII works properly as I don't have any board using it.
This patch series is based on the following tree:
https://github.com/sartura/linux/tree/ipq40xx/linux-v5.10.8-DSA
It can be referenced to see the actual development in individual commits as I slightly cleaned up some things when preparing for OpenWrt submission and those are not yet reflected in our public kernel tree.
I will rebase on 5.14.14 which we are using internally and publish with OpenWrt changes.
You can see that there were actually 3 working taggers added but I only included the shinfo one which has the lowest overhead.
I find the driver combo usable, but the code requires some work regarding features and a decent cleanup.
We are publishing it in hopes that by working with the community we can eventually get support for wired networking
upstream and that will complete IPQ40xx support upstream as the only major subsystem missing.
So since the driver combo has been really fixed up I think that we need to convert all of the boards to get this merged.
So, to track that let's add a checklist:
- [x] 8devices Habanero
- [x] 8devices Jalapeno
- [x] Alfa AP120C-AC
- [x] Aruba AP-303
- [ ] Aruba AP-303H
- [ ] Aruba AP-365
- [x] Asus Lyra (MAP-AC2200)
- [ ] Asus RT-AC42U
- [x] Asus RT-AC58U
- [x] AVM FRITZ!Box 4040
- [x] AVM FRITZ!Box 7530
- [x] AVM FRITZ!Repeater 1200
- [ ] AVM FRITZ!Repeater 3000
- [ ] Buffalo WTR-M2133HP
- [x] Cell C RTL30VW
- [x] Crisis Innovation Lab MeshPoint.One
- [ ] Compex WPJ419
- [x] Compex WPJ428
- [ ] devolo Magic 2 WiFi next
- [ ] D-Link DAP-2610
- [ ] Edgecore ECW5211
- [ ] Edgecore OAP100
- [ ] EnGenius EAP1300
- [ ] EnGenius EAP2200
- [ ] EnGenius EMD1
- [ ] EnGenius EMR3500
- [ ] EnGenius ENS620EXT
- [ ] EZVIZ CS-W3-WD1200G
- [ ] GL.iNet GL-AP1300
- [x] GL.iNet GL-B1300
- [x] GL.iNet GL-B2200
- [ ] GL.iNet GL-S1300
- [x] Linksys EA6350
- [x] Linksys EA8300
- [x] Linksys MR8300
- [ ] Luma Home WRTQ-329ACN
- [x] Cisco Meraki MR33
- [ ] MobiPromo CM520-79F
- [ ] NETGEAR EX6100 v2
- [ ] NETGEAR EX6150 v2
- [ ] NETGEAR RBR50
- [ ] NETGEAR RBS50
- [ ] NETGEAR SRS60
- [x] NETGEAR WAC510
- [ ] OpenMesh A42
- [ ] OpenMesh A62
- [x] P&W R619AC
- [ ] Plasma Cloud PA1200
- [ ] Plasma Cloud PA2200
- [ ] Qualcomm Atheros AP-DK01.1 C1
- [ ] Qualcomm Atheros AP-DK04.1 C1
- [ ] Qxwlan E2600AC C1
- [ ] Qxwlan E2600AC C2
- [ ] Teltonika RUTX10
- [ ] Unielec U4019
- [x] ZyXEL NBG6617
- [ ] ZyXEL WRE6606
- [x] MikroTik hAP ac2
- [x] MikroTik hAP ac3
- [x] MikroTik Wireless Wire Dish LHGG-60ad
- [x] MikroTik SXTsq 5 ac
- [x] MikroTik cAP ac
- [x] ZTE MF286D
- [ ] Telco X1 Pro
good news is that HAP AC2 is tested
1 Like
Thank you for the good news! I will wait for the next rc or stable version hoppeing that DSA will be added for this device.
system
Closed
July 31, 2022, 5:49am
5
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.