当我使用NetworkManager命令工具扫描无线网络时,输出为空。
root@radxa:~# nmcli dev wifi list
SSID BSSID MODE FREQ RATE SIGNAL SECURITY ACTIVE
root@radxa:~#
但如果使用iwlist
,则扫描正常:
root@radxa:~# iwlist wlan0 scan
Cell 01 - Address: 78:A1:06:7F:CF:C9
ESSID:"olivia"
Protocol:IEEE 802.11bgn
Mode:Master
Frequency:2.462 GHz (Channel 11)
Encryption key:on
Bit Rates:300 Mb/s
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Extra:rsn_ie=30140100000fac040100000fac040100000fac020000
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Quality=0/100 Signal level=7/100
设备状态:
root@radxa:~# nmcli device status
DEVICE TYPE STATE
wlan0 802-11-wireless unavailable
eth0 802-3-ethernet connected
但是如果使用nmcli connect是错误的:
root@radxa:~# nmcli device wifi connect "olivia" password "makeit458"
Error: No network with SSID 'olivia' found.
Linux版本:
Linux version 3.0.36+ (build@radxa-x1) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) )
#6 SMP PREEMPT Tue Aug 19 15:17:11 CST 2014
但是如果使用nmcli connect是错误的
—
guanglu 2014年
root@radxa:~# nmcli device wifi connect olivia password makeit458
Error: No network with SSID 'olivia' found.
安装网络管理器后,我遇到了同样的问题。我将其删除,并再次使wifi正常工作。
—
Grzegorz Wierzowiecki
可能的解决方案:askubuntu.com/a/921392/427233
—
David Refoua
wifi
和list
?根据手册页,您应该使用其中一个命令(nmcli
仅使用这两个命令中的第一个)