#1:找出无线网卡类型信息
$ lspci
$ lspci | grep -i wireless
$ lspci | egrep -i --color 'wifi|wlan|wireless'
#2:找出无线网卡驱动信息
$ lspci -vv -s 0c:00.0
例子:
0c:00.0 Network controller: Intel Corporation Ultimate N WiFi Link 5300
Subsystem: Intel Corporation Device 1121
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-
Kernel driver in use: iwlwifi
#3:配置无线网络接口
iwconfig 网卡名
//iwconfig和ifconfig命令类似,但是这个命令是无线网卡专用的命令
例子:
wlan0 IEEE 802.11abgn ESSID:"nixcraft5g" Mode:Managed Frequency:5.18 GHz Access Point: 74:44:44:44:57:FC Bit Rate=6 Mb/s Tx-Power=15 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off Link Quality=41/70 Signal level=-69 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:28 Missed beacon:0
# iwconfig wlan0 | grep -i --color quality //查询网络连接质量
# iwconfig wlan0 | grep -i --color signal //查询信号强度
#4:动态显示连接强度
# watch -n 1 cat /proc/net/wireless