无法调出网络接口 - RTNETLINK 回答:操作已在进行中

无法调出网络接口 - RTNETLINK 回答:操作已在进行中

我的笔记本电脑上安装了 Kali Linux 2020.2。当我今天开始使用时,我无法连接到任何 wifi 网络。我检查了网络管理器:

systemctl status network-manager.service 
● NetworkManager.service - Network Manager
     Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2020-04-24 16:11:21 MDT; 2min 21s ago
       Docs: man:NetworkManager(8)
   Main PID: 1709 (NetworkManager)
      Tasks: 3 (limit: 18802)
     Memory: 3.8M
     CGroup: /system.slice/NetworkManager.service
             └─1709 /usr/sbin/NetworkManager --no-daemon

Apr 24 16:12:36 kali NetworkManager[1709]: <warn>  [1587766356.8333] device (wlan0): re-acquiring supplicant interface (#5).
Apr 24 16:12:41 kali NetworkManager[1709]: <error> [1587766361.0602] device (wlan0): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Apr 24 16:12:41 kali NetworkManager[1709]: <info>  [1587766361.0602] device (wlan0): supplicant interface keeps failing, giving up

于是我检查了wpa_supplicant的状态:

systemctl status wpa_supplicant.service 
● wpa_supplicant.service - WPA supplicant
     Loaded: loaded (/lib/systemd/system/wpa_supplicant.service; disabled; vendor preset: disabled)
     Active: active (running) since Fri 2020-04-24 16:06:48 MDT; 7min ago
   Main PID: 1581 (wpa_supplicant)
      Tasks: 1 (limit: 18802)
     Memory: 1.2M
     CGroup: /system.slice/wpa_supplicant.service
             └─1581 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant

Apr 24 16:12:24 kali wpa_supplicant[1581]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Apr 24 16:12:27 kali wpa_supplicant[1581]: Could not set interface wlan0 flags (UP): Operation already in progress
Apr 24 16:12:27 kali wpa_supplicant[1581]: WEXT: Could not set interface 'wlan0' UP
Apr 24 16:12:27 kali wpa_supplicant[1581]: wlan0: Failed to initialize driver interface

然后我检查了我的网络接口,果然,wlan0 已关闭:

ip a
2: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 16:be:3d:a1:54:7e brd ff:ff:ff:ff:ff:ff

我尝试手动启动 wlan0 并收到以下消息:

ip link set wlan0 up
RTNETLINK answers: Operation already in progress

如果有人知道导致此问题的原因或如何解决它,那就太好了,谢谢!

相关内容