從官網下載的6G多的iso安裝後工具
#ifconfig -a 以下oop
enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
wlp4s0: flags=4099<BROADCAST,MULTICAST> mtu 1500
spa
顯示wlp4s0未啓用,執行ifup wlp4s0後,未有任何輸出ip
#nmcli d 查看狀態顯示it
DEVICE TYPE STATE CONNECTION
enp3s0 ethernet connected enp3s0
wlp4s0 wifi unmanaged --
lo loopback unmanaged -- cli
隨後各類bing搜索,各類論壇mobile
給的解決方式,基本都會用到iw,iwconfig,NetworkManager-wifi等系統裏沒有的命令,也就是說得先用有線聯網安裝一堆東西搜索
而我又鑽牛角尖,非要用已有的工具nmcli,ip,ifconfig+手動修改文件的方式達到wifi上網的目的。network
折騰了半天,放棄了;下載
有線連上網,
#yum install NetworkManager-wifi
#reboot
[root@localhost network-scripts]# nmcli d
DEVICE TYPE STATE CONNECTION
enp3s0 ethernet connected enp3s0
wlp4s0 wifi disconnected --
lo loopback unmanaged --
能夠看到,無線網卡好了
而後在執行下面的命令,就連上了(裝networkmanager-wifi前,執行nmcli connect時,會報no wifi device found之類的錯誤
[root@localhost network-scripts]# nmcli dev wifi connect mobile-dev password 1qaz2wsxDevice 'wlp4s0' successfully activated with '7f56f478-c4e8-45da-a233-d3f0bab5249b'.