WIFI ssid not broadcast for 2.4 GHz channel on GL-B1300

Hi there!

I have a strange problem on my GL.iNet-B1300 ever since using it with OpenWRT (flashed OpenWRT directly when using the device for the first time). While my 5 GHz channel nicely broadcasts an ssid the 2.4 does this only briefly and then stops "forever" (i.e. until deleting the wireless config and restart from scratch or a reboot might help as well). Nothing is shown in LuCI - I see all my ssids there for both channels but can connect only to the 5 GHz ones (as I even don't see the 2.4 GHz ones on my mobile, nothing is broadcast).
Has anybody observed a similar issue? Any ideas what might be the reason? Or, the other way round, can you please provide me with a working wireless config?

This is part of my /etc/config/wireless

config wifi-device 'radio0'
	option type 'mac80211'
	option path 'platform/soc/a000000.wifi'
	option channel '1'
	option band '2g'
	option htmode 'HT20'
	option cell_density '0'

config wifi-device 'radio1'
	option type 'mac80211'
	option path 'platform/soc/a800000.wifi'
	option channel '36'
	option band '5g'
	option htmode 'VHT80'
	option cell_density '0'

config wifi-iface 'wifinet7'
	option device 'radio0'
	option mode 'ap'
	option ssid 'glinet'
	option encryption 'psk2'
	option ieee80211r '1'
	option ft_over_ds '0'
	option ft_psk_generate_local '1'
	option key 'xxx'
	option network 'iot'
	option wds '1'

I'm currently on 25.05.3 but tried v22 and - if I remember correctly - even down to v19 - always the same issue.

Thanks in advance
KR

Was 2.4GHz working on stock firmware, is there anything in the kernel log or system log?

Hi!
Thanks for your reply. I flashed an original firmware and that still broadcasts after approx. 20 hours. I've set up only one SSID thought, but it should prove that in principle the wifi is working.

KR

1 Like

Okay so we have a baseline that proves hardware.
Which version of Openwrt were you using before you flashed stock

As mentioned in my initial post, everything down to v19. Currently I reflashed 23.05.3 and restored my old config WITHOUT /etc/config/wireless and reconfigured my ssid from scratch. No special settings, only as an access point, wpa2-psk/wpa3 sae-mixed and 802.11r Fast Transition.
Added a "test" ssid to see whether it still broadcasts and that I can be sure to be connected to that given access point.
I think I read somewhere on reddit that there are some issues with wifi country settings/channel selection as the default wifi driver has some country settings hardcoded (if I got it correctly) - that's why initially I was asking for a working /etc/config/wireless to give that a try (I have the impression that playing around with country settings/channel selection/legacy y/n,... made loss of the ssid worse).

For now I'll wait until I loose the ssid broadcasting again and then... well, don't know, come back here :-)!

Thanks

Two years ago, a new uboot was released for the b1300, s1300 and b2200.

Which uboot are you using?

Good question! How to check? That's the only information II got so far:

root@GL-B1300:~# strings /dev/mtd5
baudrate=115200
bootcmd=bootipq; ping 192.168.1.2; run lfq; bootipq; run httpd; reset
bootdelay=2
bootstopkey=gl
ipaddr=192.168.1.1
serverip=192.168.1.2

KR

I'd update it regardless :slightly_smiling_face:
Reading the GL.iNet forums, and they expect uboot to be updated on older devices.

I noted this said 7 - did you omit other SSID configs from your post?

1 Like

I omitted the other ssids from my post. Currently I have wifinet2 to wifinet 8.

After several days running issues with wifi are starting again... currently I still see the 2.4 GHz ssid and most of the time can connect, but I got strange errors on my wireless device when connecting ranging from "wrong wifi password" (that I didn't change) to a simple "connection to "test" (that's the wifi I created for testing purpose) failed.

This is the log file from that time period - not very helpful for my understanding:

