#1062120 ACS: Possibly channel configuration is invalid, please report this along with your config file.

Package:
hostapd
Source:
hostapd
Description:
access point and authentication server for Wi-Fi and Ethernet
Submitter:
Russell Coker
Date:
2024-01-31 12:39:04 UTC
Severity:
normal
Tags:
#1062120#5
Date:
2024-01-31 12:35:12 UTC
From:
To:
/usr/sbin/hostapd -d -P /run/hostapd.wifi.pid /etc/hostapd/wifi.conf

Below is the output of the above command which aborts and says that I should report it.

random: getrandom() support available
Configuration file: /etc/hostapd/wifi.conf
ctrl_interface_group=0
nl80211: TDLS supported
nl80211: TDLS external setup
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Supported cipher 00-0f-ac:8
nl80211: Supported cipher 00-0f-ac:9
nl80211: Supported cipher 00-0f-ac:6
nl80211: Supported cipher 00-0f-ac:11
nl80211: Supported cipher 00-0f-ac:12
nl80211: Using driver-based off-channel TX
nl80211: Driver-advertised extended capabilities (default) - hexdump(len=8): 04 00 00 00 00 00 00 40
nl80211: Driver-advertised extended capabilities mask (default) - hexdump(len=8): 04 00 00 00 00 00 00 40
nl80211: Driver-advertised extended capabilities for interface type STATION
nl80211: Extended capabilities - hexdump(len=8): 04 00 40 00 00 00 00 40
nl80211: Extended capabilities mask - hexdump(len=8): 04 00 40 00 00 00 00 40
nl80211: Use separate P2P group interface (driver advertised support)
nl80211: Enable multi-channel concurrent (driver advertised support)
nl80211: use P2P_DEVICE support
nl80211: key_mgmt=0x1ff0f enc=0x76f auth=0x7 flags=0x5800530fb5bfbe0 rrm_flags=0x19 probe_resp_offloads=0x0 max_stations=0 max_remain_on_chan=10000 max_scan_ssids=20
nl80211: interface wifi in phy phy0
nl80211: Set mode ifindex 6 iftype 3 (AP)
nl80211: Setup AP(wifi) - device_ap_sme=0 use_monitor=0
nl80211: Subscribe to mgmt frames with AP handle 0x56135648b620
nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0x56135648b620 match= multicast=0
nl80211: Register frame type=0x0 (WLAN_FC_STYPE_ASSOC_REQ) nl_handle=0x56135648b620 match= multicast=0
nl80211: Register frame type=0x20 (WLAN_FC_STYPE_REASSOC_REQ) nl_handle=0x56135648b620 match= multicast=0
nl80211: Register frame type=0xa0 (WLAN_FC_STYPE_DISASSOC) nl_handle=0x56135648b620 match= multicast=0
nl80211: Register frame type=0xc0 (WLAN_FC_STYPE_DEAUTH) nl_handle=0x56135648b620 match= multicast=0
nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ) nl_handle=0x56135648b620 match= multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x56135648b620 match=04 multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x56135648b620 match=0501 multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x56135648b620 match=0503 multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x56135648b620 match=0504 multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x56135648b620 match=06 multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x56135648b620 match=08 multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x56135648b620 match=09 multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x56135648b620 match=0a multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x56135648b620 match=11 multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x56135648b620 match=12 multicast=0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x56135648b620 match=7f multicast=0
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
nl80211: Add own interface ifindex 6 (ifidx_reason -1)
nl80211: if_indices[16]: 6(-1)
nl80211: Do not open EAPOL RX socket - using control port for RX
phy: phy0
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
wifi: interface state UNINITIALIZED->COUNTRY_UPDATE
Previous country code 00, new country code AU
Continue interface setup after channel list update
ctrl_iface not configured!
RTM_NEWLINK: ifi_index=6 ifname=wifi operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 113 (NL80211_CMD_WIPHY_REG_CHANGE) received for wifi
nl80211: Regulatory domain change
 * initiator=2
 * type=1
