Hello,
I am using 1 x Zyxel NBG 6617 and 2 x Xiaomi Mi 4A Gigabit Router.
I would like to create mesh network between 3 routers.
There is no problem between 4As'. Connection works perfect and there is no issue between them.
But I am having issue on NBG 6617.
I can successfully create link on 6617 also. But link is not stable and having corruptions, timeouts etc.
What I have tried until now:
2.4GHz / 5GHz with and without password authentication. - Link was not stable.
Mesh link with batman. - Link was not stable.
Tried on 19.07, 20.02rc1, 20.02rc2 and Snapshot - On all versions link was not stable.
Replaced ath10k-firmware-qca4019-ct and kmod-ath10k-ct with non ct versions. - Link was not stable.
I could make link stable only when I change wireless mode to Legacy. Link was stable both on 2.4GHz and 5GHz. But throughput was not good enough due to Lecagy mode.
I don't have a specific solution but some things for you to consider for testing purposes....
Although they both claim to be 802.11ac / 866Mbps...it looks like the zyxel has less antenna diversity than the 4A. If that were the case then there would be hiccups. (I've seen that between ar750s and C7, both use the same chip but the ar750s can only hit 433Mbps at 5Ghz vs the C7 which can do 1300Mbps - I meshed them and they didn't like it).
easy answer is to repurpose the zyxel and buy another 4A. Or vice versa. Keep the nodes homogenous / same models and on the same chip family for best results usually. Repurpose the zyxel as an AP or edge router.
I couldn't get pictures of the PCB inside the zyxel so it is hard to say what antenna layout it is using. The pictures of the 4A looks like it has real antennas and not some PCB or hybrid which is what I think the zyxel is using.
collect system (and kernel?) logs when the mesh starts acting up. Post them on here. Strip out any identifiable info such as mac addresses.
post your UCI configs for network and wireless for the 4A and the Zyxel for comparison purposes. Strip out personally identifying information.
I apologize in advance if alot of this is redundant. It sounds like you tested alot!
HTH
Crazy idea...
Disclaimer: for testing purposes try rolling back the zyxel's OpenWrt version? Probably not advisable due to security patches. See below:
Updated:
the Zyxel does have 2x2 antennas like the Xiaomi 4A, so it must be either IPQ4018 vs MT7621 conflict or settings.
Mon Jun 14 18:40:52 2021 daemon.notice hostapd: nl80211: deinit ifname=AP-5 disabled_11b_rates=0
Mon Jun 14 18:40:52 2021 daemon.notice hostapd: nl80211: Failed to remove interface AP-5 from bridge br-lan: Invalid argument
Mon Jun 14 18:40:52 2021 kern.info kernel: [146740.392455] ath10k_ahb a800000.wifi: mac flush null vif, drop 0 queues 0xffff
Mon Jun 14 18:40:52 2021 kern.warn kernel: [146740.394062] ath10k_ahb a800000.wifi: peer-unmap-event: unknown peer id 0
Mon Jun 14 18:40:52 2021 kern.warn kernel: [146740.398653] ath10k_ahb a800000.wifi: peer-unmap-event: unknown peer id 0
Mon Jun 14 18:40:52 2021 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy1.conf (phy AP-5) --> new PHY
Mon Jun 14 18:40:54 2021 kern.warn kernel: [146742.758989] ath10k_ahb a800000.wifi: 10.4 wmi init: vdevs: 16 peers: 48 tid: 96
Mon Jun 14 18:40:54 2021 kern.warn kernel: [146742.759038] ath10k_ahb a800000.wifi: msdu-desc: 2500 skid: 32
Mon Jun 14 18:40:54 2021 kern.info kernel: [146742.806098] ath10k_ahb a800000.wifi: wmi print 'P 48/48 V 16 K 144 PH 176 T 186 msdu-desc: 2500 sw-crypt: 0 ct-sta: 0'
Mon Jun 14 18:40:54 2021 kern.info kernel: [146742.807040] ath10k_ahb a800000.wifi: wmi print 'free: 53252 iram: 13432 sram: 35752'
Mon Jun 14 18:40:54 2021 kern.info kernel: [146743.122248] ath10k_ahb a800000.wifi: rts threshold -1
Mon Jun 14 18:40:54 2021 kern.warn kernel: [146743.122555] ath10k_ahb a800000.wifi: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
Mon Jun 14 18:40:54 2021 kern.info kernel: [146743.131657] br-lan: port 2(AP-5) entered blocking state
Mon Jun 14 18:40:54 2021 kern.info kernel: [146743.137324] br-lan: port 2(AP-5) entered disabled state
Mon Jun 14 18:40:54 2021 daemon.notice hostapd: AP-5: interface state UNINITIALIZED->COUNTRY_UPDATE
Mon Jun 14 18:40:54 2021 kern.info kernel: [146743.143275] device AP-5 entered promiscuous mode
Mon Jun 14 18:40:55 2021 kern.info kernel: [146743.461677] IPv6: ADDRCONF(NETDEV_CHANGE): AP-5: link becomes ready
Mon Jun 14 18:40:55 2021 kern.info kernel: [146743.461975] br-lan: port 2(AP-5) entered blocking state
Mon Jun 14 18:40:55 2021 kern.info kernel: [146743.467106] br-lan: port 2(AP-5) entered forwarding state
Mon Jun 14 18:40:55 2021 daemon.notice hostapd: AP-5: interface state COUNTRY_UPDATE->ENABLED
Mon Jun 14 18:40:55 2021 daemon.notice hostapd: AP-5: AP-ENABLED
Mon Jun 14 18:40:55 2021 daemon.err hostapd: nl80211: kernel reports: key addition failed
Mon Jun 14 18:40:55 2021 daemon.info hostapd: AP-5: STA a4:50:46:ee:08:8d IEEE 802.11: associated (aid 1)
Mon Jun 14 18:40:55 2021 daemon.notice hostapd: AP-5: AP-STA-CONNECTED a4:50:46:ee:08:8d
Mon Jun 14 18:40:56 2021 kern.info kernel: [146744.586218] ath10k_ahb a800000.wifi: rts threshold -1
Mon Jun 14 18:40:56 2021 kern.info kernel: [146744.892586] IPv6: ADDRCONF(NETDEV_CHANGE): Mesh: link becomes ready
Mon Jun 14 18:40:56 2021 daemon.notice netifd: Network device 'AP-5' link is up
Mon Jun 14 18:40:56 2021 daemon.notice netifd: Network device 'Mesh' link is up
Mon Jun 14 18:40:56 2021 kern.info kernel: [146744.972106] br-lan: port 4(Mesh) entered blocking state
Mon Jun 14 18:40:56 2021 kern.info kernel: [146744.972142] br-lan: port 4(Mesh) entered disabled state
Mon Jun 14 18:40:56 2021 kern.info kernel: [146744.976849] device Mesh entered promiscuous mode
Mon Jun 14 18:40:56 2021 kern.info kernel: [146744.982053] br-lan: port 4(Mesh) entered blocking state
Mon Jun 14 18:40:56 2021 kern.info kernel: [146744.986385] br-lan: port 4(Mesh) entered forwarding state
[146744.892586] IPv6: ADDRCONF(NETDEV_CHANGE): Mesh: link becomes ready
[146744.972106] br-lan: port 4(Mesh) entered blocking state
[146744.972142] br-lan: port 4(Mesh) entered disabled state
[146744.976849] device Mesh entered promiscuous mode
[146744.982053] br-lan: port 4(Mesh) entered blocking state
[146744.986385] br-lan: port 4(Mesh) entered forwarding state
And wireless status on 6617 when peers are connected.
Ideally you should see -50 or -60 dBm between mesh nodes on LuCI->status->overview. -96dBm = no signal. Mesh point 9c:9d:7e..... is not getting any signal.
You could set this to -85 dBm assuming your nodes have -60 to -70 dBm of signal.
Are the nodes crashing and requiring reboots every 2-3 days? If so you could just cron job them to reboot every 24 hours as a temporary measure until you find a better solution.
Also the 175Mbps on mesh node 52:df:f5... seems a little low. Maybe it's a busy channel. Did you try channel 153 using max 1000 mW transmit power?
Is this a home mesh or is it connected to the neighborhood?
I would move all AP's to 2.4Ghz to free up the 5Ghz radios for the mesh. Otherwise it will be unstable.
The 4A in the middle is trying to juggle WDS and MESH on the same radio? Seems like a bad idea if that is the case. I would think WDS would be best off on its own dedicated radio.
Let's see what others have to say. Most of my experience is with vanilla 802.11s - no WDS.
If you canβt get the mesh to play nicely with the 6617, then another possible configuration would be:
-->no WDS
-->keep the 4A's meshed
-->6617 becomes node 3 and connects to node 2 as a client (STA MODE)
[node 1, 4A] β [node 2, 4A] β [node 3, 6617]
Node 1:
4A
internet connection
2.4Ghz AP for clients
5 Ghz MESH POINT for node 2
Node 2:
4A
5 Ghz MESH POINT for node 1
5 Ghz AP for node 3
2.4Ghz AP for clients
Node 3:
NBG6617
5 Ghz STA MODE β 5 Ghz AP on node 2
2.4Ghz AP for clients
Notes:
802.11s with SAE between the 4A, no batman.
Node 3: connects as a client to node 2's 5 Ghz AP which should be much more stable in theory. I have run like that on the AR750S because it only has one 5Ghz radio like most routers. It works. Or you could connect to node 2's 2.4Ghz AP and put up a 5Ghz AP and 2.4Ghz AP.
no WDS.
this topology is only concerned with providing internet access and getting the misbehaving 6617 operational.
I have tried over 3 hours last night to make connection of 6617. Every attemptions were unsuccessfully. Mesh only works stable when I set wireless mode Legacy on 6617.
I have fed up with mesh connection of 6617. I will keep 6617 as edge router and I will buy another 4A to make direct connection to 6617 and turn of wifi of 6617. I will make Mesh with 3 Mi 4As.