Linux

NetworkManager 不允許掃描可用的 wifi AP

  • May 12, 2020

我正在使用 systemd 和 NetworkManager 執行 buildroot Linux,並且正在嘗試連接 Wifi 網路。我正在執行掃描並收到錯誤消息。使用 NetworkManager 我執行以下命令:

# nmcli radio wifi on
# nmcli dev wifi rescan
Error: Scanning not allowed while unavailable or activating.

# nmcli dev
DEVICE  TYPE      STATE        CONNECTION
eth1    ethernet  connected    Wired connection 1
eth0    ethernet  unavailable  --
usb0    ethernet  unavailable  --
can0    can       unmanaged    --
lo      loopback  unmanaged    --
wlan0   wifi      unmanaged    --

網路管理器處於活動狀態

# systemctl status NetworkManager
● NetworkManager.service - Network Manager
  Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
  Active: active (running) since Fri 2018-06-22 11:27:31 UTC; 14min ago

關於看什麼的任何想法?

我的問題是 wpa_supplicant 沒有執行。

systemctl start wpa_supplicant

引用自:https://unix.stackexchange.com/questions/567622