OpenWrt Support for Armor G5 (NBG7815)

Quick question if anyone already had this issue since I'm at my wits end.
Since yesterday, no windows client is able to access my Wifi/LAN anymore. Every other device (tasmota esp modules, Steam Deck, Linux Desktop) does have full access. Even a TP-Link repeater works just fine. If I connect the windows clients using the Repeater WiFi connection, it works just fine.

I tried:

  • Activating/Deactivating Multi to Unicast
  • using different versions of openwrt (asvio, asvio nss build, normal build)
  • factory resetting the config
  • different encryption / password settings for the WiFi ssids
  • using LAN, the issue happens aswell
  • using different Windows clients (one XMG Neo, one Lenovo T15, one Asrock Deskmini) with different network cards (well, intel AX200 and AX201, seem close)
  • deactivating IPv6 under Network -> Interfaces -> Devices -> phy0-ap0 and phy1-ap0, br-lan did not help

My results:

  • If only radio0 (5ghz) is active, my windows clients sometimes get a connection by LAN and WiFi
  • The moment I turn on radio1 (2.4ghz), none of my windows clients get any connection (neither LAN nor WiFi)

It seems to be related to DHCP, but not entirely sure. I hope I didn't leave out any information that is needed, if I did, I'd be happy to provide it.

The system log adds the following entries on any connection attempt:

Wed May 15 16:01:15 2024 dnsmasq-dhcp[1]: DHCPDISCOVER(br-lan)  <my_mac_address>
Wed May 15 16:01:15 2024 dnsmasq-dhcp[1]: DHCPOFFER(br-lan)  <my_mac_address>
Wed May 15 16:01:15 2024 dnsmasq-dhcp[1]: DHCPDISCOVER(br-lan)  <my_mac_address>
Wed May 15 16:01:15 2024 dnsmasq-dhcp[1]: DHCPOFFER(br-lan)  <my_mac_address>
Wed May 15 16:01:15 2024 dnsmasq-dhcp[1]: DHCPREQUEST(br-lan)  <my_mac_address>
Wed May 15 16:01:15 2024 dnsmasq-dhcp[1]: DHCPACK(br-lan)  <my_mac_address> Tankanickel
Wed May 15 16:01:15 2024 dnsmasq-dhcp[1]: DHCPDECLINE(br-lan) <my_mac_address>

I also checked, if some IPs were distributed twice or something like that. That was not the case.