Wed May 29 21:29:04 2024 daemon.notice hostapd: phy1-ap0: AP-STA-DISCONNECTED e5:4f:e4:af:77:e4
Wed May 29 21:29:05 2024 daemon.info hostapd: phy1-ap0: STA e5:4f:e4:af:77:e4 IEEE 802.11: disassociated
Wed May 29 21:29:05 2024 kern.info kernel: [300002.322287] ath10k_ahb a800000.wifi: mac flush vdev 0 drop 0 queues 0x1 ar->paused: 0x0  arvif->paused: 0x0
Wed May 29 21:29:06 2024 daemon.info hostapd: phy1-ap0: STA e5:4f:e4:af:77:e4 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Wed May 29 21:29:18 2024 daemon.warn odhcpd[1342]: No default route present, overriding ra_lifetime!
Wed May 29 21:29:31 2024 daemon.warn odhcpd[1342]: No default route present, overriding ra_lifetime!
Wed May 29 21:29:50 2024 daemon.err nmbd[3340]: [2024/05/29 21:29:50.252378,  0] ../../source3/nmbd/nmbd_namequery.c:109(query_name_response)
Wed May 29 21:29:50 2024 daemon.err nmbd[3340]:   query_name_response: Multiple (2) responses received for a query on subnet 192.168.1.11 for name WORKGROUP<1d>.
Wed May 29 21:29:50 2024 daemon.err nmbd[3340]:   This response was from IP 192.168.1.2, reporting an IP address of 192.168.1.2.
Wed May 29 21:30:14 2024 daemon.info hostapd: phy1-ap0: STA e5:4f:e4:af:77:e4 IEEE 802.11: associated (aid 1)
Wed May 29 21:30:14 2024 daemon.notice hostapd: phy1-ap0: AP-STA-CONNECTED e5:4f:e4:af:77:e4 auth_alg=sae
Wed May 29 21:30:14 2024 daemon.info hostapd: phy1-ap0: STA e5:4f:e4:af:77:e4 WPA: pairwise key handshake completed (RSN)
Wed May 29 21:30:14 2024 daemon.notice hostapd: phy1-ap0: EAPOL-4WAY-HS-COMPLETED e5:4f:e4:af:77:e4
Wed May 29 21:32:46 2024 daemon.warn odhcpd[1342]: No default route present, overriding ra_lifetime!
Wed May 29 21:33:55 2024 daemon.notice hostapd: phy1-ap0: AP-STA-DISCONNECTED e5:4f:e4:af:77:e4
Wed May 29 21:33:55 2024 daemon.info hostapd: phy1-ap0: STA e5:4f:e4:af:77:e4 IEEE 802.11: disassociated
Wed May 29 21:33:55 2024 kern.info kernel: [300292.737784] ath10k_ahb a800000.wifi: mac flush vdev 0 drop 0 queues 0x1 ar->paused: 0x0  arvif->paused: 0x0
Wed May 29 21:33:55 2024 daemon.info hostapd: phy0-ap4: STA 2e:71:6b:d3:2f:77 IEEE 802.11: associated (aid 1)
Wed May 29 21:33:55 2024 daemon.notice hostapd: phy0-ap4: AP-STA-CONNECTED 2e:71:6b:d3:2f:77 auth_alg=sae
Wed May 29 21:33:55 2024 daemon.info hostapd: phy0-ap4: STA 2e:71:6b:d3:2f:77 WPA: pairwise key handshake completed (RSN)
Wed May 29 21:33:55 2024 daemon.notice hostapd: phy0-ap4: EAPOL-4WAY-HS-COMPLETED 2e:71:6b:d3:2f:77
Wed May 29 21:33:55 2024 daemon.warn odhcpd[1342]: No default route present, overriding ra_lifetime!
Wed May 29 21:33:56 2024 daemon.info hostapd: phy1-ap0: STA e5:4f:e4:af:77:e4 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Wed May 29 21:34:26 2024 daemon.notice hostapd: phy0-ap4: AP-STA-DISCONNECTED 2e:71:6b:d3:2f:77
Wed May 29 21:34:26 2024 daemon.info hostapd: phy0-ap4: STA 2e:71:6b:d3:2f:77 IEEE 802.11: disassociated
Wed May 29 21:34:26 2024 kern.info kernel: [300324.197302] ath10k_ahb a000000.wifi: mac flush vdev 4 drop 0 queues 0x10 ar->paused: 0x0  arvif->paused: 0x0
Wed May 29 21:34:27 2024 daemon.info hostapd: phy1-ap0: STA e5:4f:e4:af:77:e4 IEEE 802.11: associated (aid 1)
Wed May 29 21:34:27 2024 daemon.notice hostapd: phy1-ap0: AP-STA-CONNECTED e5:4f:e4:af:77:e4 auth_alg=sae
Wed May 29 21:34:27 2024 daemon.info hostapd: phy1-ap0: STA e5:4f:e4:af:77:e4 WPA: pairwise key handshake completed (RSN)
Wed May 29 21:34:27 2024 daemon.notice hostapd: phy1-ap0: EAPOL-4WAY-HS-COMPLETED e5:4f:e4:af:77:e4
Wed May 29 21:34:27 2024 daemon.warn odhcpd[1342]: No default route present, overriding ra_lifetime!
Wed May 29 21:34:27 2024 daemon.info hostapd: phy0-ap4: STA 2e:71:6b:d3:2f:77 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Wed May 29 21:34:52 2024 daemon.err nmbd[3340]: [2024/05/29 21:34:52.571594,  0] ../../source3/nmbd/nmbd_namequery.c:109(query_name_response)
Wed May 29 21:34:52 2024 daemon.err nmbd[3340]:   query_name_response: Multiple (2) responses received for a query on subnet 192.168.1.11 for name WORKGROUP<1d>.
Wed May 29 21:34:52 2024 daemon.err nmbd[3340]:   This response was from IP 192.168.1.2, reporting an IP address of 192.168.1.2.
Wed May 29 21:36:07 2024 daemon.notice hostapd: phy0-ap4: STA 2e:71:6b:d3:2f:77 IEEE 802.11: did not acknowledge authentication response
Wed May 29 21:36:07 2024 daemon.info hostapd: phy0-ap4: STA 2e:71:6b:d3:2f:77 IEEE 802.11: associated (aid 1)
Wed May 29 21:36:11 2024 kern.info kernel: [300428.735655] ath10k_ahb a000000.wifi: mac flush vdev 4 drop 0 queues 0x10 ar->paused: 0x0  arvif->paused: 0x0
Wed May 29 21:36:16 2024 daemon.info hostapd: phy0-ap4: STA 2e:71:6b:d3:2f:77 IEEE 802.11: deauthenticated due to local deauth request
Wed May 29 21:36:55 2024 daemon.info hostapd: phy0-ap0: STA e5:4f:e4:af:77:e4 IEEE 802.11: associated (aid 1)
Wed May 29 21:36:55 2024 daemon.notice hostapd: phy1-ap0: Prune association for e5:4f:e4:af:77:e4
Wed May 29 21:36:55 2024 daemon.notice hostapd: phy1-ap0: AP-STA-DISCONNECTED e5:4f:e4:af:77:e4
Wed May 29 21:36:55 2024 daemon.notice hostapd: phy0-ap0: AP-STA-CONNECTED e5:4f:e4:af:77:e4 auth_alg=sae
Wed May 29 21:36:55 2024 daemon.info hostapd: phy0-ap0: STA e5:4f:e4:af:77:e4 WPA: pairwise key handshake completed (RSN)
Wed May 29 21:36:55 2024 daemon.notice hostapd: phy0-ap0: EAPOL-4WAY-HS-COMPLETED e5:4f:e4:af:77:e4
Wed May 29 21:36:57 2024 kern.info kernel: [300474.654954] ath10k_ahb a800000.wifi: mac flush vdev 0 drop 0 queues 0x1 ar->paused: 0x0  arvif->paused: 0x0
Wed May 29 21:37:25 2024 daemon.info hostapd: phy1-ap0: STA e5:4f:e4:af:77:e4 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Wed May 29 21:38:59 2024 daemon.err hostapd: nl80211: kernel reports: key addition failed
Wed May 29 21:38:59 2024 daemon.info hostapd: phy1-ap0: STA e5:4f:e4:af:77:e4 IEEE 802.11: associated (aid 1)
Wed May 29 21:38:59 2024 daemon.notice hostapd: phy1-ap0: AP-STA-CONNECTED e5:4f:e4:af:77:e4 auth_alg=ft
Wed May 29 21:38:59 2024 daemon.notice hostapd: phy0-ap0: Prune association for e5:4f:e4:af:77:e4
Wed May 29 21:38:59 2024 daemon.notice hostapd: phy0-ap0: AP-STA-DISCONNECTED e5:4f:e4:af:77:e4
Wed May 29 21:39:01 2024 kern.info kernel: [300598.343042] ath10k_ahb a000000.wifi: mac flush vdev 0 drop 0 queues 0x1 ar->paused: 0x0  arvif->paused: 0x0

I'll continue with testing
KR

Hi again.

If anyone else faces these issues with OpenWrt 21+ on GL.iNet-B1300 running multiple SSIDs on both, 2 GHz and 5 GHz, here is what currently looks promising:
remove the default ath10k-firmware-qca4019-ct (dated back to 2020-11-08) and install the ath10k-firmware-qca4019 (non ct version) dated 2023-08-04. Since switching to that firmware I got stable connectivity w/o loss of the 2.4 GHz SSID without any other (config) changes for currently 9 days (previously when using the ct version the 2.4 GHz SSID stopped being broadcast after est. latest 3 days).

I intend to update this thread in a few weeks.

@hecatae: I did not manage to update uboot :-(.

kr

update 2024-09-27: still working. i propose to replace the ct driver with the non-ct version in the default firmware.