You are not logged in.

#1 2024-11-03 16:32:50

beroal
Member
From: Ukraine
Registered: 2009-06-07
Posts: 354
Website

A Wi-Fi AP doesn't work after upgrading hostapd

I set up my Wi-Fi USB dongle EDUP AC1200 2.4 GHz / 5 GHz (the Realtek RTL8812BU chipset inside, driver) as a Wi-Fi access point in the 5 GHz band.

After upgrading hostapd from version 2.10-4 to version 2.11-4 the AP stopped working. I see the AP in WiFiAnalyzer, but with a narrower channel (20 MHz instead of 80 MHz). The first smartphone see the AP, but can't connect. The second smartphone see the AP, says that it uses WEP (which isn't correct), and asks for a password. It shouldn't ask for a password because it remembers the password. I can't enter the password anyway probably because WEP restricts its length too much. When I switch to the old version of hostapd, all smartphones connect without asking for a password. I can make the new version of hostapd work in the 2.4 GHz band though.

I see that there are many new options in the configuration file of the new version of hostapd, so probably, I didn't update my hostapd configuration correctly. Below is the hostapd configuration without commented lines.

“/etc/hostapd/hostapd.conf”:

interface=wifiap
driver=nl80211
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
ctrl_interface=/run/hostapd
ctrl_interface_group=0
ssid={{{skipped}}}
country_code=UA
country3=0x49
ieee80211d=1
ieee80211h=1
hw_mode=a
channel=52
beacon_int=100
dtim_period=2
max_num_sta=255
rts_threshold=-1
fragm_threshold=-1
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wmm_enabled=1
wmm_ac_bk_cwmin=4
wmm_ac_bk_cwmax=10
wmm_ac_bk_aifs=7
wmm_ac_bk_txop_limit=0
wmm_ac_bk_acm=0
wmm_ac_be_aifs=3
wmm_ac_be_cwmin=4
wmm_ac_be_cwmax=10
wmm_ac_be_txop_limit=0
wmm_ac_be_acm=0
wmm_ac_vi_aifs=2
wmm_ac_vi_cwmin=3
wmm_ac_vi_cwmax=4
wmm_ac_vi_txop_limit=94
wmm_ac_vi_acm=0
wmm_ac_vo_aifs=2
wmm_ac_vo_cwmin=2
wmm_ac_vo_cwmax=3
wmm_ac_vo_txop_limit=47
wmm_ac_vo_acm=0
ieee80211n=1
ht_capab=[HT40+][SHORT-GI-20][SHORT-GI-40]
ieee80211ac=1
vht_oper_chwidth=1
vht_oper_centr_freq_seg0_idx=58
eapol_key_index_workaround=0
eap_server=0
own_ip_addr=127.0.0.1
wpa=2
wpa_passphrase={{{skipped}}}
wpa_key_mgmt=WPA-PSK-SHA256 WPA-PSK
wpa_pairwise=CCMP

The hostapd log:

