显示无线接口:
iwconfig
wlx38a28c80c24f IEEE 802.11 Mode:Master Tx-Power=20 dBm
Retry short long limit:2 RTS thr:off Fragment thr:off
Power Management:off
显示可以用无线网卡扫描的热点:
wlan="wlx38a28c80c24f"
sudo ifconfig $wlan up
iwlist $wlan scan | rg -i xiaomi -A 5
ESSID:"Xiaomi_9113"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
18 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000022064d81a33
我想连接它:
sudo iwconfig $wlan essid "Xiaomi_9113" key xxxxxxxxxx
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device wlx38a28c80c24f ; Operation not supported.
我确信密码是正确的。