작동하지 않는 무선 인터페이스 문제를 해결하려면 어떻게 해야 합니까?

작동하지 않는 무선 인터페이스 문제를 해결하려면 어떻게 해야 합니까?

다음에서 업그레이드한 후데비안 스포일러(10) 에황소의 눈(11), 내 것Ath10k카드컴펙스 WLE900VX IEEE 802.11ac/a/b/g/n다시는 나타나지 마세요. 실행 중은 ip aUP 관리 상태를 표시하지만 DOWN 작동 상태를 표시합니다.

wlp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000

이제 데비안 업그레이드를 되돌리고 데비안 버스터를 새로 설치했지만 문제가 지속됩니다.

클라이언트가 무선 네트워크를 볼 수 없으므로 작동이 중단된 것처럼 보입니다. 이전에는 Debian 업그레이드가 유일한 변경 사항이었기 때문에 잘 작동했습니다.

dmesg | grep wlp3s0마지막 몇 줄:

[   13.616576] device wlp3s0 entered promiscuous mode
[   37.410198] device wlp3s0 left promiscuous mode
[   37.414949] br0: port 2(wlp3s0) entered disabled state

dmesg | grep wlp3s0마지막 몇 줄동일한 실행 장치에서:

[   18.914881] device wlp3s0 entered promiscuous mode
[   22.303753] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
[   22.310361] br0: port 2(wlp3s0) entered blocking state
[   22.315651] br0: port 2(wlp3s0) entered forwarding state

dmesg | grep ath10k:

[    8.719417] ath10k_pci 0000:03:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[    8.898596] ath10k_pci 0000:03:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:03:00.0.bin (-2)
[    8.920241] ath10k_pci 0000:03:00.0: firmware: failed to load ath10k/cal-pci-0000:03:00.0.bin (-2)
[    8.940058] ath10k_pci 0000:03:00.0: firmware: failed to load ath10k/QCA988X/hw2.0/firmware-6.bin (-2)
[    8.951931] ath10k_pci 0000:03:00.0: firmware: direct-loading firmware ath10k/QCA988X/hw2.0/firmware-5.bin
[    8.962553] ath10k_pci 0000:03:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[    9.003670] ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0
[    9.004463] ath10k_pci 0000:03:00.0: firmware ver 10.2.4-1.0-00041 api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 f43fa422
[    9.059335] ath10k_pci 0000:03:00.0: firmware: failed to load ath10k/QCA988X/hw2.0/board-2.bin (-2)
[    9.069730] ath10k_pci 0000:03:00.0: firmware: direct-loading firmware ath10k/QCA988X/hw2.0/board.bin
[    9.079936] ath10k_pci 0000:03:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   10.234730] ath10k_pci 0000:03:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
[   13.559842] ath10k_pci 0000:03:00.0: pdev param 0 not supported by firmware

관련 라인은 다음에서 제공됩니다 /etc/network/interfaces.

# Wired
auto enp1s0
iface enp1s0 inet manual

# Wireless
auto wlp3s0
iface wlp3s0 inet manual

# Bridge - note that wlp3s0 will be added to bridge_ports by hostapd
auto br0
iface br0 inet static
    bridge_ports enp1s0
    address 192.168.1.2
    netmask 255.255.255.0
    gateway 192.168.1.1

내 장치 항목의 출처는 다음과 같습니다 lspci.

03:00.0 Network controller: Qualcomm Atheros QCA986x/988x 802.11ac Wireless Network Adapter

iw dev:

Interface wlp3s0
  ifindex 5
  wdev 0x1
  addr 04:f0:21:88:34:71
  type managed
  txpower 0.00 dBm
  multicast TXQ:
    qsz-byt qsz-pkt flows   drops   marks   overlmt hashcol tx-bytes    tx-packets
    0   0   0   0   0   0   0   0       0

tail /var/log/syslog후에 systemctl restart networking:

