5 GHz WiFi 无法在 Debian 12、Hostapd、firmware-atheros、内核信息:Debian GNU/Linux 12.5(内核:6.1.0-18-amd64 x86_64)上工作

5 GHz WiFi 无法在 Debian 12、Hostapd、firmware-atheros、内核信息:Debian GNU/Linux 12.5(内核:6.1.0-18-amd64 x86_64)上工作

我有一个 Debian 9 路由器,支持 2.4 GHz 和 5 GHz。由于 debian 9 失去了使用寿命,我决定将路由器软件升级到 debian 12,升级后 2.4 GHz 工作正常,但 5 GHz 无法工作。

日志====>

    1712216493.716925: 1712216493.716931: wlp3s0: IEEE 802.11 Hardware does not support configured channel
1712216493.717027: Could not select hw_mode and channel. (-3)
1712216493.717075: wlp3s0: interface state COUNTRY_UPDATE->DISABLED
1712216493.717127: wlp3s0: AP-DISABLED 
1712216493.717169: wlp3s0: Unable to setup interface.
1712216493.717212: wlp3s0: interface state DISABLED->DISABLED
1712216493.717527: wlp3s0: AP-DISABLED 
1712216493.717583: wlp3s0: CTRL-EVENT-TERMINATING 
1712216493.717625: hostapd_free_hapd_data: Interface wlp3s0 wasn't started
1712216493.717653: nl80211: deinit ifname=wlp3s0 disabled_11b_rates=0
1712216513.768482: wlp3s0: interface state UNINITIALIZED->COUNTRY_UPDATE
1712216513.771155: ACS: Automatic channel selection started, this may take a bit
1712216513.771219: ACS: No available channels found
1712216513.771289: 1712216513.771293: wlp3s0: IEEE 802.11 Configured channel (0) or frequency (0) (secondary_channel=0) not found from the channel list of the current mode (2) IEEE 802.11a

并且信息列表命令显示所有 5ghz 通道均标记为 NO IR。

Frequencies:
            * 5180 MHz [36] (23.0 dBm) (no IR)
            * 5200 MHz [40] (23.0 dBm) (no IR)
            * 5220 MHz [44] (23.0 dBm) (no IR)
            * 5240 MHz [48] (23.0 dBm) (no IR)
            * 5260 MHz [52] (23.0 dBm) (no IR, radar detection)
            * 5280 MHz [56] (23.0 dBm) (no IR, radar detection)
            * 5300 MHz [60] (23.0 dBm) (no IR, radar detection)
            * 5320 MHz [64] (23.0 dBm) (no IR, radar detection)
            * 5500 MHz [100] (23.0 dBm) (no IR, radar detection)
            * 5520 MHz [104] (23.0 dBm) (no IR, radar detection)
            * 5540 MHz [108] (23.0 dBm) (no IR, radar detection)
            * 5560 MHz [112] (23.0 dBm) (no IR, radar detection)
            * 5580 MHz [116] (23.0 dBm) (no IR, radar detection)
            * 5600 MHz [120] (23.0 dBm) (no IR, radar detection)
            * 5620 MHz [124] (23.0 dBm) (no IR, radar detection)
            * 5640 MHz [128] (23.0 dBm) (no IR, radar detection)
            * 5660 MHz [132] (23.0 dBm) (no IR, radar detection)
            * 5680 MHz [136] (23.0 dBm) (no IR, radar detection)
            * 5700 MHz [140] (23.0 dBm) (no IR, radar detection)
            * 5720 MHz [144] (23.0 dBm) (no IR, radar detection)
            * 5745 MHz [149] (30.0 dBm) (no IR)
            * 5765 MHz [153] (30.0 dBm) (no IR)
            * 5785 MHz [157] (30.0 dBm) (no IR)
            * 5805 MHz [161] (30.0 dBm) (no IR)
            * 5825 MHz [165] (30.0 dBm) (no IR)
            * 5845 MHz [169] (disabled)
            * 5865 MHz [173] (disabled)

但 Debian 9 仍然工作得很好。仅供参考,我使用固件-atheros 版本 20230625-2 和 hostapd 来设置 Wifi

dmesg 还显示一条错误消息,如下所示:

[ 3071.247514] ath10k_pci 0000:03:00.0: pdev param 0 not supported by firmware

答案1

最后我能够解决这个问题。问题出在较新的 hostapd (2:2.10-12)debian 12 bookworm 仓库。我不得不恢复到旧的 hostapd(2:2.4-1+deb9u9)debian 9 使 5 Ghz 在 debian 12 中工作。

答案2

升级后可能会发生这种情况,我认为您需要在路由器中禁用 WPA2/WPA3,并使用 WPA1/WPA2 代替 5GHz。让我们知道它有帮助。

相关内容