wifi: Event CHANNEL_LIST_CHANGED (27) received
Channel list update timeout - try to continue anyway
nl80211: No channel number found for frequency 5905 MHz
nl80211: Regulatory information - country=00
nl80211: 2402-2437 @ 40 MHz 22 mBm
nl80211: 2422-2462 @ 40 MHz 22 mBm
nl80211: 2447-2482 @ 40 MHz 22 mBm
nl80211: 5170-5190 @ 160 MHz 22 mBm (no outdoor) (no IR)
nl80211: 5190-5210 @ 160 MHz 22 mBm (no outdoor) (no IR)
nl80211: 5210-5230 @ 160 MHz 22 mBm (no outdoor) (no IR)
nl80211: 5230-5250 @ 160 MHz 22 mBm (no outdoor) (no IR)
nl80211: 5250-5270 @ 160 MHz 22 mBm (DFS) (no IR)
nl80211: 5270-5290 @ 160 MHz 22 mBm (DFS) (no IR)
nl80211: 5290-5310 @ 160 MHz 22 mBm (DFS) (no IR)
nl80211: 5310-5330 @ 160 MHz 22 mBm (DFS) (no IR)
nl80211: 5490-5510 @ 240 MHz 22 mBm (DFS) (no IR)
nl80211: 5510-5530 @ 240 MHz 22 mBm (DFS) (no IR)
nl80211: 5530-5550 @ 240 MHz 22 mBm (DFS) (no IR)
nl80211: 5550-5570 @ 240 MHz 22 mBm (DFS) (no IR)
nl80211: 5570-5590 @ 240 MHz 22 mBm (DFS) (no IR)
nl80211: 5590-5610 @ 240 MHz 22 mBm (DFS) (no IR)
nl80211: 5610-5630 @ 240 MHz 22 mBm (DFS) (no IR)
nl80211: 5630-5650 @ 240 MHz 22 mBm (DFS) (no IR)
nl80211: 5650-5670 @ 80 MHz 22 mBm (DFS) (no IR)
nl80211: 5670-5690 @ 80 MHz 22 mBm (DFS) (no IR)
nl80211: 5690-5710 @ 80 MHz 22 mBm (DFS) (no IR)
nl80211: 5710-5730 @ 80 MHz 22 mBm (DFS) (no IR)
nl80211: 5735-5755 @ 80 MHz 22 mBm (no IR)
nl80211: 5755-5775 @ 80 MHz 22 mBm (no IR)
nl80211: 5775-5795 @ 80 MHz 22 mBm (no IR)
nl80211: 5795-5815 @ 80 MHz 22 mBm (no IR)
nl80211: 5815-5835 @ 40 MHz 22 mBm (no IR)
nl80211: Added 802.11b mode based on 802.11g information
nl80211: Mode IEEE 802.11g: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 2484[DISABLED]
nl80211: Mode IEEE 802.11a: 5180[NO_IR] 5200[NO_IR] 5220[NO_IR] 5240[NO_IR] 5260[NO_IR][RADAR] 5280[NO_IR][RADAR] 5300[NO_IR][RADAR] 5320[NO_IR][RADAR] 5340[DISABLED] 5360[DISABLED] 5380[DISABLED] 5400[DISABLED] 5420[DISABLED]
nl80211: Mode IEEE 802.11a: 5955[DISABLED][NO_IR] 5975[DISABLED][NO_IR] 5995[DISABLED][NO_IR] 6015[DISABLED][NO_IR] 6035[DISABLED][NO_IR] 6055[DISABLED][NO_IR] 6075[DISABLED][NO_IR] 6095[DISABLED][NO_IR] 6115[DISABLED][NO_IR]
nl80211: Mode IEEE 802.11b: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 2484[DISABLED]
ACS: Automatic channel selection started, this may take a bit
ACS: Scanning 1 / 5
wifi: nl80211: scan request
nl80211: Passive scan requested
Scan requested (ret=0) - scan timeout 10 seconds
wifi: interface state COUNTRY_UPDATE->ACS
wifi: ACS-STARTED
Interface initialization will be completed in a callback (ACS)
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wifi
wifi: nl80211: Scan trigger
wifi: Event SCAN_STARTED (47) received
Unknown event 47
nl80211: Drv Event 113 (NL80211_CMD_WIPHY_REG_CHANGE) received for wifi
nl80211: Regulatory domain change
 * initiator=2
 * type=0
 * alpha2=AU
