使用watch+nmcli監看wifi訊號的變化
vi chekWifi.sh
#!/bin/bash
#Author:kawsing
if [ $1 ]; then
device=$1
else
echo "輸入你的無線網卡界面"
read device
fi
watch -n 1 nmcli -f "CHAN,BARS,SIGNAL,BSSID,SSID" d wifi list ifname $device
我自家的訊號強度還排第二名,所以每家都把訊號放很大,別指望大家的訊號會節制,此時臨頻干擾很嚴重。
CHAN BARS SIGNAL BSSID SSID
8 ▂▄▆_ 75 3C:1E:04:0A:28:5A kao1
6 ▂▄▆_ 69 D6:4D:A4:FF:85:88 redmi
11 ▂▄▆_ 69 18:D0:71:7D:DA:1F H660W
2 ▂▄▆_ 65 04:95:E6:73:1B:31 Tenda_731B30
1 ▂▄__ 40 F4:28:53:D0:3D:2C Hank
1 ▂▄__ 34 6C:72:20:0E:EC:80 dlink-EC80
11 ▂▄__ 34 B0:C1:9E:76:3E:52 MF286-GUCCI-2.4G
1 ▂___ 30 F4:28:53:BC:AC:00 PS4 HUB
11 ▂___ 25 00:FC:8D:5B:D5:68 HITRON-D560
3 ▂___ 22 D8:32:14:56:3A:91 6-3
11 ▂___ 22 78:32:1B:AC:CE:71 ycc0728
1 ▂___ 19 9C:65:EE:F2:05:9F Cat
11 ▂___ 19 68:FF:7B:4E:B6:CE GS300
11 ▂___ 17 F4:28:54:05:92:6C Tony_2F
1 ▂___ 15 04:BF:6D:70:E9:69 ZyXEL NBG-418N v2
2 ▂___ 15 50:D2:F5:FF:80:AB Xiaomi_80AA
36 ▂___ 15 04:95:E6:73:1B:35 Tenda_731B30_5G
1 ▂___ 14 F4:28:53:F8:C8:84 TOTOLINK_N600R
6 ▂___ 14 B8:55:10:4E:60:18 PoJen
11 ▂___ 14 6C:19:8F:53:EA:D8 ycl0520
11 ▂___ 12 EC:AD:E0:4B:F0:5F 沒密碼就別連
Last updated