Nov 03 18:12:25 beroal hostapd[13022]: random: Trying to read entropy from /dev/random
Nov 03 18:12:25 beroal hostapd[13022]: Configuration file: /etc/hostapd/hostapd.conf
Nov 03 18:12:25 beroal hostapd[13022]: ctrl_interface_group=0
Nov 03 18:12:25 beroal hostapd[13022]: nl80211: Kernel version: Linux 6.11.6-arch1-1 (#1 SMP PREEMPT_DYNAMIC Fri, 01 Nov 2024 03:30:41 +0000; x86_64)
Nov 03 18:12:25 beroal hostapd[13022]: nl80211: Maximum supported attribute ID: 332
Nov 03 18:12:25 beroal hostapd[13022]: nl80211: Initialize interface wifiap (driver: rtl88x2bu)
Nov 03 18:12:25 beroal hostapd[13022]: nl80211: Supported cipher 00-0f-ac:1
Nov 03 18:12:25 beroal hostapd[13022]: nl80211: Supported cipher 00-0f-ac:5
Nov 03 18:12:25 beroal hostapd[13022]: nl80211: Supported cipher 00-0f-ac:2
Nov 03 18:12:25 beroal hostapd[13022]: nl80211: Supported cipher 00-0f-ac:4
Nov 03 18:12:25 beroal hostapd[13022]: nl80211: Supported cipher 00-0f-ac:6
Nov 03 18:12:25 beroal hostapd[13022]: nl80211: Supported cipher 00-0f-ac:8
Nov 03 18:12:25 beroal hostapd[13022]: nl80211: Supported cipher 00-0f-ac:9
Nov 03 18:12:25 beroal hostapd[13022]: nl80211: Supported cipher 00-0f-ac:10
Nov 03 18:12:25 beroal hostapd[13022]: nl80211: Supported cipher 00-0f-ac:11
Nov 03 18:12:25 beroal hostapd[13022]: nl80211: Supported cipher 00-0f-ac:12
Nov 03 18:12:25 beroal hostapd[13022]: nl80211: Supported cipher 00-0f-ac:13
Nov 03 18:12:25 beroal hostapd[13022]: nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=4106
Nov 03 18:12:25 beroal hostapd[13022]: nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=4107
Nov 03 18:12:25 beroal hostapd[13022]: nl80211: key_mgmt=0xf0f enc=0xfef auth=0x7 flags=0xa0058c0 flags2=0x0 rrm_flags=0x0 probe_resp_offloads=0x0 max_stations=0 max_remain_on_chan=5000 max_scan_ssids=9
Nov 03 18:12:25 beroal hostapd[13022]: nl80211: interface wifiap in phy phy1
Nov 03 18:12:25 beroal hostapd[13022]: nl80211: Set mode ifindex 4 iftype 3 (AP)
Nov 03 18:12:39 beroal hostapd[13022]: nl80211: Setup AP(wifiap) - device_ap_sme=1 use_monitor=0
Nov 03 18:12:39 beroal hostapd[13022]: nl80211: Subscribe to mgmt frames with AP handle 0x5890b6afd130 (device SME)
Nov 03 18:12:39 beroal hostapd[13022]: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x5890b6afd130 match=04 multicast=0
Nov 03 18:12:39 beroal hostapd[13022]: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x5890b6afd130 match=0501 multicast=0
Nov 03 18:12:39 beroal hostapd[13022]: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x5890b6afd130 match=0503 multicast=0
Nov 03 18:12:39 beroal hostapd[13022]: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x5890b6afd130 match=0504 multicast=0
Nov 03 18:12:39 beroal hostapd[13022]: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x5890b6afd130 match=06 multicast=0
Nov 03 18:12:39 beroal hostapd[13022]: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x5890b6afd130 match=08 multicast=0
Nov 03 18:12:39 beroal hostapd[13022]: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x5890b6afd130 match=09 multicast=0
Nov 03 18:12:39 beroal hostapd[13022]: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x5890b6afd130 match=0a multicast=0
Nov 03 18:12:39 beroal hostapd[13022]: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x5890b6afd130 match=11 multicast=0
Nov 03 18:12:39 beroal hostapd[13022]: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x5890b6afd130 match=7f multicast=0
Nov 03 18:12:39 beroal hostapd[13022]: nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0x5890b6afd130 match= multicast=0
Nov 03 18:12:39 beroal hostapd[13022]: nl80211: Enable Probe Request reporting nl_preq=0x5890b6affa40
Nov 03 18:12:39 beroal hostapd[13022]: nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ) nl_handle=0x5890b6affa40 match= multicast=0
Nov 03 18:12:39 beroal hostapd[13022]: rfkill: initial event: idx=1 type=1 op=0 soft=0 hard=0
Nov 03 18:12:39 beroal hostapd[13022]: nl80211: Add own interface ifindex 4 (ifidx_reason -1)
Nov 03 18:12:39 beroal hostapd[13022]: nl80211: if_indices[16]: 4(-1)
Nov 03 18:12:39 beroal hostapd[13022]: phy: phy1
Nov 03 18:12:39 beroal hostapd[13022]: BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
Nov 03 18:12:39 beroal hostapd[13022]: Using existing control interface directory.
Nov 03 18:12:39 beroal hostapd[13022]: wifiap: interface state UNINITIALIZED->COUNTRY_UPDATE
Nov 03 18:12:39 beroal hostapd[13022]: Previous country code 98, new country code UAI
Nov 03 18:12:39 beroal hostapd[13022]: Continue interface setup after channel list update
Nov 03 18:12:39 beroal hostapd[13022]: ctrl_iface not configured!
Nov 03 18:12:39 beroal hostapd[13022]: random: Got 20/20 bytes from /dev/random
Nov 03 18:12:39 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:12:39 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:12:39 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:12:39 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:12:41 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:12:41 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:12:44 beroal hostapd[13022]: Channel list update timeout - try to continue anyway
Nov 03 18:12:44 beroal hostapd[13022]: nl80211: Regulatory information - country=98
Nov 03 18:12:44 beroal hostapd[13022]: nl80211: 2400-2483 @ 40 MHz 20 mBm (no outdoor)
Nov 03 18:12:44 beroal hostapd[13022]: nl80211: 5150-5250 @ 100 MHz 20 mBm (no outdoor)
Nov 03 18:12:44 beroal hostapd[13022]: nl80211: 5250-5350 @ 100 MHz 20 mBm (no outdoor) (DFS)
Nov 03 18:12:44 beroal hostapd[13022]: nl80211: 5725-5850 @ 80 MHz 20 mBm (no outdoor)
Nov 03 18:12:44 beroal hostapd[13022]: nl80211: 57240-59400 @ 2160 MHz 16 mBm (no outdoor)
Nov 03 18:12:44 beroal hostapd[13022]: nl80211: 59400-63720 @ 2160 MHz 16 mBm (no outdoor)
Nov 03 18:12:44 beroal hostapd[13022]: nl80211: 63720-65880 @ 2160 MHz 16 mBm (no outdoor)
Nov 03 18:12:44 beroal hostapd[13022]: nl80211: Added 802.11b mode based on 802.11g information
Nov 03 18:12:44 beroal hostapd[13022]: nl80211: Mode IEEE 802.11g: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[NO_IR] 2472[NO_IR] 2484[DISABLED]
Nov 03 18:12:44 beroal hostapd[13022]: nl80211: Mode IEEE 802.11a: 5180 5200 5220 5240 5260 5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700 5720[DISABLED] 5745 5765 5785 5805 5825 5845[DISABLED] 5865[DISABLED] 5885[DISABLED]
Nov 03 18:12:44 beroal hostapd[13022]: nl80211: Mode IEEE 802.11b: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[NO_IR] 2472[NO_IR] 2484[DISABLED]
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=2 chan=36 freq=5180 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=2 chan=40 freq=5200 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=2 chan=44 freq=5220 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=2 chan=48 freq=5240 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=2 chan=52 freq=5260 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=2 chan=56 freq=5280 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=2 chan=60 freq=5300 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=2 chan=64 freq=5320 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=2 chan=100 freq=5500 MHz max_tx_power=0 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=2 chan=104 freq=5520 MHz max_tx_power=0 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=2 chan=108 freq=5540 MHz max_tx_power=0 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=2 chan=112 freq=5560 MHz max_tx_power=0 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=2 chan=116 freq=5580 MHz max_tx_power=0 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=2 chan=120 freq=5600 MHz max_tx_power=0 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=2 chan=124 freq=5620 MHz max_tx_power=0 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=2 chan=128 freq=5640 MHz max_tx_power=0 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=2 chan=132 freq=5660 MHz max_tx_power=0 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=2 chan=136 freq=5680 MHz max_tx_power=0 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=2 chan=140 freq=5700 MHz max_tx_power=0 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=2 chan=149 freq=5745 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=2 chan=153 freq=5765 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=2 chan=157 freq=5785 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=2 chan=161 freq=5805 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=2 chan=165 freq=5825 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=20 dBm
Nov 03 18:12:44 beroal hostapd[13022]: hw vht capab: 0x3d071b2, conf vht capab: 0x0
Nov 03 18:12:44 beroal hostapd[13022]: wifiap: interface state COUNTRY_UPDATE->HT_SCAN
Nov 03 18:12:44 beroal hostapd[13022]: Scan for neighboring BSSes prior to enabling 40 MHz channel
Nov 03 18:12:44 beroal hostapd[13022]: 40 MHz affected channel range: [5250,5290] MHz
Nov 03 18:12:44 beroal hostapd[13022]: wifiap: nl80211: scan request
Nov 03 18:12:44 beroal hostapd[13022]: nl80211: Passive scan requested
Nov 03 18:12:44 beroal hostapd[13022]: nl80211: Scan frequency 5260 MHz
Nov 03 18:12:44 beroal hostapd[13022]: nl80211: Scan frequency 5280 MHz
Nov 03 18:12:44 beroal hostapd[13022]: Scan requested (ret=0) - scan timeout 10 seconds
Nov 03 18:12:44 beroal hostapd[13022]: Interface initialization will be completed in a callback
Nov 03 18:12:44 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:12:44 beroal hostapd[13022]: nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wifiap
Nov 03 18:12:44 beroal hostapd[13022]: wifiap: nl80211: Scan trigger
Nov 03 18:12:44 beroal hostapd[13022]: wifiap: Event SCAN_STARTED (47) received
Nov 03 18:12:44 beroal hostapd[13022]: Unknown event 47
Nov 03 18:12:46 beroal hostapd[13022]: RTM_NEWLINK: ifi_index=4 ifname=wifiap wext ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
Nov 03 18:12:46 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:12:46 beroal hostapd[13022]: nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wifiap
Nov 03 18:12:46 beroal hostapd[13022]: wifiap: nl80211: New scan results available
Nov 03 18:12:46 beroal hostapd[13022]: nl80211: Scan included frequencies: 5260 5280
Nov 03 18:12:46 beroal hostapd[13022]: wifiap: Event SCAN_RESULTS (3) received
Nov 03 18:12:46 beroal hostapd[13022]: nl80211: Received scan results (0 BSSes)
Nov 03 18:12:46 beroal hostapd[13022]: HT40: control channel: 52 (5260 MHz), secondary channel: 56 (5280 MHz)
Nov 03 18:12:46 beroal hostapd[13022]: Completing interface initialization
Nov 03 18:12:46 beroal hostapd[13022]: Mode: IEEE 802.11a  Channel: 52  Frequency: 5260 MHz
Nov 03 18:12:46 beroal hostapd[13022]: DFS 0 channels required radar detection
Nov 03 18:12:46 beroal hostapd[13022]: nl80211: Set freq 5260 (ht_enabled=1, vht_enabled=1, he_enabled=0, eht_enabled=0, bandwidth=80 MHz, cf1=5290 MHz, cf2=0 MHz)
Nov 03 18:12:46 beroal hostapd[13022]:   * freq=5260
Nov 03 18:12:46 beroal hostapd[13022]:   * eht_enabled=0
Nov 03 18:12:46 beroal hostapd[13022]:   * he_enabled=0
Nov 03 18:12:46 beroal hostapd[13022]:   * vht_enabled=1
Nov 03 18:12:46 beroal hostapd[13022]:   * ht_enabled=1
Nov 03 18:12:46 beroal hostapd[13022]:   * radar_background=0
Nov 03 18:12:46 beroal hostapd[13022]:   * bandwidth=80
Nov 03 18:12:46 beroal hostapd[13022]:   * channel_width=3
Nov 03 18:12:46 beroal hostapd[13022]:   * center_freq1=5290
Nov 03 18:12:46 beroal hostapd[13022]:   * center_freq2=0
Nov 03 18:12:46 beroal hostapd[13022]: RATE[0] rate=60 flags=0x1
Nov 03 18:12:46 beroal hostapd[13022]: RATE[1] rate=90 flags=0x0
Nov 03 18:12:46 beroal hostapd[13022]: RATE[2] rate=120 flags=0x1
Nov 03 18:12:46 beroal hostapd[13022]: RATE[3] rate=180 flags=0x0
Nov 03 18:12:46 beroal hostapd[13022]: RATE[4] rate=240 flags=0x1
Nov 03 18:12:46 beroal hostapd[13022]: RATE[5] rate=360 flags=0x0
Nov 03 18:12:46 beroal hostapd[13022]: RATE[6] rate=480 flags=0x0
Nov 03 18:12:46 beroal hostapd[13022]: RATE[7] rate=540 flags=0x0
Nov 03 18:12:46 beroal hostapd[13022]: hostapd_setup_bss(hapd=0x5890b6af33b0 (wifiap), first=1)
Nov 03 18:12:46 beroal hostapd[13022]: nl80211: flush -> DEL_STATION wifiap (all)
Nov 03 18:12:46 beroal hostapd[13022]: Using interface wifiap with hwaddr {{{skipped}}} and ssid "{{{skipped}}}"
Nov 03 18:12:46 beroal hostapd[13022]: Deriving WPA PSK based on passphrase
Nov 03 18:12:46 beroal hostapd[13022]: SSID - hexdump_ascii(len=10):
Nov 03 18:12:46 beroal hostapd[13022]:      5a 76 65 6e 31 38 5f 31 33 31                     {{{skipped}}}
Nov 03 18:12:46 beroal hostapd[13022]: PSK (ASCII passphrase) - hexdump_ascii(len=18): [REMOVED]
Nov 03 18:12:46 beroal hostapd[13022]: PSK (from passphrase) - hexdump(len=32): [REMOVED]
Nov 03 18:12:46 beroal hostapd[13022]: Get randomness: len=32 entropy=0
Nov 03 18:12:46 beroal hostapd[13022]: GMK - hexdump(len=32): [REMOVED]
Nov 03 18:12:46 beroal hostapd[13022]: Get randomness: len=32 entropy=0
Nov 03 18:12:46 beroal hostapd[13022]: Key Counter - hexdump(len=32): [REMOVED]
Nov 03 18:12:46 beroal hostapd[13022]: WPA: Delay group state machine start until Beacon frames have been configured
Nov 03 18:12:46 beroal hostapd[13022]: nl80211: Set beacon (beacon_set=0)
Nov 03 18:12:46 beroal hostapd[13022]: nl80211: Beacon head - hexdump(len=58): {{{skipped}}}
Nov 03 18:12:46 beroal hostapd[13022]: nl80211: Beacon tail - hexdump(len=145): {{{skipped}}}
Nov 03 18:12:46 beroal hostapd[13022]: nl80211: ifindex=4
Nov 03 18:12:46 beroal hostapd[13022]: nl80211: beacon_int=100
Nov 03 18:12:46 beroal hostapd[13022]: nl80211: beacon_rate=0
Nov 03 18:12:46 beroal hostapd[13022]: nl80211: rate_type=0
Nov 03 18:12:46 beroal hostapd[13022]: nl80211: dtim_period=2
Nov 03 18:12:46 beroal hostapd[13022]: nl80211: ssid={{{skipped}}}
Nov 03 18:12:46 beroal hostapd[13022]:   * beacon_int=100
Nov 03 18:12:46 beroal hostapd[13022]:   * dtim_period=2
Nov 03 18:12:46 beroal hostapd[13022]: nl80211: hidden SSID not in use
Nov 03 18:12:46 beroal hostapd[13022]: nl80211: privacy=2
Nov 03 18:12:46 beroal hostapd[13022]: nl80211: auth_algs=0x1
Nov 03 18:12:46 beroal hostapd[13022]: nl80211: wpa_version=0x2
Nov 03 18:12:46 beroal hostapd[13022]: nl80211: key_mgmt_suites=0x102
Nov 03 18:12:46 beroal hostapd[13022]: nl80211: pairwise_ciphers=0x10
Nov 03 18:12:46 beroal hostapd[13022]: nl80211: group_cipher=0x10
Nov 03 18:12:46 beroal hostapd[13022]:   * freq=5260
Nov 03 18:12:46 beroal hostapd[13022]:   * eht_enabled=0
Nov 03 18:12:46 beroal hostapd[13022]:   * he_enabled=0
Nov 03 18:12:46 beroal hostapd[13022]:   * vht_enabled=1
Nov 03 18:12:46 beroal hostapd[13022]:   * ht_enabled=1
Nov 03 18:12:46 beroal hostapd[13022]:   * radar_background=0
Nov 03 18:12:46 beroal hostapd[13022]:   * bandwidth=80
Nov 03 18:12:46 beroal hostapd[13022]:   * channel_width=3
Nov 03 18:12:46 beroal hostapd[13022]:   * center_freq1=5290
Nov 03 18:12:46 beroal hostapd[13022]:   * center_freq2=0
Nov 03 18:12:48 beroal hostapd[13022]: wifiap: Deauthenticate all stations at BSS start
Nov 03 18:12:48 beroal hostapd[13022]: nl80211: sta_remove -> DEL_STATION wifiap ff:ff:ff:ff:ff:ff --> -22 (Invalid argument)
Nov 03 18:12:48 beroal hostapd[13022]: nl80211: Set wifiap operstate 0->1 (UP)
Nov 03 18:12:48 beroal hostapd[13022]: netlink: Operstate: ifindex=4 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
Nov 03 18:12:48 beroal hostapd[13022]: WPA: Start group state machine to set initial keys
Nov 03 18:12:48 beroal hostapd[13022]: WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
Nov 03 18:12:48 beroal hostapd[13022]: Get randomness: len=16 entropy=0
Nov 03 18:12:48 beroal hostapd[13022]: GTK - hexdump(len=16): [REMOVED]
Nov 03 18:12:48 beroal hostapd[13022]: WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
Nov 03 18:12:48 beroal hostapd[13022]: wpa_driver_nl80211_set_key: ifindex=4 (wifiap) alg=3 addr=0x5890ade61022 key_idx=1 set_tx=1 seq_len=0 key_len=16 key_flag=0x1a link_id=-1
Nov 03 18:12:48 beroal hostapd[13022]: nl80211: NEW_KEY
Nov 03 18:12:48 beroal hostapd[13022]: nl80211: KEY_DATA - hexdump(len=16): [REMOVED]
Nov 03 18:12:48 beroal hostapd[13022]:    broadcast key
Nov 03 18:12:48 beroal hostapd[13022]: nl80211: NL80211_CMD_SET_KEY - default key
Nov 03 18:12:48 beroal hostapd[13022]: nl80211: link=-1: TX queue param set: queue=0 aifs=1 cw_min=3 cw_max=7 burst_time=15 --> res=0
Nov 03 18:12:48 beroal hostapd[13022]: nl80211: link=-1: TX queue param set: queue=1 aifs=1 cw_min=7 cw_max=15 burst_time=30 --> res=0
Nov 03 18:12:48 beroal hostapd[13022]: nl80211: link=-1: TX queue param set: queue=2 aifs=3 cw_min=15 cw_max=63 burst_time=0 --> res=0
Nov 03 18:12:48 beroal hostapd[13022]: nl80211: link=-1: TX queue param set: queue=3 aifs=7 cw_min=15 cw_max=1023 burst_time=0 --> res=0
Nov 03 18:12:48 beroal hostapd[13022]: nl80211: Set Deny ACL (num_mac_acl=0)
Nov 03 18:12:48 beroal hostapd[13022]: wifiap: interface state HT_SCAN->ENABLED
Nov 03 18:12:48 beroal hostapd[13022]: wifiap: AP-ENABLED
Nov 03 18:12:48 beroal hostapd[13022]: wifiap: Setup of interface done.
Nov 03 18:12:48 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:12:48 beroal hostapd[13022]: nl80211: Drv Event 15 (NL80211_CMD_START_AP) received for wifiap
Nov 03 18:12:48 beroal hostapd[13022]: wifiap: nl80211: Ignored unknown event (cmd=15)
Nov 03 18:12:49 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:12:49 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:12:57 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:12:57 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:13:01 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:13:01 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:13:05 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:13:05 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:13:11 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:13:11 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:13:13 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:13:13 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:13:21 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:13:21 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:13:24 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:13:24 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:13:27 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:13:27 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:13:29 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:13:29 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:13:30 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:13:30 beroal hostapd[13022]: nl80211: Ignored event 20 (NL80211_CMD_DEL_STATION) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:13:31 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:13:31 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:13:34 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:13:34 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:13:36 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:13:36 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:13:36 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:13:36 beroal hostapd[13022]: nl80211: Ignored event 19 (NL80211_CMD_NEW_STATION) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:13:36 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:13:36 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:13:36 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:13:36 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:13:36 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:13:36 beroal hostapd[13022]: nl80211: Ignored event 139 (NL80211_CMD_CONTROL_PORT_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:13:36 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:13:36 beroal hostapd[13022]: nl80211: Ignored event 139 (NL80211_CMD_CONTROL_PORT_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:13:36 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:13:36 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:13:44 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:13:44 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:13:53 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:13:53 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:13:58 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:13:58 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:13:59 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:13:59 beroal hostapd[13022]: nl80211: Ignored event 20 (NL80211_CMD_DEL_STATION) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:14:00 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:14:00 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:14:01 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:14:01 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:14:01 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:14:01 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:14:02 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:14:02 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:14:02 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:14:02 beroal hostapd[13022]: nl80211: Ignored event 19 (NL80211_CMD_NEW_STATION) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:14:02 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:14:02 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:14:02 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:14:02 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:14:02 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:14:02 beroal hostapd[13022]: nl80211: Ignored event 139 (NL80211_CMD_CONTROL_PORT_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:14:02 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:14:02 beroal hostapd[13022]: nl80211: Ignored event 139 (NL80211_CMD_CONTROL_PORT_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:14:03 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:14:03 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:14:08 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:14:08 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:14:13 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:14:13 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:14:16 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:14:16 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:14:22 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:14:22 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:14:38 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:14:38 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:14:43 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:14:43 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:14:48 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:14:48 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:14:51 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:14:51 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:15:01 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:15:01 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:15:11 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:15:11 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:15:14 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:15:14 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:15:17 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:15:17 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:15:22 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:15:22 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:15:27 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:15:27 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:15:32 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:15:32 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:15:42 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:15:42 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:15:47 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:15:47 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)
Nov 03 18:15:52 beroal hostapd[13022]: nl80211: Event message available
Nov 03 18:15:52 beroal hostapd[13022]: nl80211: Ignored event 60 (NL80211_CMD_FRAME_TX_STATUS) for foreign interface (ifindex 3 wdev 0x0 wiphy -1)

Last edited by beroal (2024-11-04 17:13:20)


we are not condemned to write ugly code

Offline

#2 2024-11-04 11:41:04

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 636
Website

Re: A Wi-Fi AP doesn't work after upgrading hostapd

Was hostapd the only thing that got updated in that update or did other relevant packages (linux, linux-firmware etc.) also get updated? Also is this issue also present with the linux-lts kernel package?

Offline

#3 2024-11-04 13:12:29

beroal
Member
From: Ukraine
Registered: 2009-06-07
Posts: 354
Website

Re: A Wi-Fi AP doesn't work after upgrading hostapd

gromit wrote:

Was hostapd the only thing that got updated in that update or did other relevant packages (linux, linux-firmware etc.) also get updated? Also is this issue also present with the linux-lts kernel package?

I switched the version of hostapd several times since then. It's always the same. The new version doesn't work, but the old version works.


we are not condemned to write ugly code

Offline

#4 2024-11-04 15:48:18

seth
Member
Registered: 2012-09-03
Posts: 58,170

Re: A Wi-Fi AP doesn't work after upgrading hostapd

Do you get any errors in dmesg (you can check the system journal so you won't have to re-test)  along the new hostapd version?

Offline

#5 2024-11-04 16:44:19

loqs
Member
Registered: 2014-03-06
Posts: 17,990

Re: A Wi-Fi AP doesn't work after upgrading hostapd

Is the issue present in hostapd 2.11-2? You can obtain it from the ALA if it is not in the system's pacman cache.

Offline

#6 2024-11-04 17:21:13

beroal
Member
From: Ukraine
Registered: 2009-06-07
Posts: 354
Website

Re: A Wi-Fi AP doesn't work after upgrading hostapd

seth wrote:

Do you get any errors in dmesg (you can check the system journal so you won't have to re-test)  along the new hostapd version?

> journalctl -b -p 3
Nov 04 18:37:57 beroal kernel: audit: kauditd hold queue overflow
Nov 04 18:37:57 beroal kernel: audit: kauditd hold queue overflow
Nov 04 18:37:57 beroal kernel: audit: kauditd hold queue overflow
Nov 04 18:37:59 beroal dbus-broker-launch[2441]: Access denied to service directory '/usr/share/homeless/.local/share/dbus-1/services'
Nov 04 18:38:08 beroal greetd[2525]: pam_systemd(greetd:session): Failed to set ambient capabilities, ignoring: Operation not permitted
Nov 04 18:41:23 beroal dhcpd[3065]: receive_packet failed on wlp18s0f0u8: Network is down
> journalctl -b -p 4
Nov 04 18:37:57 beroal kernel: tsc: Unable to calibrate against PIT
Nov 04 18:37:57 beroal kernel: i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
Nov 04 18:37:57 beroal systemd[1]: /etc/systemd/system/greetd.service:14: Failed to parse service restart specifier, ignoring: never
Nov 04 18:37:57 beroal systemd[1]: /etc/systemd/system/tor.service.d/local.conf:3: Failed to parse service restart specifier, ignoring: never
Nov 04 18:37:57 beroal kernel: vboxdrv: loading out-of-tree module taints kernel.
Nov 04 18:37:57 beroal kernel: VBoxNetAdp: Successfully started.
Nov 04 18:37:57 beroal kernel: VBoxNetFlt: Successfully started.
Nov 04 18:37:57 beroal kernel: RTW: module init start
Nov 04 18:37:57 beroal kernel: RTW: rtl88x2bu v5.13.1-30-g37e60b26a.20220819_COEX20220812-18317b7b
Nov 04 18:37:57 beroal kernel: RTW: rtl88x2bu BT-Coex version = COEX20220812-18317b7b
Nov 04 18:37:57 beroal kernel: RTW: [HALMAC]55772M
                               HALMAC_MAJOR_VER = 1
                               HALMAC_PROTOTYPE_VER = 6
                               HALMAC_MINOR_VER = 6
                               HALMAC_PATCH_VER = 23
Nov 04 18:37:57 beroal kernel: RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
Nov 04 18:37:57 beroal kernel: XFS (sda1): Deprecated V4 format (crc=0) will not be supported after September 2030.
Nov 04 18:37:57 beroal kernel: kauditd_printk_skb: 18488 callbacks suppressed
Nov 04 18:37:57 beroal kernel: audit: audit_lost=6680 audit_rate_limit=0 audit_backlog_limit=64
Nov 04 18:37:57 beroal kernel: audit: kauditd hold queue overflow
Nov 04 18:37:57 beroal kernel: audit: audit_lost=6681 audit_rate_limit=0 audit_backlog_limit=64
Nov 04 18:37:57 beroal kernel: audit: kauditd hold queue overflow
Nov 04 18:37:57 beroal kernel: audit: audit_lost=6682 audit_rate_limit=0 audit_backlog_limit=64
Nov 04 18:37:57 beroal kernel: audit: kauditd hold queue overflow
Nov 04 18:37:57 beroal kernel: audit: audit_lost=6683 audit_rate_limit=0 audit_backlog_limit=64
Nov 04 18:37:52 beroal systemd-sysctl[473]: Couldn't write '1' to 'net/ipv4/conf/uplink/forwarding', ignoring: No such file or directory
Nov 04 18:37:52 beroal systemd-sysctl[473]: Couldn't write '1' to 'net/ipv6/conf/uplink/forwarding', ignoring: No such file or directory
Nov 04 18:37:52 beroal systemd-sysctl[473]: Couldn't write '1' to 'net/ipv4/conf/wifiap/forwarding', ignoring: No such file or directory
Nov 04 18:37:52 beroal systemd-sysctl[473]: Couldn't write '1' to 'net/ipv6/conf/wifiap/forwarding', ignoring: No such file or directory
Nov 04 18:37:52 beroal systemd-sysctl[473]: Couldn't write '1' to 'net/ipv4/conf/wifiap2/forwarding', ignoring: No such file or directory
Nov 04 18:37:52 beroal systemd-sysctl[473]: Couldn't write '1' to 'net/ipv6/conf/wifiap2/forwarding', ignoring: No such file or directory
Nov 04 18:37:52 beroal systemd-sysctl[473]: Couldn't write '1' to 'net/ipv4/conf/wlp18s0f0u8/forwarding', ignoring: No such file or directory
Nov 04 18:37:52 beroal systemd-sysctl[473]: Couldn't write '1' to 'net/ipv6/conf/wlp18s0f0u8/forwarding', ignoring: No such file or directory
Nov 04 18:37:52 beroal systemd-sysctl[473]: Couldn't write '1' to 'net/ipv4/conf/uplinkusb/forwarding', ignoring: No such file or directory
Nov 04 18:37:52 beroal systemd-sysctl[473]: Couldn't write '1' to 'net/ipv6/conf/uplinkusb/forwarding', ignoring: No such file or directory
Nov 04 18:37:57 beroal (modprobe)[2303]: lm_sensors.service: Referenced but unset environment variable evaluates to an empty string: BUS_MODULES
Nov 04 18:37:58 beroal (chronyd)[2301]: chronyd.service: Referenced but unset environment variable evaluates to an empty string: OPTIONS
Nov 04 18:37:58 beroal dbus-broker-launch[2298]: Activation request for 'org.freedesktop.home1' failed: The systemd unit 'dbus-org.freedesktop.home1.service' could not be found.
Nov 04 18:37:58 beroal systemd-xdg-autostart-generator[2386]: Opening /usr/share/homeless/.config/autostart failed, ignoring: Permission denied
Nov 04 18:37:58 beroal systemd[2374]: Failed to resolve symlink /usr/share/homeless/.config/systemd/user.control, ignoring: Permission denied
Nov 04 18:37:58 beroal systemd[2374]: Failed to resolve symlink /usr/share/homeless/.config/systemd/user, ignoring: Permission denied
Nov 04 18:37:58 beroal systemd[2374]: Failed to resolve symlink /usr/share/homeless/.local/share/systemd/user, ignoring: Permission denied
Nov 04 18:37:58 beroal systemd[2374]: Failed to open "/usr/share/homeless/.config/systemd/user.control", ignoring: Permission denied
Nov 04 18:37:58 beroal systemd[2374]: Failed to open "/usr/share/homeless/.config/systemd/user", ignoring: Permission denied
Nov 04 18:37:58 beroal systemd[2374]: Failed to open "/usr/share/homeless/.local/share/systemd/user", ignoring: Permission denied
Nov 04 18:37:59 beroal dbus-broker-launch[2441]: Access denied to service directory '/usr/share/homeless/.local/share/dbus-1/services'
Nov 04 18:37:59 beroal dbus-broker-launch[2441]: Service file '/usr/share/dbus-1/services/org.kde.kscreen.service' is not named after the D-Bus name 'org.kde.KScreen'.
Nov 04 18:37:59 beroal dbus-broker-launch[2441]: Service file '/usr/share/dbus-1/services/org.xfce.Thunar.FileManager1.service' is not named after the D-Bus name 'org.freedesktop.FileManager1'.
Nov 04 18:38:04 beroal kernel: Generic FE-GE Realtek PHY r8169-0-2200:00: Downshift occurred from negotiated speed 1Gbps to actual speed 100Mbps, check cabling!
Nov 04 18:38:06 beroal kernel: RTW: HW EFUSE
Nov 04 18:38:06 beroal kernel: RTW: 0x000: 29 81 00 3C  09 00 A1 00  96 07 64 10  00 00 A3 00
Nov 04 18:38:06 beroal kernel: RTW: 0x010: 2E 2E 2E 2E  2F 2F 2C 2C  2C 2C 2C 14  00 00 FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x020: FF FF 1E 1E  1E 1C 1C 1C  1C 1C 1E 1E  1E 1E 1E 1E
Nov 04 18:38:06 beroal kernel: RTW: 0x030: 24 00 FF FF  00 FF CF 00  FF FF 2D 2D  2D 2D 2D 2D
Nov 04 18:38:06 beroal kernel: RTW: 0x040: 2B 2B 2B 2B  2B 13 00 00  FF FF FF FF  22 22 22 21
Nov 04 18:38:06 beroal kernel: RTW: 0x050: 21 21 21 21  24 24 24 24  24 24 12 00  FF FF 00 FF
Nov 04 18:38:06 beroal kernel: RTW: 0x060: BF 00 FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x070: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x080: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x090: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x0A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x0B0: FF FF FF FF  FF FF FF FF  7F 18 1A 00  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x0C0: FF 09 00 11  00 00 00 00  00 FF 03 FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x0D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x0E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x0F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x100: DA 0B 12 B8  C1 67 02 E8  4E 06 76 B4  58 09 03 52
Nov 04 18:38:06 beroal kernel: RTW: 0x110: 65 61 6C 74  65 6B 0E 03  38 30 32 2E  31 31 61 63
Nov 04 18:38:06 beroal kernel: RTW: 0x120: 20 4E 49 43  08 03 31 32  33 34 35 36  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x130: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x140: 33 0A 1F 01  00 00 21 0F  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x150: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x160: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x170: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x180: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x190: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x1A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x1B0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x1C0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x1D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x1E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x1F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x200: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x210: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x220: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x230: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x240: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x250: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x260: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x270: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x280: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x290: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x2A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x2B0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x2C0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x2D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x2E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: 0x2F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF
Nov 04 18:38:06 beroal kernel: RTW: hal_com_config_channel_plan chplan:0x7F
Nov 04 18:38:06 beroal kernel: RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
Nov 04 18:38:06 beroal kernel: RTW: [HALMAC][ALWAYS]shall R reg twice!!
Nov 04 18:38:08 beroal greetd[2525]: pam_systemd(greetd:session): Failed to set ambient capabilities, ignoring: Operation not permitted
Nov 04 18:38:08 beroal dbus-broker-launch[2619]: Service file '/usr/share/dbus-1/services/org.kde.kscreen.service' is not named after the D-Bus name 'org.kde.KScreen'.
Nov 04 18:38:08 beroal dbus-broker-launch[2619]: Service file '/usr/share/dbus-1/services/org.xfce.Thunar.FileManager1.service' is not named after the D-Bus name 'org.freedesktop.FileManager1'.
Nov 04 18:38:08 beroal kernel: RTW: WARN Invalid rate 0x0 in MRateToHwRate
Nov 04 18:38:08 beroal kernel: RTW: WARN Invalid rate 0x0 in MRateToHwRate
Nov 04 18:38:08 beroal kernel: RTW: WARN Invalid rate 0x0 in MRateToHwRate
Nov 04 18:38:08 beroal kernel: RTW: WARN Invalid rate 0x0 in MRateToHwRate
Nov 04 18:38:09 beroal xdg-desktop-por[2639]: No skeleton to export
Nov 04 18:38:09 beroal wireplumber[2757]: pw.resource: can't create node: Нет такого файла или каталога
Nov 04 18:38:09 beroal wireplumber[2757]: wp-node: failed to create node from factory 'spa-node-factory'
Nov 04 18:38:09 beroal kernel: RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
Nov 04 18:38:09 beroal kernel: RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
Nov 04 18:38:09 beroal kernel: RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
Nov 04 18:38:09 beroal kernel: RTW: [RF_PATH] ver_id.RF_TYPE:RF_2T2R
Nov 04 18:38:09 beroal kernel: RTW: [RF_PATH] HALSPEC's rf_reg_trx_path_bmp:0x33, rf_reg_path_avail_num:2, max_tx_cnt:2
Nov 04 18:38:09 beroal kernel: RTW: [RF_PATH] PG's trx_path_bmp:0x00, max_tx_cnt:0
Nov 04 18:38:09 beroal kernel: RTW: [RF_PATH] Registry's trx_path_bmp:0x00, tx_path_lmt:0, rx_path_lmt:0
Nov 04 18:38:09 beroal kernel: RTW: [RF_PATH] HALDATA's trx_path_bmp:0x33, max_tx_cnt:2
Nov 04 18:38:09 beroal kernel: RTW: [RF_PATH] HALDATA's rf_type:RF_2T2R, NumTotalRFPath:2
Nov 04 18:38:09 beroal kernel: RTW: [TRX_Nss] HALSPEC - tx_nss:2, rx_nss:2
Nov 04 18:38:09 beroal kernel: RTW: [TRX_Nss] Registry - tx_nss:0, rx_nss:0
Nov 04 18:38:09 beroal kernel: RTW: [TRX_Nss] HALDATA - tx_nss:2, rx_nss:2
Nov 04 18:38:09 beroal kernel: RTW: txpath=0x3, rxpath=0x3
Nov 04 18:38:09 beroal kernel: RTW: txpath_1ss:0x1, num:1
Nov 04 18:38:09 beroal kernel: RTW: txpath_2ss:0x3, num:2
Nov 04 18:38:09 beroal kernel: RTW: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1
Nov 04 18:38:09 beroal kernel: RTW: rtw_ndev_init(wlan0) if1 mac_addr={{{skipped}}}
Nov 04 18:38:09 beroal kernel: RTW: module init ret=0
Nov 04 18:38:09 beroal kernel: RTW: [HALMAC][ALWAYS]shall R reg twice!!
Nov 04 18:38:22 beroal kernel: start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
Nov 04 18:38:27 beroal kernel: warning: `Socket Thread' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211
Nov 04 18:38:29 beroal dbus-broker-launch[3556]: Service file '/usr/share/dbus-1/services/org.kde.kscreen.service' is not named after the D-Bus name 'org.kde.KScreen'.
Nov 04 18:38:29 beroal dbus-broker-launch[3556]: Service file '/usr/share/dbus-1/services/org.xfce.Thunar.FileManager1.service' is not named after the D-Bus name 'org.freedesktop.FileManager1'.
Nov 04 18:38:33 beroal chronyd[2317]: System clock wrong by 1.219710 seconds
Nov 04 18:38:34 beroal chronyd[2317]: System clock was stepped by 1.219710 seconds
Nov 04 18:38:34 beroal kernel: RTW: assoc success
Nov 04 18:38:36 beroal kernel: RTW: set group key camid:0, addr:{{{skipped}}}, kid:1, type:AES
Nov 04 18:40:09 beroal wireplumber[2757]: pw.resource: can't create node: Нет такого файла или каталога
Nov 04 18:40:09 beroal wireplumber[2757]: wp-node: failed to create node from factory 'spa-node-factory'
Nov 04 18:40:29 beroal wireplumber[2757]: pw.resource: can't create node: Нет такого файла или каталога
Nov 04 18:40:29 beroal wireplumber[2757]: wp-node: failed to create node from factory 'spa-node-factory'
Nov 04 18:40:45 beroal chronyd[2317]: Received KoD RATE from 37.53.71.213
Nov 04 18:40:47 beroal systemd[1]: /etc/systemd/system/tor.service.d/local.conf:3: Failed to parse service restart specifier, ignoring: never
Nov 04 18:40:47 beroal systemd[1]: /etc/systemd/system/greetd.service:14: Failed to parse service restart specifier, ignoring: never
Nov 04 18:40:55 beroal kernel: RTW: ERROR Free disconnecting network of scanned_queue failed due to pwlan == NULL
Nov 04 18:40:58 beroal kernel: RTW: nolinked power save enter
Nov 04 18:41:23 beroal dhcpd[3065]: receive_packet failed on wlp18s0f0u8: Network is down
Nov 04 18:41:23 beroal kernel: RTW: rtw_set_country_cmd country_code:"UA" mapping to chplan:0x35
Nov 04 18:41:23 beroal kernel: RTW: there is no any txpwr_regd
Nov 04 18:41:55 beroal kernel: RTW: [HALMAC][ALWAYS]shall R reg twice!!
Nov 04 18:42:08 beroal kernel: start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
Nov 04 18:42:09 beroal kernel: RTW: nolinked power save leave
Nov 04 18:42:12 beroal kernel: RTW: assoc success
Nov 04 18:42:14 beroal kernel: RTW: set group key camid:0, addr:{{{skipped}}}, kid:1, type:AES
Nov 04 18:43:43 beroal kernel: RTW: ============ STA [{{{skipped}}}]  ===================
Nov 04 18:43:43 beroal kernel: RTW: mac_id : 2
Nov 04 18:43:43 beroal kernel: RTW: wireless_mode : 0x04
Nov 04 18:43:43 beroal kernel: RTW: mimo_type : 2
Nov 04 18:43:43 beroal kernel: RTW: static smps : N
Nov 04 18:43:43 beroal kernel: RTW: bw_mode : 20MHz, ra_bw_mode : 20MHz
Nov 04 18:43:43 beroal kernel: RTW: rate_id : 7
Nov 04 18:43:43 beroal kernel: RTW: rssi : -1 (%), rssi_level : 0
Nov 04 18:43:43 beroal kernel: RTW: is_support_sgi : N, is_vht_enable : N
Nov 04 18:43:43 beroal kernel: RTW: disable_ra : N, disable_pt : N
Nov 04 18:43:43 beroal kernel: RTW: is_noisy : N
Nov 04 18:43:43 beroal kernel: RTW: txrx_state : 0
Nov 04 18:43:43 beroal kernel: RTW: curr_tx_rate : CCK_1M (L)
Nov 04 18:43:43 beroal kernel: RTW: curr_tx_bw : 20MHz
Nov 04 18:43:43 beroal kernel: RTW: curr_retry_ratio : 0
Nov 04 18:43:43 beroal kernel: RTW: ra_mask : 0x0000000000000ff0
Nov 04 18:43:43 beroal kernel: RTW: WARN _beamforming_enter: Not support HT or VHT mode
Nov 04 18:43:43 beroal kernel: RTW: WARN _beamforming_leave: {{{skipped}}} is neither beamforming ee or er!!
Nov 04 18:45:48 beroal wireplumber[2757]: pw.resource: can't create node: Нет такого файла или каталога
Nov 04 18:45:48 beroal wireplumber[2757]: wp-node: failed to create node from factory 'spa-node-factory'

The part of

> journalctl -b

for starting hostapd and trying to connect from the smartphone that shows WEP:

Nov 04 18:41:55 beroal systemd[1]: Started Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator.
Nov 04 18:41:55 beroal hostapd[5036]: random: Trying to read entropy from /dev/random
Nov 04 18:41:55 beroal hostapd[5036]: Configuration file: /etc/hostapd/hostapd.conf
Nov 04 18:41:55 beroal hostapd[5036]: ctrl_interface_group=0
Nov 04 18:41:55 beroal hostapd[5036]: nl80211: Kernel version: Linux 6.11.6-arch1-1 (#1 SMP PREEMPT_DYNAMIC Fri, 01 Nov 2024 03:30:41 +0000; x86_64)
Nov 04 18:41:55 beroal hostapd[5036]: nl80211: Maximum supported attribute ID: 332
Nov 04 18:41:55 beroal hostapd[5036]: nl80211: Initialize interface wifiap (driver: rtl88x2bu)
Nov 04 18:41:55 beroal hostapd[5036]: nl80211: Supported cipher 00-0f-ac:1
Nov 04 18:41:55 beroal hostapd[5036]: nl80211: Supported cipher 00-0f-ac:5
Nov 04 18:41:55 beroal hostapd[5036]: nl80211: Supported cipher 00-0f-ac:2
Nov 04 18:41:55 beroal hostapd[5036]: nl80211: Supported cipher 00-0f-ac:4
Nov 04 18:41:55 beroal hostapd[5036]: nl80211: Supported cipher 00-0f-ac:6
Nov 04 18:41:55 beroal hostapd[5036]: nl80211: Supported cipher 00-0f-ac:8
Nov 04 18:41:55 beroal hostapd[5036]: nl80211: Supported cipher 00-0f-ac:9
Nov 04 18:41:55 beroal hostapd[5036]: nl80211: Supported cipher 00-0f-ac:10
Nov 04 18:41:55 beroal hostapd[5036]: nl80211: Supported cipher 00-0f-ac:11
Nov 04 18:41:55 beroal hostapd[5036]: nl80211: Supported cipher 00-0f-ac:12
Nov 04 18:41:55 beroal hostapd[5036]: nl80211: Supported cipher 00-0f-ac:13
Nov 04 18:41:55 beroal hostapd[5036]: nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=4106
Nov 04 18:41:55 beroal hostapd[5036]: nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=4107
Nov 04 18:41:55 beroal hostapd[5036]: nl80211: key_mgmt=0xf0f enc=0xfef auth=0x7 flags=0xa0058c0 flags2=0x0 rrm_flags=0x0 probe_resp_offloads=0x0 max_stations=0 max_remain_on_chan=5000 max_scan_ssids=9
Nov 04 18:41:55 beroal hostapd[5036]: nl80211: interface wifiap in phy phy1
Nov 04 18:41:55 beroal hostapd[5036]: nl80211: Set mode ifindex 4 iftype 3 (AP)
Nov 04 18:41:55 beroal kernel: RTW: [HALMAC][ALWAYS]shall R reg twice!!
Nov 04 18:42:08 beroal kernel: start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
Nov 04 18:42:09 beroal kernel: RTW: nolinked power save leave
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: Setup AP(wifiap) - device_ap_sme=1 use_monitor=0
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: Subscribe to mgmt frames with AP handle 0x5c8977a9f130 (device SME)
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x5c8977a9f130 match=04 multicast=0
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x5c8977a9f130 match=0501 multicast=0
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x5c8977a9f130 match=0503 multicast=0
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x5c8977a9f130 match=0504 multicast=0
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x5c8977a9f130 match=06 multicast=0
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x5c8977a9f130 match=08 multicast=0
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x5c8977a9f130 match=09 multicast=0
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x5c8977a9f130 match=0a multicast=0
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x5c8977a9f130 match=11 multicast=0
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x5c8977a9f130 match=7f multicast=0
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0x5c8977a9f130 match= multicast=0
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: Enable Probe Request reporting nl_preq=0x5c8977aa1a40
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ) nl_handle=0x5c8977aa1a40 match= multicast=0
Nov 04 18:42:09 beroal hostapd[5036]: rfkill: initial event: idx=1 type=1 op=0 soft=0 hard=0
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: Add own interface ifindex 4 (ifidx_reason -1)
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: if_indices[16]: 4(-1)
Nov 04 18:42:09 beroal hostapd[5036]: phy: phy1
Nov 04 18:42:09 beroal hostapd[5036]: BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
Nov 04 18:42:09 beroal hostapd[5036]: wifiap: interface state UNINITIALIZED->COUNTRY_UPDATE
Nov 04 18:42:09 beroal hostapd[5036]: Previous country code UA, new country code UAI
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: Regulatory information - country=UA (DFS-ETSI)
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: 2400-2483 @ 40 MHz 20 mBm (no outdoor)
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: 5150-5250 @ 80 MHz 20 mBm (no outdoor)
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: 5250-5350 @ 80 MHz 20 mBm (no outdoor) (DFS)
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: 5470-5725 @ 160 MHz 20 mBm (no outdoor) (DFS)
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: 5725-5850 @ 80 MHz 20 mBm (no outdoor)
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: 57000-66000 @ 2160 MHz 16 mBm (no outdoor)
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: Added 802.11b mode based on 802.11g information
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: Mode IEEE 802.11g: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[NO_IR] 2472[NO_IR] 2484[DISABLED]
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: Mode IEEE 802.11a: 5180 5200 5220 5240 5260 5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700 5720[DISABLED] 5745 5765 5785 5805 5825 5845[DISABLED] 5865[DISABLED] 5885[DISABLED]
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: Mode IEEE 802.11b: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[NO_IR] 2472[NO_IR] 2484[DISABLED]
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=2 chan=36 freq=5180 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=2 chan=40 freq=5200 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=2 chan=44 freq=5220 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=2 chan=48 freq=5240 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=2 chan=52 freq=5260 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=2 chan=56 freq=5280 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=2 chan=60 freq=5300 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=2 chan=64 freq=5320 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=2 chan=100 freq=5500 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=2 chan=104 freq=5520 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=2 chan=108 freq=5540 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=2 chan=112 freq=5560 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=2 chan=116 freq=5580 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=2 chan=120 freq=5600 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=2 chan=124 freq=5620 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=2 chan=128 freq=5640 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=2 chan=132 freq=5660 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=2 chan=136 freq=5680 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=2 chan=140 freq=5700 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=2 chan=149 freq=5745 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=2 chan=153 freq=5765 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=2 chan=157 freq=5785 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=2 chan=161 freq=5805 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=2 chan=165 freq=5825 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=20 dBm
Nov 04 18:42:09 beroal hostapd[5036]: hw vht capab: 0x3d071b2, conf vht capab: 0x0
Nov 04 18:42:09 beroal hostapd[5036]: wifiap: interface state COUNTRY_UPDATE->HT_SCAN
Nov 04 18:42:09 beroal hostapd[5036]: Scan for neighboring BSSes prior to enabling 40 MHz channel
Nov 04 18:42:09 beroal hostapd[5036]: 40 MHz affected channel range: [5250,5290] MHz
Nov 04 18:42:09 beroal hostapd[5036]: wifiap: nl80211: scan request
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: Passive scan requested
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: Scan frequency 5260 MHz
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: Scan frequency 5280 MHz
Nov 04 18:42:09 beroal hostapd[5036]: Scan requested (ret=0) - scan timeout 10 seconds
Nov 04 18:42:09 beroal hostapd[5036]: Interface initialization will be completed in a callback
Nov 04 18:42:09 beroal hostapd[5036]: ctrl_iface not configured!
Nov 04 18:42:09 beroal hostapd[5036]: random: Got 20/20 bytes from /dev/random
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: Event message available
Nov 04 18:42:09 beroal hostapd[5036]: nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wifiap
Nov 04 18:42:09 beroal hostapd[5036]: wifiap: nl80211: Scan trigger
Nov 04 18:42:09 beroal hostapd[5036]: wifiap: Event SCAN_STARTED (47) received
Nov 04 18:42:09 beroal hostapd[5036]: Unknown event 47
Nov 04 18:42:09 beroal rtkit-daemon[2699]: Supervising 7 threads of 5 processes of 1 users.
Nov 04 18:42:09 beroal rtkit-daemon[2699]: Supervising 7 threads of 5 processes of 1 users.
Nov 04 18:42:10 beroal hostapd[5036]: RTM_NEWLINK: ifi_index=4 ifname=wifiap wext ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
Nov 04 18:42:10 beroal hostapd[5036]: nl80211: Event message available
Nov 04 18:42:10 beroal hostapd[5036]: nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wifiap
Nov 04 18:42:10 beroal hostapd[5036]: wifiap: nl80211: New scan results available
Nov 04 18:42:10 beroal hostapd[5036]: nl80211: Scan included frequencies: 5260 5280
Nov 04 18:42:10 beroal hostapd[5036]: wifiap: Event SCAN_RESULTS (3) received
Nov 04 18:42:10 beroal hostapd[5036]: nl80211: Received scan results (0 BSSes)
Nov 04 18:42:10 beroal hostapd[5036]: HT40: control channel: 52 (5260 MHz), secondary channel: 56 (5280 MHz)
Nov 04 18:42:10 beroal hostapd[5036]: Completing interface initialization
Nov 04 18:42:10 beroal hostapd[5036]: Mode: IEEE 802.11a  Channel: 52  Frequency: 5260 MHz
Nov 04 18:42:10 beroal hostapd[5036]: DFS 0 channels required radar detection
Nov 04 18:42:10 beroal hostapd[5036]: nl80211: Set freq 5260 (ht_enabled=1, vht_enabled=1, he_enabled=0, eht_enabled=0, bandwidth=80 MHz, cf1=5290 MHz, cf2=0 MHz)
Nov 04 18:42:10 beroal hostapd[5036]:   * freq=5260
Nov 04 18:42:10 beroal hostapd[5036]:   * eht_enabled=0
Nov 04 18:42:10 beroal hostapd[5036]:   * he_enabled=0
Nov 04 18:42:10 beroal hostapd[5036]:   * vht_enabled=1
Nov 04 18:42:10 beroal hostapd[5036]:   * ht_enabled=1
Nov 04 18:42:10 beroal hostapd[5036]:   * radar_background=0
Nov 04 18:42:10 beroal hostapd[5036]:   * bandwidth=80
Nov 04 18:42:10 beroal hostapd[5036]:   * channel_width=3
Nov 04 18:42:10 beroal hostapd[5036]:   * center_freq1=5290
Nov 04 18:42:10 beroal hostapd[5036]:   * center_freq2=0
Nov 04 18:42:10 beroal hostapd[5036]: RATE[0] rate=60 flags=0x1
Nov 04 18:42:10 beroal hostapd[5036]: RATE[1] rate=90 flags=0x0
Nov 04 18:42:10 beroal hostapd[5036]: RATE[2] rate=120 flags=0x1
Nov 04 18:42:10 beroal hostapd[5036]: RATE[3] rate=180 flags=0x0
Nov 04 18:42:10 beroal hostapd[5036]: RATE[4] rate=240 flags=0x1
Nov 04 18:42:10 beroal hostapd[5036]: RATE[5] rate=360 flags=0x0
Nov 04 18:42:10 beroal hostapd[5036]: RATE[6] rate=480 flags=0x0
Nov 04 18:42:10 beroal hostapd[5036]: RATE[7] rate=540 flags=0x0
Nov 04 18:42:10 beroal hostapd[5036]: hostapd_setup_bss(hapd=0x5c8977a953b0 (wifiap), first=1)
Nov 04 18:42:10 beroal hostapd[5036]: nl80211: flush -> DEL_STATION wifiap (all)
Nov 04 18:42:10 beroal hostapd[5036]: Using interface wifiap with hwaddr {{{skipped}}} and ssid "{{{skipped}}}"
Nov 04 18:42:10 beroal hostapd[5036]: Deriving WPA PSK based on passphrase
Nov 04 18:42:10 beroal hostapd[5036]: SSID - hexdump_ascii(len=10):
Nov 04 18:42:10 beroal hostapd[5036]:      5a 76 65 6e 31 38 5f 31 33 31                     {{{skipped}}}
Nov 04 18:42:10 beroal hostapd[5036]: PSK (ASCII passphrase) - hexdump_ascii(len=18): [REMOVED]
Nov 04 18:42:10 beroal hostapd[5036]: PSK (from passphrase) - hexdump(len=32): [REMOVED]
Nov 04 18:42:10 beroal hostapd[5036]: Get randomness: len=32 entropy=0
Nov 04 18:42:10 beroal hostapd[5036]: GMK - hexdump(len=32): [REMOVED]
Nov 04 18:42:10 beroal hostapd[5036]: Get randomness: len=32 entropy=0
Nov 04 18:42:10 beroal hostapd[5036]: Key Counter - hexdump(len=32): [REMOVED]
Nov 04 18:42:10 beroal hostapd[5036]: WPA: Delay group state machine start until Beacon frames have been configured
Nov 04 18:42:10 beroal hostapd[5036]: nl80211: Set beacon (beacon_set=0)
Nov 04 18:42:10 beroal hostapd[5036]: nl80211: Beacon head - hexdump(len=58): 80 00 00 00 ff ff ff ff ff ff e8 4e 06 76 b4 58 e8 4e 06 76 b4 58 00 00 00 00 00 00 00 00 00 00 64 00 11 00 00 0a 5a 76 65 6e 31 38 5f 31 33 31 01 08 8c 12 98 24 b0 48 60 6c
Nov 04 18:42:10 beroal hostapd[5036]: nl80211: Beacon tail - hexdump(len=145): 07 0c 55 41 49 24 08 14 64 0b 14 95 05 14 30 18 01 00 00 0f ac 04 01 00 00 0f ac 04 02 00 00 0f ac 02 00 0f ac 06 0c 00 2d 1a 6e 00 1f ff ff 00 00 00 00 00 00 00 00 2c 01 01 00 00 00 00 00 00 00 00 00 00 3d 16 34 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 bf 0c 00 00 00 00 fa ff 63 03 fa ff 63 03 c0 05 01 3a 00 fc ff c3 04 02 28 28 28 dd 18 00 50 f2 02 01 01 01 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00
Nov 04 18:42:10 beroal hostapd[5036]: nl80211: ifindex=4
Nov 04 18:42:10 beroal hostapd[5036]: nl80211: beacon_int=100
Nov 04 18:42:10 beroal hostapd[5036]: nl80211: beacon_rate=0
Nov 04 18:42:10 beroal hostapd[5036]: nl80211: rate_type=0
Nov 04 18:42:10 beroal hostapd[5036]: nl80211: dtim_period=2
Nov 04 18:42:10 beroal hostapd[5036]: nl80211: ssid={{{skipped}}}
Nov 04 18:42:10 beroal hostapd[5036]:   * beacon_int=100
Nov 04 18:42:10 beroal hostapd[5036]:   * dtim_period=2
Nov 04 18:42:10 beroal hostapd[5036]: nl80211: hidden SSID not in use
Nov 04 18:42:10 beroal hostapd[5036]: nl80211: privacy=2
Nov 04 18:42:10 beroal hostapd[5036]: nl80211: auth_algs=0x1
Nov 04 18:42:10 beroal hostapd[5036]: nl80211: wpa_version=0x2
Nov 04 18:42:10 beroal hostapd[5036]: nl80211: key_mgmt_suites=0x102
Nov 04 18:42:10 beroal hostapd[5036]: nl80211: pairwise_ciphers=0x10
Nov 04 18:42:10 beroal hostapd[5036]: nl80211: group_cipher=0x10
Nov 04 18:42:10 beroal hostapd[5036]:   * freq=5260
Nov 04 18:42:10 beroal hostapd[5036]:   * eht_enabled=0
Nov 04 18:42:10 beroal hostapd[5036]:   * he_enabled=0
Nov 04 18:42:10 beroal hostapd[5036]:   * vht_enabled=1
Nov 04 18:42:10 beroal hostapd[5036]:   * ht_enabled=1
Nov 04 18:42:10 beroal hostapd[5036]:   * radar_background=0
Nov 04 18:42:10 beroal hostapd[5036]:   * bandwidth=80
Nov 04 18:42:10 beroal hostapd[5036]:   * channel_width=3
Nov 04 18:42:10 beroal hostapd[5036]:   * center_freq1=5290
Nov 04 18:42:10 beroal hostapd[5036]:   * center_freq2=0
Nov 04 18:42:12 beroal hostapd[5036]: wifiap: Deauthenticate all stations at BSS start
Nov 04 18:42:12 beroal hostapd[5036]: nl80211: sta_remove -> DEL_STATION wifiap ff:ff:ff:ff:ff:ff --> -22 (Invalid argument)
Nov 04 18:42:12 beroal hostapd[5036]: nl80211: Set wifiap operstate 0->1 (UP)
Nov 04 18:42:12 beroal hostapd[5036]: netlink: Operstate: ifindex=4 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
Nov 04 18:42:12 beroal hostapd[5036]: WPA: Start group state machine to set initial keys
Nov 04 18:42:12 beroal hostapd[5036]: WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
Nov 04 18:42:12 beroal hostapd[5036]: Get randomness: len=16 entropy=0
Nov 04 18:42:12 beroal hostapd[5036]: GTK - hexdump(len=16): [REMOVED]
Nov 04 18:42:12 beroal hostapd[5036]: WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
Nov 04 18:42:12 beroal hostapd[5036]: wpa_driver_nl80211_set_key: ifindex=4 (wifiap) alg=3 addr=0x5c89686ea022 key_idx=1 set_tx=1 seq_len=0 key_len=16 key_flag=0x1a link_id=-1
Nov 04 18:42:12 beroal hostapd[5036]: nl80211: NEW_KEY
Nov 04 18:42:12 beroal hostapd[5036]: nl80211: KEY_DATA - hexdump(len=16): [REMOVED]
Nov 04 18:42:12 beroal hostapd[5036]:    broadcast key
Nov 04 18:42:12 beroal hostapd[5036]: nl80211: NL80211_CMD_SET_KEY - default key
Nov 04 18:42:12 beroal hostapd[5036]: nl80211: link=-1: TX queue param set: queue=0 aifs=1 cw_min=3 cw_max=7 burst_time=15 --> res=0
Nov 04 18:42:12 beroal hostapd[5036]: nl80211: link=-1: TX queue param set: queue=1 aifs=1 cw_min=7 cw_max=15 burst_time=30 --> res=0
Nov 04 18:42:12 beroal hostapd[5036]: nl80211: link=-1: TX queue param set: queue=2 aifs=3 cw_min=15 cw_max=63 burst_time=0 --> res=0
Nov 04 18:42:12 beroal hostapd[5036]: nl80211: link=-1: TX queue param set: queue=3 aifs=7 cw_min=15 cw_max=1023 burst_time=0 --> res=0
Nov 04 18:42:12 beroal hostapd[5036]: nl80211: Set Deny ACL (num_mac_acl=0)
Nov 04 18:42:12 beroal hostapd[5036]: wifiap: interface state HT_SCAN->ENABLED
Nov 04 18:42:12 beroal hostapd[5036]: wifiap: AP-ENABLED
Nov 04 18:42:12 beroal hostapd[5036]: wifiap: Setup of interface done.
Nov 04 18:42:12 beroal hostapd[5036]: nl80211: Event message available
Nov 04 18:42:12 beroal hostapd[5036]: nl80211: Drv Event 15 (NL80211_CMD_START_AP) received for wifiap
Nov 04 18:42:12 beroal hostapd[5036]: wifiap: nl80211: Ignored unknown event (cmd=15)
Nov 04 18:42:12 beroal kernel: RTW: assoc success
Nov 04 18:42:14 beroal kernel: RTW: set group key camid:0, addr:{{{skipped}}}, kid:1, type:AES
Nov 04 18:42:39 beroal rtkit-daemon[2699]: Supervising 7 threads of 5 processes of 1 users.
Nov 04 18:42:39 beroal rtkit-daemon[2699]: Supervising 7 threads of 5 processes of 1 users.
Nov 04 18:43:10 beroal rtkit-daemon[2699]: Supervising 7 threads of 5 processes of 1 users.
Nov 04 18:43:10 beroal rtkit-daemon[2699]: Supervising 7 threads of 5 processes of 1 users.
Nov 04 18:43:43 beroal hostapd[5036]: nl80211: Event message available
Nov 04 18:43:43 beroal hostapd[5036]: nl80211: Drv Event 19 (NL80211_CMD_NEW_STATION) received for wifiap
Nov 04 18:43:43 beroal hostapd[5036]: nl80211: New station {{{skipped}}}
Nov 04 18:43:43 beroal kernel: RTW: ============ STA [{{{skipped}}}]  ===================
Nov 04 18:43:43 beroal kernel: RTW: mac_id : 2
Nov 04 18:43:43 beroal kernel: RTW: wireless_mode : 0x04
Nov 04 18:43:43 beroal kernel: RTW: mimo_type : 2
Nov 04 18:43:43 beroal kernel: RTW: static smps : N
Nov 04 18:43:43 beroal kernel: RTW: bw_mode : 20MHz, ra_bw_mode : 20MHz
Nov 04 18:43:43 beroal kernel: RTW: rate_id : 7
Nov 04 18:43:43 beroal kernel: RTW: rssi : -1 (%), rssi_level : 0
Nov 04 18:43:43 beroal kernel: RTW: is_support_sgi : N, is_vht_enable : N
Nov 04 18:43:43 beroal kernel: RTW: disable_ra : N, disable_pt : N
Nov 04 18:43:43 beroal kernel: RTW: is_noisy : N
Nov 04 18:43:43 beroal kernel: RTW: txrx_state : 0
Nov 04 18:43:43 beroal kernel: RTW: curr_tx_rate : CCK_1M (L)
Nov 04 18:43:43 beroal kernel: RTW: curr_tx_bw : 20MHz
Nov 04 18:43:43 beroal kernel: RTW: curr_retry_ratio : 0
Nov 04 18:43:43 beroal kernel: RTW: ra_mask : 0x0000000000000ff0
Nov 04 18:43:43 beroal kernel: RTW: WARN _beamforming_enter: Not support HT or VHT mode
Nov 04 18:43:43 beroal hostapd[5036]: nl80211: Assoc Req IEs - hexdump(len=60): {{{skipped}}}
Nov 04 18:43:43 beroal hostapd[5036]: wifiap: Event ASSOC (0) received
Nov 04 18:43:43 beroal hostapd[5036]: wifiap: STA {{{skipped}}} IEEE 802.11: associated
Nov 04 18:43:43 beroal hostapd[5036]: STA did not include WPS/RSN/WPA IE in (Re)AssocReq
Nov 04 18:43:43 beroal hostapd[5036]:   New STA
Nov 04 18:43:43 beroal hostapd[5036]: ap_sta_add: register ap_handle_timer timeout for {{{skipped}}} (300 seconds - ap_max_inactivity)
Nov 04 18:43:43 beroal hostapd[5036]: No WPA/RSN IE from STA
Nov 04 18:43:43 beroal hostapd[5036]: nl80211: sta_remove -> DEL_STATION wifiap {{{skipped}}} --> 0 (Success)
Nov 04 18:43:43 beroal hostapd[5036]: nl80211: Set STA flags - ifname=wifiap addr={{{skipped}}} total_flags=0x0 flags_or=0x0 flags_and=0xfffffff0 authorized=0
Nov 04 18:43:43 beroal hostapd[5036]: nl80211: sta_remove -> DEL_STATION wifiap {{{skipped}}} --> 0 (Success)
Nov 04 18:43:43 beroal hostapd[5036]: hostapd_ht_operation_update current operation mode=0x0
Nov 04 18:43:43 beroal hostapd[5036]: hostapd_ht_operation_update new operation mode=0x0 changes=0
Nov 04 18:43:43 beroal hostapd[5036]: ap_free_sta: cancel ap_handle_timer for {{{skipped}}}
Nov 04 18:43:43 beroal hostapd[5036]: nl80211: Event message available
Nov 04 18:43:43 beroal hostapd[5036]: nl80211: Drv Event 20 (NL80211_CMD_DEL_STATION) received for wifiap
Nov 04 18:43:43 beroal hostapd[5036]: nl80211: Delete station {{{skipped}}}
Nov 04 18:43:43 beroal hostapd[5036]: wifiap: Event DISASSOC (1) received
Nov 04 18:43:43 beroal hostapd[5036]: wifiap: STA {{{skipped}}} IEEE 802.11: disassociated
Nov 04 18:43:43 beroal hostapd[5036]: Disassociation notification for unknown STA {{{skipped}}}
Nov 04 18:43:43 beroal hostapd[5036]: wifiap: STA {{{skipped}}} IEEE 802.11: associated
Nov 04 18:43:43 beroal hostapd[5036]: wifiap: STA {{{skipped}}} IEEE 802.11: disassociated
Nov 04 18:43:43 beroal kernel: RTW: WARN _beamforming_leave: {{{skipped}}} is neither beamforming ee or er!!
Nov 04 18:44:12 beroal rtkit-daemon[2699]: Supervising 7 threads of 5 processes of 1 users.
Nov 04 18:44:12 beroal rtkit-daemon[2699]: Supervising 7 threads of 5 processes of 1 users.
Nov 04 18:44:43 beroal rtkit-daemon[2699]: Supervising 7 threads of 5 processes of 1 users.
Nov 04 18:44:43 beroal rtkit-daemon[2699]: Supervising 7 threads of 5 processes of 1 users.

we are not condemned to write ugly code

Offline

#7 2024-11-04 17:31:12

beroal
Member
From: Ukraine
Registered: 2009-06-07
Posts: 354
Website

Re: A Wi-Fi AP doesn't work after upgrading hostapd

loqs wrote:

Is the issue present in hostapd 2.11-2?

Yes.

[Updated. But works with 2.10-5.]

[Updated. And it doesn't work with 2.11-1.]

Last edited by beroal (2024-11-04 17:39:29)


we are not condemned to write ugly code

Offline

#8 2024-11-04 18:03:10

loqs
Member
Registered: 2014-03-06
Posts: 17,990

Re: A Wi-Fi AP doesn't work after upgrading hostapd

If you build the current hostapd PKGBUILD with the following diff (which is intended to downgrade the pkgver to 2.10 while keep all the other changes applied) does that work?:

diff --git a/PKGBUILD b/PKGBUILD
index 56b3677..1388035 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
 
 pkgname=hostapd
 _name=hostap
-pkgver=2.11
-pkgrel=4
+pkgver=2.10
+pkgrel=6
 pkgdesc="IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator"
 arch=(x86_64)
 url="https://w1.fi/hostapd/"
@@ -29,18 +29,18 @@ source=(
   $pkgname.tmpfiles
   $pkgname-2.11-fhs-config.patch
 )
-sha512sums=('de2ba10af60bc88f0f900fe4a90681d9f08318bf12f88227881f6c4f2c4c628b89515a5425242048b8867b1791f5613fbfa1c3adeecf345aeb4093cac5eb62e4'
+sha512sums=('f3b8d199ccfb4ae1acc2f3a08abe6d1b069c8d56df57ff5cef33dce0fd5710e9175ea626d0ac43d08eea0d8778125b60429f7bc3bed99f64c669c78b4cdc6c1b'
             'd41048299015db40a1215b43783312a4768b597e27edfc94e46307b7c338554168ef3d121b4e42afd44284ed97fe71c77815d183082f3f9edf957cf0f8fa6a8b'
             '34e16c5d46383477bcb9e0dba5073b7f01354a6adca8e591050aeff6319255f8939926b70d76d109735496bbaf9ff2d04be9cf6e0d057c4d2f4a4140067957a3'
             '51f472ed969037bd4d480d13e356a03207316169ef0ac532c40d2e7a618d0fef0529eb060a7d146d28c31efef9b5942bc12661f29d970a6ea0d972f7d2b9d3dc'
             '4394f871381165b772afc603ef640cb278980287060e87eed9cff17d8eb5ce131d081674bbbb053b2df65aeff55ce4a5fd361788e8e552e6b085656c2332b600'
-            'd1dba5160d784e0194de70a7b0009ea41ada6c944cb448299d4a05e33d8ac4350b05e570f21622fc5c39d3737a0bf782e498d2c6916808505eaac119e7273c0a')
-b2sums=('163d2e6644902f36b3b5f25e328221fa34495d745801e8d3dce874b05366c81370ef75c8f7e0198e206a3d04c5ea4bb501bf97693fa481e15cf5067d80ab0c1e'
+            'e32b0b752999e684db607498d8f6df68b9160b07108a0ee01611c988138fd48def6a016471854e8a8aee08c81a0c9a6ef2bdc7f4a54b627c018ab85ae711931e')
+b2sums=('b2122646f481d64c4a2c00dea39610799948adc413b6b98c46eb36e3d4fb0cd9f62d4922f4cc0db900e031041a87c4f0f90f8ac84283ebaf9d7838108360fd86'
         '09ec1183c1deb9f9d23abc387b0e82779fab546c021f47a1e358fe85f1218ba98b30d0eaf6c05f405fba4d679cf93853764a51b7e4075a2a7a95969aa42f2cb8'
         'dbb4d1ad4359931bd70d6ad428b509e0c40dab3a55ba7b87cf1c00a458d737c2a4ed6f06dd23286d9e4a38a481e4af9ab4ffa8e6fb27d852aa4eb7d16d046bf8'
         'a36556144a4e98b2be15fb2920ce18bc13377dc2fa4becb5f122f40aaaa7ece4e169fdaa39a60b96275fdc94ee08a31a21684c6ffd14a5417b9752c79215edb4'
         '1ffc43daa6751066a575e33a70b952498397a8bb037391c52b5d696f84df4b16583b8cf1df3cc272654523460a3ea08c53aa5139d59dd5cd40c8c615b963f74b'
-        'cafdd75caaa01298d310a8ae272ed4ac647b12b59a474ab16f4fe4e4feea63e6cf4f131bc486dd7539077969257524d919820ab30cc15a86ec7deb24c2af4926')
+        '2f06200792636e211694eaabcc029e9981ca747f56b6a52f2535cbd7875d1dc0fff34484472b9967485583a68a3232ea2755438dfba8f3a710e8fe3b93cda935')
 # NOTE: The upstream developer has been contacted on 2024-07-22 about their 1024bit DSA key being unsafe for artifact signing
 validpgpkeys=(EC4AA0A991A5F2464582D52D2B6EF432EFC895FA) # Jouni Malinen <j@w1.fi>
 
diff --git a/hostapd-2.11-fhs-config.patch b/hostapd-2.11-fhs-config.patch
index 8097aa3..7417e97 100644
--- a/hostapd-2.11-fhs-config.patch
+++ b/hostapd-2.11-fhs-config.patch
@@ -14,7 +14,7 @@ index d875d5fc6..6873898f8 100644
  
  # Access control for the control interface can be configured by setting the
  # directory to allow only members of a group to use sockets. This way, it is
-@@ -322,8 +322,8 @@ macaddr_acl=0
+@@ -312,8 +312,8 @@ macaddr_acl=0
  # Accept/deny lists are read from separate files (containing list of
  # MAC addresses, one per line). Use absolute path name to make sure that the
  # files can be read on SIGHUP configuration reloads.
@@ -25,7 +25,7 @@ index d875d5fc6..6873898f8 100644
  
  # IEEE 802.11 specifies two authentication algorithms. hostapd can be
  # configured to allow both of these or only one. Open system authentication
-@@ -1235,20 +1235,20 @@ eap_server=0
+@@ -1094,20 +1094,20 @@ eap_server=0
  # Path for EAP server user database
  # If SQLite support is included, this can be set to "sqlite:/path/to/sqlite.db"
  # to use SQLite database instead of a text file.
@@ -50,7 +50,7 @@ index d875d5fc6..6873898f8 100644
  
  # Passphrase for private key
  #private_key_passwd=secret passphrase
-@@ -1265,8 +1265,8 @@ eap_server=0
+@@ -1124,8 +1124,8 @@ eap_server=0
  # do not filter out the cipher suite list based on their local configuration and
  # as such, configuration of alternative types of certificates on the server may
  # result in interoperability issues.
@@ -61,7 +61,7 @@ index d875d5fc6..6873898f8 100644
  #private_key_passwd2=secret passphrase
  
  
-@@ -1370,9 +1370,9 @@ eap_server=0
+@@ -1229,9 +1229,9 @@ eap_server=0
  # periodically to get an update from the OCSP responder:
  # openssl ocsp \
  #	-no_nonce \
@@ -74,9 +74,9 @@ index d875d5fc6..6873898f8 100644
  #	-url http://ocsp.example.com:8888/ \
  #	-respout /tmp/ocsp-cache.der
  #ocsp_stapling_response=/tmp/ocsp-cache.der
-@@ -1390,8 +1390,8 @@ eap_server=0
- # parameter is not set. DH parameters are required if anonymous EAP-FAST is
- # used.
+@@ -1250,8 +1250,8 @@ eap_server=0
+ # is in DSA parameters format, it will be automatically converted into DH
+ # params. This parameter is required if anonymous EAP-FAST is used.
  # You can generate DH parameters file with OpenSSL, e.g.,
 -# "openssl dhparam -out /etc/hostapd.dh.pem 2048"
 -#dh_file=/etc/hostapd.dh.pem
@@ -85,7 +85,7 @@ index d875d5fc6..6873898f8 100644
  
  # OpenSSL cipher string
  #
-@@ -1681,7 +1681,7 @@ own_ip_addr=127.0.0.1
+@@ -1497,7 +1497,7 @@ own_ip_addr=127.0.0.1
  # If no entries are provided by this file, the station is statically mapped
  # to <bss-iface>.<vlan-id> interfaces.
  # Each line can optionally also contain the name of a bridge to add the VLAN to
@@ -94,7 +94,7 @@ index d875d5fc6..6873898f8 100644
  
  # Interface where 802.1q tagged packets should appear when a RADIUS server is
  # used to determine which VLAN a station is on.  hostapd creates a bridge for
-@@ -1742,7 +1742,7 @@ own_ip_addr=127.0.0.1
+@@ -1558,7 +1558,7 @@ own_ip_addr=127.0.0.1
  # sta  = station MAC address in `11:22:33:44:55:66` format.
  # type = `auth` | `acct` | NULL (match any)
  # attr = existing config file format, e.g. `126:s:Test Operator`
@@ -103,7 +103,7 @@ index d875d5fc6..6873898f8 100644
  
  # Dynamic Authorization Extensions (RFC 5176)
  # This mechanism can be used to allow dynamic changes to user session based on
-@@ -1776,7 +1776,7 @@ own_ip_addr=127.0.0.1
+@@ -1592,7 +1592,7 @@ own_ip_addr=127.0.0.1
  
  # File name of the RADIUS clients configuration for the RADIUS server. If this
  # commented out, RADIUS server is disabled.
@@ -112,7 +112,7 @@ index d875d5fc6..6873898f8 100644
  
  # The UDP port number for the RADIUS authentication server
  #radius_server_auth_port=1812
-@@ -1832,7 +1832,7 @@ own_ip_addr=127.0.0.1
+@@ -1648,7 +1648,7 @@ own_ip_addr=127.0.0.1
  # of (PSK,MAC address) pairs. This allows more than one PSK to be configured.
  # Use absolute path name to make sure that the files can be read on SIGHUP
  # configuration reloads.
@@ -120,8 +120,8 @@ index d875d5fc6..6873898f8 100644
 +#wpa_psk_file=/etc/hostapd/hostapd.wpa_psk
  
  # Optionally, WPA passphrase can be received from RADIUS authentication server
- # This requires macaddr_acl to be set to 2 (RADIUS) for wpa_psk_radius values
-@@ -2496,7 +2496,7 @@ own_ip_addr=127.0.0.1
+ # This requires macaddr_acl to be set to 2 (RADIUS)
+@@ -2269,7 +2269,7 @@ own_ip_addr=127.0.0.1
  # text file that could be used, e.g., to populate the AP administration UI with
  # pending PIN requests. If the following variable is set, the PIN requests will
  # be written to the configured file.
@@ -130,7 +130,7 @@ index d875d5fc6..6873898f8 100644
  
  # Device Name
  # User-friendly description of device; up to 32 octets encoded in UTF-8
-@@ -2575,7 +2575,7 @@ own_ip_addr=127.0.0.1
+@@ -2348,7 +2348,7 @@ own_ip_addr=127.0.0.1
  # automatically generated based on network configuration. This configuration
  # option points to an external file that much contain the WPS Credential
  # attribute(s) as binary data.
@@ -139,7 +139,7 @@ index d875d5fc6..6873898f8 100644
  
  # Credential processing
  #   0 = process received credentials internally (default)
-@@ -2606,7 +2606,7 @@ own_ip_addr=127.0.0.1
+@@ -2379,7 +2379,7 @@ own_ip_addr=127.0.0.1
  # with pre-configured attributes. This is similar to extra_cred file format,
  # but the AP Settings attributes are not encapsulated in a Credential
  # attribute.
@@ -148,21 +148,3 @@ index d875d5fc6..6873898f8 100644
  
  # Multi-AP backhaul BSS config
  # Used in WPS when multi_ap=2 or 3. Defines "backhaul BSS" credentials.
-@@ -3357,7 +3357,7 @@ own_ip_addr=127.0.0.1
- # Example:
- #mbssid=2
- #interface=wlan2
--#ctrl_interface=/var/run/hostapd
-+#ctrl_interface=/run/hostapd
- #wpa_passphrase=0123456789
- #ieee80211w=2
- #sae_pwe=1
-@@ -3370,7 +3370,7 @@ own_ip_addr=127.0.0.1
- #bssid=00:03:7f:12:84:84
- #
- #bss=wlan2-1
--#ctrl_interface=/var/run/hostapd
-+#ctrl_interface=/run/hostapd
- #wpa_passphrase=0123456789
- #ieee80211w=2
- #sae_pwe=1

Offline

#9 2024-11-04 19:39:14

beroal
Member
From: Ukraine
Registered: 2009-06-07
Posts: 354
Website

Re: A Wi-Fi AP doesn't work after upgrading hostapd

loqs wrote:

If you build the current hostapd PKGBUILD with the following diff (which is intended to downgrade the pkgver to 2.10 while keep all the other changes applied) does that work?

Hostapd works. How did you do it? :-o


we are not condemned to write ugly code

Offline

#10 2024-11-04 20:25:12

loqs
Member
Registered: 2014-03-06
Posts: 17,990

Re: A Wi-Fi AP doesn't work after upgrading hostapd

That rules out any change in the PKGBUILD apart from package version being updated. It might be a there is a required config change that is needed with the update to 2.11. I would suggest using git bisection to locate the upstream commit that breaks hostapd for you.

Offline

#11 2024-11-05 08:24:35

seth
Member
Registered: 2012-09-03
Posts: 58,170

Re: A Wi-Fi AP doesn't work after upgrading hostapd

Nov 04 18:42:12 beroal hostapd[5036]: nl80211: Drv Event 15 (NL80211_CMD_START_AP) received for wifiap
Nov 04 18:42:12 beroal hostapd[5036]: wifiap: nl80211: Ignored unknown event (cmd=15)

Do you get that w/ the older vesions? (And if, what's the response? Immediate "RTW: assoc success"?
https://github.com/aircrack-ng/rtl8188eus/issues/261
https://aur.archlinux.org/packages/rtl8 … ent-938767 but the dkms package blacklists that driver and we've established that it's not the kernel.
==> I wonder whether there used to be a fallback mechanism that has been scratched.

Offline

#12 2024-11-05 10:12:32

beroal
Member
From: Ukraine
Registered: 2009-06-07
Posts: 354
Website

Re: A Wi-Fi AP doesn't work after upgrading hostapd

seth wrote:
Nov 04 18:42:12 beroal hostapd[5036]: nl80211: Drv Event 15 (NL80211_CMD_START_AP) received for wifiap
Nov 04 18:42:12 beroal hostapd[5036]: wifiap: nl80211: Ignored unknown event (cmd=15)

Do you get that w/ the older vesions?

Yes.

seth wrote:

(And if, what's the response? Immediate "RTW: assoc success"?

Yes.


we are not condemned to write ugly code

Offline

#13 2024-11-05 12:19:43

beroal
Member
From: Ukraine
Registered: 2009-06-07
Posts: 354
Website

Re: A Wi-Fi AP doesn't work after upgrading hostapd

loqs wrote:

I would suggest using git bisection to locate the upstream commit that breaks hostapd for you.

If I execute

git checkout hostap_2_10

in hostapd-git from AUR, build, and start, hostapd dumps core. The `hostap_2_11` tag works as expected (with the issue in the first post).


we are not condemned to write ugly code

Offline

#14 2024-11-05 17:56:17

loqs
Member
Registered: 2014-03-06
Posts: 17,990

Re: A Wi-Fi AP doesn't work after upgrading hostapd

Please apply the following change to the hostapd-git PKGBUILD so the pkgver reported will match the git checkout, the current version uses the newest upstream git tag.

diff --git a/PKGBUILD b/PKGBUILD
index 6f573b4..743ecce 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -47,10 +47,7 @@ prepare() {
 pkgver() {
   cd "hostap"
 
-  _tag=$(git tag -l --sort -v:refname | grep -E '^hostap_[0-9_\.]+$' | head -n1)
-  _rev=$(git rev-list --count $_tag..HEAD)
-  _hash=$(git rev-parse --short HEAD)
-  printf "%s.r%s.g%s" "$_tag" "$_rev" "$_hash" | sed 's/^hostap_//;s/_/./g'
+  git describe --long --abbrev=7 | sed 's/^hostap-//;s/\([^-]*-g\)/r\1/;s/-/./g'
 }
 
 build() {

Then to build the first bisection point

$ cd src/hostap/
$ git restore hostapd/hostapd.conf 
$ git bisect start
status: waiting for both good and bad commits
$ git bisect bad hostap_2_11
status: waiting for good commit(s), bad commit known
$ git bisect good hostap_2_10
Bisecting: 1147 revisions left to test after this (roughly 10 steps)
[2b541601daae70fa2db3e4c54dbb8bbeae6e8224] AP: Include an RNR element in Beacon frames for AP MLD
cd ../..
makepkg -ei

Test the newly installed hostapd then

$ cd src/hostap/
$ git bisect result # where result is good or bad
cd ../..
makepkg -ei

Repeat the above until git bisect has located the first bad commit.

Offline

#15 Yesterday 18:35:36

asdasdsa2
Member
Registered: 2024-04-21
Posts: 1

Re: A Wi-Fi AP doesn't work after upgrading hostapd

---

Last edited by asdasdsa2 (Yesterday 18:35:55)

Offline

#16 Yesterday 19:10:01

beroal
Member
From: Ukraine
Registered: 2009-06-07
Posts: 354
Website

Re: A Wi-Fi AP doesn't work after upgrading hostapd

loqs wrote:

Repeat the above until git bisect has located the first bad commit.

If it's usual Git bisection, I've already done it. If I mark core-dumping versions as bad, the first bad commit is the hostap_2_10 tag.


we are not condemned to write ugly code

Offline

#17 Yesterday 19:30:17

seth
Member
Registered: 2012-09-03
Posts: 58,170

Re: A Wi-Fi AP doesn't work after upgrading hostapd

If I mark core-dumping versions as bad

Don't. "git bisect skip" cailing or crashing builds - you need to convey the explicitly disfunction as "bad", not some unrelated issues.

The 2.10 version might be incompatible w/ your current config file?
Do you have a backtrace, https://wiki.archlinux.org/title/Core_d … _core_dump ?

Offline

#18 Yesterday 20:52:38

beroal
Member
From: Ukraine
Registered: 2009-06-07
Posts: 354
Website

Re: A Wi-Fi AP doesn't work after upgrading hostapd

seth wrote:

If I mark core-dumping versions as bad

Don't. "git bisect skip" cailing or crashing builds - you need to convey the explicitly disfunction as "bad", not some unrelated issues.

I did that and got that the bad commit is the hostap_2_11. IMHO, the only option is to get version 2.10 from Git to work and move commit by commit from there forward.


we are not condemned to write ugly code

Offline

#19 Yesterday 21:00:13

loqs
Member
Registered: 2014-03-06
Posts: 17,990

Re: A Wi-Fi AP doesn't work after upgrading hostapd

If you set the git tag in the hostap-git PKGBUILD to hostap_2_10:

source=("git://w1.fi/hostap.git#tag=hostap_2_10"

Then `makepkg -C` to clean the source dir then build it does that still core  dump?

Offline

Board footer

Powered by FluxBB