Jun 18 10:55:42 host1 systemd[1]: Stopping Raise network interfaces...
Jun 18 10:55:42 host1 kernel: [244432.725354] br0: port 1(enp1s0) entered disabled state
Jun 18 10:55:42 host1 kernel: [244432.786836] device enp1s0 left promiscuous mode
Jun 18 10:55:42 host1 kernel: [244432.791588] br0: port 1(enp1s0) entered disabled state
Jun 18 10:55:42 host1 kernel: [244432.826363] IPv6: ADDRCONF(NETDEV_UP): enp1s0: link is not ready
Jun 18 10:55:42 host1 systemd[1]: networking.service: Succeeded.
Jun 18 10:55:42 host1 systemd[1]: Stopped Raise network interfaces.
Jun 18 10:55:42 host1 systemd[1]: Starting Raise network interfaces...
Jun 18 10:55:42 host1 kernel: [244433.133733] IPv6: ADDRCONF(NETDEV_UP): enp1s0: link is not ready
Jun 18 10:55:43 host1 systemd-udevd[2403]: Using default interface naming scheme 'v240'.
Jun 18 10:55:43 host1 systemd-udevd[2403]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Jun 18 10:55:43 host1 systemd-udevd[2403]: Could not generate persistent MAC address for br0: No such file or directory
Jun 18 10:55:43 host1 kernel: [244433.205584] br0: port 1(enp1s0) entered blocking state
Jun 18 10:55:43 host1 kernel: [244433.211051] br0: port 1(enp1s0) entered disabled state
Jun 18 10:55:43 host1 kernel: [244433.216938] device enp1s0 entered promiscuous mode
Jun 18 10:55:43 host1 kernel: [244433.234966] br0: port 1(enp1s0) entered blocking state

iw list동일한 분쇄기와 작업자 간의 출력은 정확히 동일합니다.

