centos 7.0 连接wifi常用命令


查看网卡

iw dev

 

启用无线网卡

ip link set wlp6s0 up

 

查看无线网卡连接

 iw wlp6s0 link

 

查看无线网卡ip

ip addr show wls1

 

扫描无线信用

iw wlp6s0 scan | grep SSID

 

wpa_supplicant -B -i wlp2s0 -c <(wpa_passphrase "alantop-dx1" "passwd")

注意:其中alantop-dx1为要连接到的wifi信号,passwd为无线网络的密码

 

dhcp网卡获取网卡ip

# dhclient wlp3s0

 

配套视频教程


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM