Missing 2.4GHz interface on WAC104 & difficulty setting up forwarding

This is my first time attempting to use OpenWRT.

I am using OpenWRT 21.02.0 as described here: https://openwrt.org/toh/netgear/wac104

Installation via the netgear web interface was fine, as was initial login. The problem appeared when I tried to set up the wifi interfaces.

The 5 GHz interface set up OK, but the 2.4 GHz interface produced an error that is something like "TypeError: chan.options[0] is undefined". This may not be exactly correct, as I do not have the error in front of me.

I could not figure out the source of the error, so I performed a soft reset via ssh using "firstboot && reboot now".

Unfortunately, the 2.4 Ghz interface disappeared from the web interface after the system rebooted. Now, the 5 GHz interface appears as radio0.

I also tried a hard reset by pushing a pin into the hole on the router. Same result.

How do I get the 2.4 GHz interface back?

Also, it is not clear how one can set the device to forward internet access from the modem (attached to one of the wired ports) to the wireless interface. There are four wired ports marked "LAN" but no "WAN" port.

Test with snapshot

Thanks, but I think that I'm going to quit while I'm behind.

I'm not looking for a new project; I just want a router that performs the basic function of connecting a wireless network to a WAN. I thought that doing this sort of simple configuration with openWRT would be a one-hour project, but if the only troubleshooting path is to go from the stable branch to the unstable branch and hope, I'm going to end up spending days troubleshooting and submitting bug reports.

Unfortunately, I can't divide my time to support another project at the moment.

I got a couple of the WAC104. The first one worked just fine and both wifi 2.4 and 5 GHz worked flawlessly. But the second I faced a similar issue in this thread. Basically what I did on the second one after opening it from the box was I checked some of Netgear Web GUI pages, took some screenshots before flashing, then I uploaded the openwrt image (openwrt-21.02.3-ramips-mt7621-netgear_wac104-squashfs-factory.img) to the Netgear Web GUI, it installed and booted up successfully, I logged into luci and just saw the 5GHz wifi appearing only, the 2.4GHz did not show up. Finally I looked into the kernel logs and compared it with the working one, and found a difference, the first showed that it detected the 2.4GHz PCIE device correctly:

[    2.490164] DSA: tree 0 setup
[    2.496441] rt2880-pinmux pinctrl: pcie is already enabled
[    2.507534] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    2.522472] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    2.637030] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    2.648149] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    2.758986] mt7621-pci 1e140000.pcie: pcie1 no card, disable it (RST & CLK)
[    2.772862] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    2.782579] mt7621-pci 1e140000.pcie: PCIE2 enabled
[    2.792313] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    2.811033] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    2.823715] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    2.837422] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    2.851124] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.862098] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    2.874100] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.886594] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    2.899162] pci 0000:00:00.0: supports D1
[    2.907155] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    2.919027] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    2.931042] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.943538] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    2.956116] pci 0000:00:01.0: supports D1
[    2.964106] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    2.977017] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.992974] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.009151] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[    3.021183] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    3.034749] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    3.048210] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    3.061799] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    3.072230] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    3.084377] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    3.097906] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    3.112316] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    3.125715] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000
[    3.137739] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    3.150369] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    3.163957] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    3.174388] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    3.186536] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff]
[    3.200085] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    3.214484] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    3.227720] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    3.240905] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    3.254780] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    3.267962] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    3.281842] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    3.295373] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    3.309771] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    3.323308] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref]
[    3.337706] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
[    3.351241] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
[    3.364777] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    3.378307] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    3.391848] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    3.406430] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[    3.420833] pci 0000:00:00.0: PCI bridge to [bus 01]
[    3.430728] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    3.444261] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    3.457788] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    3.472192] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff]
[    3.485722] pci 0000:00:01.0: PCI bridge to [bus 02]
[    3.495617] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    3.509149] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    3.522683] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff pref]