Wiphy phy0
    max # scan SSIDs: 16
    max scan IEs length: 195 bytes
    max # sched scan SSIDs: 0
    max # match sets: 0
    max # scan plans: 1
    max scan plan interval: -1
    max scan plan iterations: 0
    Retry short limit: 7
    Retry long limit: 4
    Coverage class: 0 (up to 0m)
    Device supports RSN-IBSS.
    Device supports AP-side u-APSD.
    Supported Ciphers:
        * WEP40 (00-0f-ac:1)
        * WEP104 (00-0f-ac:5)
        * TKIP (00-0f-ac:2)
        * CCMP-128 (00-0f-ac:4)
        * CMAC (00-0f-ac:6)
        * CMAC-256 (00-0f-ac:13)
        * GMAC-128 (00-0f-ac:11)
        * GMAC-256 (00-0f-ac:12)
    Available Antennas: TX 0x7 RX 0x7
    Configured Antennas: TX 0x7 RX 0x7
    Supported interface modes:
         * managed
         * AP
         * monitor
         * mesh point
    Band 1:
        Capabilities: 0x19ef
            RX LDPC
            HT20/HT40
            SM Power Save disabled
            RX HT20 SGI
            RX HT40 SGI
            TX STBC
            RX STBC 1-stream
            Max AMSDU length: 7935 bytes
            DSSS/CCK HT40
        Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
        Minimum RX AMPDU time spacing: 8 usec (0x06)
        HT TX/RX MCS rate indexes supported: 0-23
        Bitrates (non-HT):
            * 1.0 Mbps
            * 2.0 Mbps (short preamble supported)
            * 5.5 Mbps (short preamble supported)
            * 11.0 Mbps (short preamble supported)
            * 6.0 Mbps
            * 9.0 Mbps
            * 12.0 Mbps
            * 18.0 Mbps
            * 24.0 Mbps
            * 36.0 Mbps
            * 48.0 Mbps
            * 54.0 Mbps
        Frequencies:
            * 2412 MHz [1] (20.0 dBm)
            * 2417 MHz [2] (20.0 dBm)
            * 2422 MHz [3] (20.0 dBm)
            * 2427 MHz [4] (20.0 dBm)
            * 2432 MHz [5] (20.0 dBm)
            * 2437 MHz [6] (20.0 dBm)
            * 2442 MHz [7] (20.0 dBm)
            * 2447 MHz [8] (20.0 dBm)
            * 2452 MHz [9] (20.0 dBm)
            * 2457 MHz [10] (20.0 dBm)
            * 2462 MHz [11] (20.0 dBm)
            * 2467 MHz [12] (disabled)
            * 2472 MHz [13] (disabled)
            * 2484 MHz [14] (disabled)
    Band 2:
        Capabilities: 0x19ef
            RX LDPC
            HT20/HT40
            SM Power Save disabled
            RX HT20 SGI
            RX HT40 SGI
            TX STBC
            RX STBC 1-stream
            Max AMSDU length: 7935 bytes
            DSSS/CCK HT40
        Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
        Minimum RX AMPDU time spacing: 8 usec (0x06)
        HT TX/RX MCS rate indexes supported: 0-23
        VHT Capabilities (0x338001b2):
            Max MPDU length: 11454
            Supported Channel Width: neither 160 nor 80+80
            RX LDPC
            short GI (80 MHz)
            TX STBC
            RX antenna pattern consistency
            TX antenna pattern consistency
        VHT RX MCS set:
            1 streams: MCS 0-9
            2 streams: MCS 0-9
            3 streams: MCS 0-9
            4 streams: not supported
            5 streams: not supported
            6 streams: not supported
            7 streams: not supported
            8 streams: not supported
        VHT RX highest supported: 0 Mbps
        VHT TX MCS set:
            1 streams: MCS 0-9
            2 streams: MCS 0-9
            3 streams: MCS 0-9
            4 streams: not supported
            5 streams: not supported
            6 streams: not supported
            7 streams: not supported
            8 streams: not supported
        VHT TX highest supported: 0 Mbps
        Bitrates (non-HT):
            * 6.0 Mbps
            * 9.0 Mbps
            * 12.0 Mbps
            * 18.0 Mbps
            * 24.0 Mbps
            * 36.0 Mbps
            * 48.0 Mbps
            * 54.0 Mbps
        Frequencies:
            * 5180 MHz [36] (23.0 dBm)
            * 5200 MHz [40] (23.0 dBm)
            * 5220 MHz [44] (23.0 dBm)
            * 5240 MHz [48] (23.0 dBm)
            * 5260 MHz [52] (20.0 dBm) (no IR, radar detection)
            * 5280 MHz [56] (20.0 dBm) (no IR, radar detection)
            * 5300 MHz [60] (20.0 dBm) (no IR, radar detection)
            * 5320 MHz [64] (20.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] (disabled)
            * 5745 MHz [149] (disabled)
            * 5765 MHz [153] (disabled)
            * 5785 MHz [157] (disabled)
            * 5805 MHz [161] (disabled)
            * 5825 MHz [165] (disabled)
            * 5845 MHz [169] (disabled)
            * 5865 MHz [173] (disabled)
    Supported commands:
         * new_interface
         * set_interface
         * new_key
         * start_ap
         * new_station
         * new_mpath
         * set_mesh_config
         * set_bss
         * authenticate
         * associate
         * deauthenticate
         * disassociate
         * join_ibss
         * join_mesh
         * remain_on_channel
         * set_tx_bitrate_mask
         * frame
         * frame_wait_cancel
         * set_wiphy_netns
         * set_channel
         * set_wds_peer
         * probe_client
         * set_noack_map
         * register_beacons
         * start_p2p_device
         * set_mcast_rate
         * connect
         * disconnect
         * channel_switch
         * set_qos_map
         * set_multicast_to_unicast
    Supported TX frame types:
         * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
         * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
         * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
         * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
         * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
         * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
         * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
         * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
    Supported RX frame types:
         * IBSS: 0x40 0xb0 0xc0 0xd0
         * managed: 0x40 0xd0
         * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
         * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
         * mesh point: 0xb0 0xc0 0xd0
         * P2P-client: 0x40 0xd0
         * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
         * P2P-device: 0x40 0xd0
    software interface modes (can always be added):
         * monitor
    valid interface combinations:
         * #{ AP, mesh point } <= 8, #{ managed } <= 1,
           total <= 8, #channels <= 1, STA/AP BI must match
    HT Capability overrides:
         * MCS: ff ff ff ff ff ff ff ff ff ff
         * maximum A-MSDU length
         * supported channel width
         * short GI for 40 MHz
         * max A-MPDU length exponent
         * min MPDU start spacing
    Device supports TX status socket option.
    Device supports HT-IBSS.
    Device supports SAE with AUTHENTICATE command
    Device supports scan flush.
    Device supports AP scan.
    Device supports per-vif TX power setting
    Driver supports full state transitions for AP/GO clients
    Driver supports a userspace MPM
    Driver/device bandwidth changes during BSS lifetime (AP/GO mode)
    Device supports static SMPS
    Device supports configuring vdev MAC-addr on create.
    Supported extended features:
        * [ VHT_IBSS ]: VHT-IBSS
        * [ RRM ]: RRM
        * [ SET_SCAN_DWELL ]: scan dwell setting
        * [ FILS_STA ]: STA FILS (Fast Initial Link Setup)
        * [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
        * [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
        * [ TXQS ]: FQ-CoDel-enabled intermediate TXQs

답변1

나도 똑같은 걸 갖고 있어무선 네트워크 카드Buster가 제공하는 것보다 최신 Debian 커널로 업그레이드한 후, 나의 다른 모든 Atheros Ath10k Wifi 장치는 ath.ko를 패치해야 하는 매우 유사한 문제에 직면했습니다.

당시 제가 수집한 바에 따르면 문제는 Buster 커널과 Bullseye 커널 사이 어딘가에서 채널 선택과 지역 코드가 업데이트되었다는 것이었고,모두내 Atheros 카드에는0"업데이트" 후 5Ghz의 클라이언트 스테이션 이외의 모드에 사용 가능한 주파수입니다.

커널 소스 코드는 사용자가 손상된 영역 감지를 무시할 수 있는 옵션을 제공하지만 데비안은 커널 빌드에서 이 옵션을 활성화하지 않습니다.

그래서 당시 제가 본 두 가지 나쁜 선택은 다음과 같습니다.

  • 중립 영역 감지 기능을 사용하여 ath.ko를 다시 컴파일합니다(openwrt의 5줄 패치) -> 10분 작업.
  • "CERTIFICATION_ONUS" 옵션을 "시스템 소유자가 결정"으로 설정하여 전체 커널을 다시 컴파일합니다. -> 컴파일 시간이 더 오래 걸리고 재부팅해야 합니다.

둘 다 "tainted kernel" 경고를 생성하고 커널 소스 및 wpa_supplicant에 대한 업데이트를 캡처하기 위해 패키지 업데이트 중에 주의가 필요하므로 Wi-Fi를 작동하기 위해 재부팅하기 전에 다시 컴파일할 수 있습니다.

내가 데비안을 좋아하는 만큼 데비안의 Wi-Fi는 고통스럽습니다.

나는 이것이 "더러운 해결 방법"이라고 생각하지만 적절한 해결책을 조사할 시간이 없습니다. "보안 부팅 UEFI 구성에 키 추가, 재컴파일 후 apt-hooks 사용 및 커널/모듈 서명, 거기에서 기도하는 것과 같은 것 같습니다." '오염된' 경고는 없습니다."

atk.ko 패치가 없으면 출력의 모든 5Ghz 주파수가 설정 iw phy됩니다 NO-IR.

이것이 효과가 있다면 제가 가지고 있는 스크립트/패치를 수정하여 이 게시물에 편집할 수 있습니다.

관련 정보