I've recently updated to the latest snapshot for OpenWrt and have encountered an issue with the Sercomm NA502. The 5GHz WiFi band is no longer functioning. In addition, both physical interfaces (phy's) are only showing 2.4GHz capabilities in the wireless section and in iw commands.
I've tried forcing the configuration to 5GHz bands, but it doesn't resolve the problem.
Rolling back to 22.03.7 restores device functionality.
Unable to test 23.05.0 to 23.05.2 due to LZMA kernel error which was fixed in 23.05.3
23.05.3, 23.05.4 and snapshot confirmed missing 5ghz.
For more details, I've attached device logs: na502-logs
If anyone has any suggestions, would love to hear/try them.
oops, that's the auto generated config after a fresh install. (2g)
updated the logs with 5g settings, which produces the same result.
logread:
Sat Sep 14 20:19:45 2024 daemon.notice hostapd: Set new config for phy phy1:
Sat Sep 14 20:19:45 2024 daemon.notice wpa_supplicant[1486]: Set new config for phy phy1
Sat Sep 14 20:19:45 2024 daemon.notice netifd: Wireless device 'radio1' is now down
Sat Sep 14 20:19:45 2024 daemon.notice netifd: radio1 (6544): WARNING: Variable 'data' does not exist or is not an array/object
Sat Sep 14 20:19:45 2024 daemon.notice hostapd: Set new config for phy phy1:
Sat Sep 14 20:19:45 2024 daemon.notice wpa_supplicant[1486]: Set new config for phy phy1
Sat Sep 14 20:19:46 2024 daemon.notice wpa_supplicant[1486]: Set new config for phy phy1
Sat Sep 14 20:19:46 2024 daemon.notice hostapd: Set new config for phy phy1: /var/run/hostapd-phy1.conf
Sat Sep 14 20:19:46 2024 daemon.notice hostapd: Restart interface for phy phy1
Sat Sep 14 20:19:46 2024 daemon.notice hostapd: Configuration file: data: driver=nl80211 logger_syslog=127 logger_syslog_level=2 logger_stdout=127 logger_stdout_level=2 hw_mode=a beacon_int=100 chanlist=36 tx_queue_data2_burst=2.0 #num_global_macaddr=1 ieee80211n=1 ht_coex=0 ht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1] ieee80211ac=1 vht_oper_chwidth=1 vht_oper_centr_freq_seg0_idx=42 vht_capab=[MAX-A-MPDU-LEN-EXP0] channel=36 interface=phy1-ap0 bssid=e0:60:66:1a:09:42 ctrl_interface=/var/run/hostapd bss_load_update_period=60 chan_util_avg_period=600 disassoc_low_ack=1 skip_inactivity_poll=0 preamble=1 wmm_enabled=1 ignore_broadcast_ssid=0 uapsd_advertisement_enabled=1 utf8_ssid=1 multi_ap=0 auth_algs=1 wpa=0 ssid=OpenWrt5ghz qos_map_set=0,0,2,16,1,1,255,255,18,22,24,38,40,40,44,46,48,56 #default_macaddr nas_identifier=e060661a0942 (phy phy1) --> new PHY
Sat Sep 14 20:19:46 2024 daemon.notice hostapd: Could not determine operating frequency
Sat Sep 14 20:19:46 2024 daemon.notice hostapd: phy1-ap0: interface state UNINITIALIZED->DISABLED
Sat Sep 14 20:19:46 2024 daemon.notice hostapd: phy1-ap0: AP-DISABLED
Sat Sep 14 20:19:46 2024 daemon.err hostapd: phy1-ap0: Unable to setup interface.
Sat Sep 14 20:19:46 2024 daemon.notice hostapd: nl80211: deinit ifname=phy1-ap0 disabled_11b_rates=0
Sat Sep 14 20:19:46 2024 daemon.err hostapd: rmdir[ctrl_interface=/var/run/hostapd]: Permission denied
Sat Sep 14 20:19:46 2024 daemon.notice hostapd: phy1-ap0: CTRL-EVENT-TERMINATING
Sat Sep 14 20:19:46 2024 daemon.err hostapd: hostapd_free_hapd_data: Interface phy1-ap0 wasn't started
Sat Sep 14 20:19:46 2024 daemon.notice hostapd: hostapd.add_iface failed for phy phy1 ifname=phy1-ap0
Sat Sep 14 20:19:46 2024 daemon.notice netifd: Wireless device 'radio1' is now up
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
I'm currently debugging the unit, which is why WAN is configured to accept all traffic (as the unit is functioning as an AP downstream from another router). I also have UART connected, and there’s nothing unusual in U-Boot.
After extensive testing and experimenting with various configurations (which is why the current config is modified), I've determined that the issue is that phy1 is not detected as 5GHz capable, as mentioned in my original post. Phy0, which operates at 2.4GHz, works fine.
I uploaded the logs to Gist immediately after the installation, as noted in the first post.
I'm uncertain whether this problem is related to the kernel, the driver, or the WiFi firmware, which is why I'm seeking assistance here. I plan to compare the differences in kernel versions, WiFi drivers, etc., between 22.03.5 and the current setup.
Run wifi config to detect wireless then log out and log in to luci and check again. power limit + Panama is not "default"
You absolutely have to use real country code to get any connectivity.
I have a backup somewhere that's only a few weeks old, I'm just hoping to get this version working as I need a driver only available in it for installing the BE14 wifi card that I have sitting around and hope to install soon.
I'll report if it turns out to not be something I did stupid as most errors I encounter usually are. I didn't actually "flash" the image, I used the OWUT tool (same idea, I know).
No, I got rid of them in favor of ceiling-mounted APs. I desoldered the Z-Wave module and attached it to an ESP32. I've kept some spare devices, but I have no use for them.