5Ghz network disabled after boot

Hi,
I need your advise and help.
I am using Openwrt 21.02.3 on Netgear r6800. After each restart, 5GHz network won't start. If I manually restart it from Luci, it gets enabled.
Below is the system log I believe is related to this event and the network setup. I hope someone can help.
Thank you

Regards

Wed Jun 22 20:04:38 2022 daemon.notice hostapd: wlan1: ACS-COMPLETED freq=5500 channel=100
Wed Jun 22 20:04:38 2022 daemon.notice hostapd: wlan1: interface state ACS->HT_SCAN
Wed Jun 22 20:04:39 2022 daemon.err hostapd: nl80211: kernel reports: (extension) channel is disabled
Wed Jun 22 20:04:39 2022 daemon.err hostapd: Could not set channel for kernel driver
Wed Jun 22 20:04:39 2022 daemon.err hostapd: Interface initialization failed
Wed Jun 22 20:04:39 2022 daemon.notice hostapd: wlan1: interface state HT_SCAN->DISABLED
Wed Jun 22 20:04:39 2022 daemon.notice hostapd: wlan1: AP-DISABLED
config wifi-device 'radio1'
	option type 'mac80211'
	option hwmode '11a'
	option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0'
	option cell_density '0'
	option txpower '20'
	option htmode 'VHT160'
	option country 'PA'
	option channel 'auto'

config wifi-iface 'default_radio1'
	option device 'radio1'
	option network 'lan'
	option mode 'ap'
	option key 'xxxxxxxxxx'
	option ieee80211r '1'
	option ft_over_ds '1'
	option ft_psk_generate_local '1'
	option ssid 'IK5'
	option encryption 'psk2+ccmp'
	option disassoc_low_ack '0'

Try setting option channels '36 100' (note the 's') and remove option channel auto. Those are the only two 160 MHz blocks. I don't know if DFS is in effect in Panama but if it is, there will normally be at least a 1 minute delay for the radio to start.

What does the log look like after a successful manual start?

1 Like

Tanks @mk24,
I've tried 36 and 100 channel, but the same issue appeared. To be frank the whole issue/question (as I can always go back to 80 MHz) started with me playing with the 160 Mhz here: https://forum.openwrt.org/t/mt7615e-160mhz-available-or-not/127197/8
Here is the log after the manual start ( It doesn't start after 1 week as well).
Thanks for your advises.
Regards
K

Wed Jun 22 22:09:44 2022 daemon.notice hostapd: wlan1: interface state HT_SCAN->DISABLED
Wed Jun 22 22:09:44 2022 daemon.notice hostapd: wlan1: AP-DISABLED

and after restart of wlan1

Wed Jun 22 22:13:43 2022 daemon.notice hostapd: Remove interface 'wlan1'
Wed Jun 22 22:13:43 2022 daemon.notice hostapd: wlan1: interface state DISABLED->DISABLED
Wed Jun 22 22:13:43 2022 daemon.notice hostapd: wlan1: AP-DISABLED
Wed Jun 22 22:13:43 2022 daemon.notice hostapd: wlan1: CTRL-EVENT-TERMINATING
Wed Jun 22 22:13:43 2022 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan1 wasn't started
Wed Jun 22 22:13:43 2022 daemon.notice hostapd: nl80211: deinit ifname=wlan1 disabled_11b_rates=0
Wed Jun 22 22:13:44 2022 kern.info kernel: [  288.674982] device wlan1 left promiscuous mode
Wed Jun 22 22:13:44 2022 kern.info kernel: [  288.684250] br-lan: port 5(wlan1) entered disabled state
Wed Jun 22 22:13:44 2022 daemon.notice netifd: Wireless device 'radio1' is now down
Wed Jun 22 22:13:46 2022 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy1.conf (phy wlan1) --> new PHY
Wed Jun 22 22:13:46 2022 kern.info kernel: [  290.835865] br-lan: port 5(wlan1) entered blocking state
Wed Jun 22 22:13:46 2022 kern.info kernel: [  290.846539] br-lan: port 5(wlan1) entered disabled state
Wed Jun 22 22:13:46 2022 kern.info kernel: [  290.857884] device wlan1 entered promiscuous mode
Wed Jun 22 22:13:46 2022 daemon.notice hostapd: wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
Wed Jun 22 22:13:46 2022 daemon.notice hostapd: ACS: Automatic channel selection started, this may take a bit
Wed Jun 22 22:13:46 2022 daemon.notice hostapd: wlan1: interface state COUNTRY_UPDATE->ACS
Wed Jun 22 22:13:46 2022 daemon.notice hostapd: wlan1: ACS-STARTED
Wed Jun 22 22:13:47 2022 daemon.notice netifd: Wireless device 'radio1' is now up
Wed Jun 22 22:14:04 2022 daemon.notice hostapd: wlan1: ACS-COMPLETED freq=5500 channel=100
Wed Jun 22 22:14:04 2022 daemon.notice hostapd: wlan1: interface state ACS->HT_SCAN
Wed Jun 22 22:14:06 2022 kern.info kernel: [  311.024476] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
Wed Jun 22 22:14:06 2022 kern.info kernel: [  311.037513] br-lan: port 5(wlan1) entered blocking state
Wed Jun 22 22:14:06 2022 kern.info kernel: [  311.048162] br-lan: port 5(wlan1) entered forwarding state
Wed Jun 22 22:14:06 2022 daemon.notice netifd: Network device 'wlan1' link is up
Wed Jun 22 22:14:06 2022 daemon.notice hostapd: wlan1: interface state HT_SCAN->ENABLED
Wed Jun 22 22:14:06 2022 daemon.notice hostapd: wlan1: AP-ENABLED

Btw: after manual start the router always sets 100 channel. I have neighborhood networks in the lower range 36-44. Probably that's the case, but also that's the reason of me setting up the channel to "auto"
PS :slight_smile: after the initial boot, luci is reporting that the wlan1 is enabled, but the clients can not see the network.