No issue on my side, I have a pair of windows clients connected without issues (apart from the needs of the settling of multi to unicast on all adapters, but that's true regardless of the STA os).
Can it be related to a recent patching of the OS (wifi driverr??) on your devices?

One device is in an MDM, so no updates there. The windows 10 client has some Win updates in the queue, but they are not installed yet. My main win machine is cut off from updates.
Fun part: if I set the static ip of the adapter to be the previously ACKed and declined one, I'm able to access everything. It's rather strange to see the IP getting ACKed and the declined right afterwards :confused:

Edit: Got the source of the problem. I added a repeater some time ago for a few devices on a different floor and that one seems to be duplicating packages, hence the issues. After removing it for a moment to test it out, the windows clients worked perfectly fine.

For others trying to build too.

I've made a build. But it didn't work. I realized that the fan patches are for 6.1 only and are not applied during build. I moved the two kernel patches to 6.6 dir but no luck on this easy try. I'll integrate them manually now.

EDIT: To make it easier for others to comment on this topic here the patchfile for 6.6 regarding fan:

Just put it into the pending-6.6 dir and name it 981-blahblahblah.patch


I've updated today to the latest snapshot and wifi is dead after flash. Last working builds I did were from 09.05. Don't have an exact number because I've deleted them already (as the build was succesfull xD).

[18/05/2024 13:47:06] ath11k c000000.wifi: ipq8074 hw2.0
[18/05/2024 13:47:06] ath11k c000000.wifi: FW memory mode: 0
[18/05/2024 13:47:06] remoteproc remoteproc0: powering up cd00000.q6v5_wcss
[18/05/2024 13:47:06] remoteproc remoteproc0: Booting fw image IPQ8074/q6_fw.mdt, size 668
[18/05/2024 13:47:07] remoteproc remoteproc0: remote processor cd00000.q6v5_wcss is now up
[18/05/2024 13:47:07] ath11k c000000.wifi: qmi ignore invalid mem req type 3
[18/05/2024 13:47:07] ath11k c000000.wifi: chip_id 0x0 chip_family 0x0 board_id 0xff soc_id 0xffffffff
[18/05/2024 13:47:07] ath11k c000000.wifi: fw_version 0x290604a5 fw_build_timestamp 2023-10-12 02:06 fw_build_id WLAN.HK.
[18/05/2024 13:47:17] ath11k c000000.wifi: failed to fetch board data for bus=ahb,qmi-chip-id=0,qmi-board-id=255,variant=Zyxel-NBG7815 from ath11k/IPQ8074/hw2.0/board-2.bin
[18/05/2024 13:47:17] ath11k c000000.wifi: failed to fetch board data for bus=ahb,qmi-chip-id=0,qmi-board-id=255 from ath11k/IPQ8074/hw2.0/board-2.bin
[18/05/2024 13:47:17] ath11k c000000.wifi: failed to fetch board data for bus=ahb,qmi-chip-id=0,qmi-board-id=255 from ath11k/IPQ8074/hw2.0/board-2.bin
[18/05/2024 13:47:17] ath11k c000000.wifi: failed to fetch board.bin from IPQ8074/hw2.0
[18/05/2024 13:47:17] ath11k c000000.wifi: qmi failed to fetch board file: -12
[18/05/2024 13:47:17] ath11k c000000.wifi: failed to load board data file: -12
[18/05/2024 13:48:09] ath11k c000000.wifi: Coldboot Calibration timed out

The directory is empty and nothing is extracted at all.

Anyone the same and/or a hint which commit causing this?

Same problem for me.

1 Like

i'm building right now...i'll report in some hours

update: wifi not working also for me

1 Like

I'm trying add memory from dev/mmcblk0p11 for install extra packages (docker).
I'm using your built:
But still have error in log:
Sat May 18 12:26:51 2024 kernel: [ 16.972208] block: attempting to load /etc/config/fstab
Sat May 18 12:26:51 2024 user.err kernel: [ 16.973033] block: unable to load configuration (fstab: Entry not found)
Sat May 18 12:26:51 2024 user.err kernel: [ 16.976253] block: no usable configuration

I go through extroot configuration with extroot
but have different free space for / as /overlay and no additional memory added from dev/mmcblk0p11'
What else to do?

  1. According to extroot configuration:

Note that OpenWrt is known to ignore the fstab configuration on devices without overlay partition in /proc/mtd . You can work around the issue by using / for the mount point on ROMs without overlay partition at all.

How exactly can I mount extra memory without an ovearlay partition?

I've tried to extract caldata manually. The script does not come up with the data.
After looking through the commits I've found this one:


While I don't compile with gcc 14 yet I could imagine that this is causing the issue here. I'll revert it and try again.

EDIT: It's not. Does not change the outcome.
EDIT2: No luck for a fast find. :frowning: Will revert to a earlier date.

1 Like

Page ZyXEL NBG7815 (Armor G5) points to shapshot.
Maybe it's better to use it?

I have a build based on the 9bdaeba commit that works correctly

Could it be that the problem is not with the code but with the download of board2.bin when the firmware is compiled

It seems that there are more devices affected.

1 Like

Hmm. The board-2.bin file was the first I've checked in download directory. Sometimes things fail to download. But I think compile would have failed if the dl would not have been there. Maybe extraction error?

1 Like

It seems that the recent APK commits somehow are breaking ipq-wifi as BDF-s dont get included with them, however as soon as I revert back to the last commit before them (The Tegra U-Boot one) and then it works again.

So its a matter of bisecting what exactly is breaking it