我正在使用 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
关于看什么有什么想法吗?
答案1
我的问题是 wpa_supplicant 没有运行。
systemctl start wpa_supplicant