openeuler23.03 wifi6 无线网络配置问题

操作系统:openeuler23.03
wifi型号:AC7265D

执行命令:nmcli dev 返回结果:

DEVICE  TYPE      STATE        CONNECTION 
eth0    ethernet  connected    eth0       
wlan0   wifi      unavailable  --         
lo      loopback  unmanaged    --

这里可以看到wlan0 是unavailable 状态

执行命令 systemctl status NetworkManager得到以下结果:

● NetworkManager.service - Network Manager
     Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2023-08-01 17:38:00 CST; 3min 53s ago
       Docs: man:NetworkManager(8)
   Main PID: 1079 (NetworkManager)
      Tasks: 4 (limit: 19443)
     Memory: 18.0M
     CGroup: /system.slice/NetworkManager.service
             ├─ 1079 /usr/sbin/NetworkManager --no-daemon
             └─ 1500 /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/NetworkManager/dhclient-eth0.pid -lf /var/lib/NetworkManager/dhclient-5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03-eth0.lease -cf /var/lib/NetworkManager/dhclient-eth0.conf eth0

Aug 01 17:38:10 TC00000000 NetworkManager[1079]: <error> [1690882690.8552] device (wlan0): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Aug 01 17:38:20 TC00000000 NetworkManager[1079]: <warn>  [1690882700.8401] device (wlan0): re-acquiring supplicant interface (#2).
Aug 01 17:38:20 TC00000000 NetworkManager[1079]: <error> [1690882700.8485] device (wlan0): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Aug 01 17:38:30 TC00000000 NetworkManager[1079]: <warn>  [1690882710.8317] device (wlan0): re-acquiring supplicant interface (#3).
Aug 01 17:38:30 TC00000000 NetworkManager[1079]: <error> [1690882710.8445] device (wlan0): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Aug 01 17:38:40 TC00000000 NetworkManager[1079]: <warn>  [1690882720.8354] device (wlan0): re-acquiring supplicant interface (#4).
Aug 01 17:38:40 TC00000000 NetworkManager[1079]: <error> [1690882720.8465] device (wlan0): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Aug 01 17:38:50 TC00000000 NetworkManager[1079]: <warn>  [1690882730.8327] device (wlan0): re-acquiring supplicant interface (#5).
Aug 01 17:38:50 TC00000000 NetworkManager[1079]: <error> [1690882730.8413] device (wlan0): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Aug 01 17:38:50 TC00000000 NetworkManager[1079]: <info>  [1690882730.8414] device (wlan0): supplicant interface keeps failing, giving up

这里可以看到有报错,请问这需要怎么解决呢?

1 Like

journalctl -f -t NetworkManager看看有没有更详细的日志

这个命令看到一样的报错,换openeuler 22.03 这个版本是正常的,可能是跟内核有关系吧

可以到networkmanager的仓库提issue问问

好的,非常感谢

驱动问题?