But the second one showed that it did not detect the PCIE2 device (which is supposedly the 2.4GHz):

[    2.490203] DSA: tree 0 setup
[    2.496480] rt2880-pinmux pinctrl: pcie is already enabled
[    2.507572] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    2.522505] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    2.637063] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    2.648182] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    2.759018] mt7621-pci 1e140000.pcie: pcie1 no card, disable it (RST & CLK)
[    2.772891] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    2.786764] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    2.796497] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    2.815215] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    2.827899] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    2.841604] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    2.855307] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.866280] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    2.878284] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.890780] pci 0000:00:00.0: reg 0x14: [mem 0x60200000-0x6020ffff]
[    2.903349] pci 0000:00:00.0: supports D1
[    2.911340] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    2.924559] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[    2.936598] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    2.950163] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    2.963619] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    2.977252] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    2.987678] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    2.999823] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    3.013362] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    3.027759] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    3.040982] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    3.054163] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    3.068045] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    3.081596] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    3.095991] pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
[    3.109529] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    3.123076] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    3.137658] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[    3.152076] pci 0000:00:00.0: PCI bridge to [bus 01]
[    3.161973] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    3.175502] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    3.189034] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]

Finally I checked the screenshots of the Netgear Web GUI pages that I took and saw that the 2.4GHz was working and enabled in the status page before flashing.

After I made my post, I turned off the non-working netgear by just pushing on-off button on the back of it, though I left it connected to the 12V power. I thought I'd turn back on right now to see if anything changes and indeed something changed, but really no clue what could have caused it to work. Right now the 2.4GHz PCIE2 is appearing detected and is showing up in luci! Below are the kernel logs:

[    2.504497] rt2880-pinmux pinctrl: pcie is already enabled
[    2.515586] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    2.530522] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    2.645057] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    2.656175] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    2.766997] mt7621-pci 1e140000.pcie: pcie1 no card, disable it (RST & CLK)
[    2.780874] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    2.790590] mt7621-pci 1e140000.pcie: PCIE2 enabled
[    2.800317] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    2.819024] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    2.831706] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    2.845406] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    2.859103] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.870083] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    2.882081] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.894573] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    2.907132] pci 0000:00:00.0: supports D1
[    2.915121] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    2.926984] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    2.938991] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.951484] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    2.964038] pci 0000:00:01.0: supports D1
[    2.972038] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    2.984911] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.000872] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.017043] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[    3.029072] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    3.042634] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    3.056089] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    3.069665] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    3.080101] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    3.092244] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    3.105769] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    3.120166] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    3.133569] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000
[    3.145587] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    3.158214] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    3.171827] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    3.182256] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    3.194398] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff]
[    3.207926] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    3.222319] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    3.235550] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    3.248732] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    3.262605] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    3.275786] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    3.289665] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    3.303194] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    3.317590] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    3.331118] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref]
[    3.345512] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
[    3.359044] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
[    3.372578] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    3.386103] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    3.399661] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    3.414237] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[    3.428631] pci 0000:00:00.0: PCI bridge to [bus 01]
[    3.438525] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    3.452054] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    3.465579] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    3.479978] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff]
[    3.493506] pci 0000:00:01.0: PCI bridge to [bus 02]
[    3.503405] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    3.516934] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    3.530458] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff pref]

Really no clue what might have caused it to work. I took the wireless config file from the first netgear and placed it in the second netgear with some minor modifications to the channels, did /etc/init.d/network restart, both 2.4GHz and 5GHz seem to be working just fine now. Accidentally I restarted the second netgear, and then the issue happened again where PCIE2 is no longer detected. Did another and last reboot and then the PCIE2 got working again. Could it be a faulty hardware?

Should i be trying this, do you think it will help?

I am having the same issue. There has been a kernel change, and the PCIe assignments got messed up. I installed the latest snapshot version today and that has it fixed. Not sure when the change will be rolled into the release version.

This seems to be a known issue.