wifi: Event CHANNEL_LIST_CHANGED (27) received
RTM_NEWLINK: ifi_index=6 ifname=wifi wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wifi
wifi: nl80211: New scan results available
nl80211: Scan included frequencies: 5260 5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700 5720
wifi: Event SCAN_RESULTS (3) received
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
wifi: Event SURVEY (46) received
No survey data received
ACS: Scanning 2 / 5
wifi: nl80211: scan request
nl80211: Passive scan requested
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wifi
wifi: nl80211: Scan trigger
wifi: Event SCAN_STARTED (47) received
Unknown event 47
RTM_NEWLINK: ifi_index=6 ifname=wifi wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wifi
wifi: nl80211: New scan results available
nl80211: Scan included frequencies: 5260 5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700 5720
wifi: Event SCAN_RESULTS (3) received
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
wifi: Event SURVEY (46) received
No survey data received
ACS: Scanning 3 / 5
wifi: nl80211: scan request
nl80211: Passive scan requested
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wifi
wifi: nl80211: Scan trigger
wifi: Event SCAN_STARTED (47) received
Unknown event 47
RTM_NEWLINK: ifi_index=6 ifname=wifi wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wifi
wifi: nl80211: New scan results available
nl80211: Scan included frequencies: 5260 5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700 5720
wifi: Event SCAN_RESULTS (3) received
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
wifi: Event SURVEY (46) received
No survey data received
ACS: Scanning 4 / 5
wifi: nl80211: scan request
nl80211: Passive scan requested
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wifi
wifi: nl80211: Scan trigger
wifi: Event SCAN_STARTED (47) received
Unknown event 47
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wifi
wifi: nl80211: New scan results available
nl80211: Scan included frequencies: 5260 5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700 5720
wifi: Event SCAN_RESULTS (3) received
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
wifi: Event SURVEY (46) received
No survey data received
ACS: Scanning 5 / 5
wifi: nl80211: scan request
nl80211: Passive scan requested
Scan requested (ret=0) - scan timeout 30 seconds
RTM_NEWLINK: ifi_index=6 ifname=wifi wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wifi
wifi: nl80211: Scan trigger
wifi: Event SCAN_STARTED (47) received
Unknown event 47
RTM_NEWLINK: ifi_index=6 ifname=wifi wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wifi
wifi: nl80211: New scan results available
nl80211: Scan included frequencies: 5260 5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700 5720
wifi: Event SCAN_RESULTS (3) received
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
wifi: Event SURVEY (46) received
No survey data received
ACS: Trying survey-based ACS
ACS: Unable to collect survey data
ACS: All study options have failed
Interface initialization failed
wifi: interface state ACS->DISABLED
wifi: AP-DISABLED
ACS: Possibly channel configuration is invalid, please report this along with your config file.
ACS: Failed to start
wifi: AP-DISABLED
wifi: Deauthenticate all stations
nl80211: send_mlme - da=ff:ff:ff:ff:ff:ff noack=0 freq=0 no_cck=0 offchanok=0 wait_time=0 no_encrypt=0 fc=0xc0 (WLAN_FC_STYPE_DEAUTH) nlmode=3
nl80211: send_mlme - Use bss->freq=0
nl80211: send_mlme -> send_frame_cmd
nl80211: Frame command failed: ret=-22 (Invalid argument) (freq=0 wait=0)
hostapd_free_hapd_data: Interface wifi wasn't started
hostapd_deinit_driver: driver=0x561354850760 drv_priv=0x561356486480 -> hapd_deinit
nl80211: deinit ifname=wifi disabled_11b_rates=0
nl80211: Remove monitor interface: refcount=0
nl80211: Remove beacon (ifindex=6)
netlink: Operstate: ifindex=6 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
nl80211: Set mode ifindex 6 iftype 2 (STATION)
nl80211: Teardown AP(wifi) - device_ap_sme=0 use_monitor=0
nl80211: Unsubscribe mgmt frames handle 0x8888de9bdec03ea9 (AP teardown)
hostapd_deinit_driver:bss[0]->drv_priv=0x561356486480
hostapd_cleanup_iface_partial(0x561356480600)
Interface wifi disabled
wifi: interface state DISABLED->DISABLED
hostapd_interface_deinit_free(0x561356480600)
hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
hostapd_interface_deinit(0x561356480600)
wifi: interface state DISABLED->DISABLED
hostapd_bss_deinit: deinit bss wifi
wifi: AP-DISABLED
hostapd_cleanup(hapd=0x561356481da0 (wifi))
wifi: CTRL-EVENT-TERMINATING
hostapd_free_hapd_data: Interface wifi wasn't started
hostapd_interface_deinit_free: driver=0x561354850760 drv_priv=(nil) -> hapd_deinit
hostapd_interface_free(0x561356480600)
hostapd_interface_free: free hapd 0x561356481da0
hostapd_cleanup_iface(0x561356480600)
hostapd_cleanup_iface_partial(0x561356480600)
hostapd_cleanup_iface: free iface=0x561356480600