【WiFi】ubuntu20.4 WiFi6 无线抓包环境搭建及使用
环境说明
笔记本电脑,无线网卡AX200,安装ubuntu20.04
安装无线网卡工具aircrack-ng
sudo apt-get install aircrack-ng
安装wireshark
sudo add-apt-repository ppa:wireshark-dev/stable
sudo apt update
sudo apt -y install wireshark
sudo apt -y install wireshark-q
安装AX200抓包驱动
官网下载ax200最新固件
https://www.intel.com/content/www/us/en/support/articles/000005511/network-and-i-o/wireless.html
并将固件解压放在/lib/firmware目录下
注意下载cc的
WiFi6抓包操作说明
2.4G抓包
查看接口
iwconfig
wlp3s0是无线网卡接口
启动2.4G抓包
airmon-ng start wlp3s0 6
启动wireshark
sudo wireshark
停止监听模式
airmon-ng stop wlp3s0mon
5G抓包
启动5G抓包
airmon-ng start wlp3s0 36
设置信道及频宽
设置36信道20MHz频宽
iw dev wlp3s0mon set freq 5180 20
设置36信道40MHz频宽
iw dev wlp3s0mon set freq 5180 40 5190
设置36信道80MHz频宽
iw dev wlp3s0mon set freq 5180 80 5210
启动wireshark
sudo wireshark
iw指令设置频宽说明
指令说明
iw dev [接口] set freq [信道频率] [频宽] [频宽中心频率]
iw dev wlp3s0mon set freq 5180 80 5210
2.4GHz信道分布
20MHz频宽
Band | Channel Number | Center Frequency(MHz) |
2400~2483.5MHz | 1 | 2412 |
2 | 2417 | |
3 | 2422 | |
4 | 2427 | |
5 | 2432 | |
6 | 2437 | |
7 | 2442 | |
8 | 2447 | |
9 | 2452 | |
10 | 2457 | |
11 | 2462 | |
12 | 2467 | |
13 | 2472 |
40MHz频宽
Band | Channel Number | Center Frequency(MHz) |
2400~2483.5MHz | 3 | 2422 |
4 | 2427 | |
5 | 2432 | |
6 | 2437 | |
7 | 2442 | |
8 | 2447 | |
9 | 2452 | |
10 | 2457 | |
11 | 2462 |
5G信道分布
20MHz频宽
Band | Channel Number | Center Frequency(MHz) |
5150~5250MHz | 36 | 5180 |
40 | 5200 | |
44 | 5220 | |
48 | 5240 | |
5250~5350MHz | 52 | 5260 |
56 | 5280 | |
60 | 5300 | |
64 | 5320 | |
5470~5725MHz | 100 | 5500 |
104 | 5520 | |
108 | 5540 | |
112 | 5560 | |
116 | 5580 | |
120 | 5600 | |
124 | 5620 | |
128 | 5640 | |
132 | 5660 | |
136 | 5680 | |
140 | 5700 | |
144 | 5720 | |
5725~5850MHz | 149 | 5745 |
153 | 5765 | |
157 | 5785 | |
161 | 5805 | |
165 | 5825 | |
5850MHz~ | 169 | 5845 |
173 | 5865 | |
177 | 5885 |
40MHz频宽
Band | Channel Number | Center Frequency(MHz) |
5150~5250MHz | 38 | 5190 |
46 | 5230 | |
5250~5350MHz | 54 | 5270 |
62 | 5310 | |
5470~5725MHz | 102 | 5510 |
110 | 5550 | |
118 | 5590 | |
126 | 5630 | |
134 | 5670 | |
142 | 5710 | |
5725~5850MHz | 151 | 5755 |
159 | 5795 | |
5850MHz~ | 167 | 5835 |
175 | 5875 |
80MHz频宽
Band | Channel Number | Center Frequency(MHz) |
5150~5250MHz | 42 | 5210 |
5250~5350MHz | 58 | 5290 |
5470~5725MHz | 106 | 5530 |
122 | 5610 | |
138 | 5690 | |
5725~5850MHz | 155 | 5775 |
5850MHz~ | 171 | 5855 |
160MHz频宽
Band | Channel Number | Center Frequency(MHz) |
5150~5250MHz | 50 | 5250 |
5250~5350MHz | ||
5470~5725MHz | 114 | 5570 |
5850MHz~ | 163 | 5815 |
6GHz信道分布
20MHz 40MHz 80MHz 160MHz 320MHz频宽
Bands | Channel Number | 20MHz Center Freq (MHz) | Channel Number | 40MHz Center Freq(MHz) | Channel Number | 80MHz Center Freq (MHz) | Channel Number | 160MHz Center Freq (MHz) | Channel Number | 320MHz Center Freq(MHz) | |
UNII-5(5925 to 6425) | 2 | 5935 | |||||||||
1 | 5955 | 3 | 5965 | 7 | 5985 | 15 | 6025 | 31 | 6105 | ||
5 | 5975 | ||||||||||
9 | 5995 | 11 | 6005 | ||||||||
13 | 6015 | ||||||||||
17 | 6035 | 19 | 6045 | 23 | 6065 | ||||||
21 | 6055 | ||||||||||
25 | 6075 | 27 | 6085 | ||||||||
29 | 6095 | ||||||||||
33 | 6115 | 35 | 6125 | 39 | 6145 | 47 | 6185 | ||||
37 | 6135 | ||||||||||
41 | 6155 | 43 | 6165 | ||||||||
45 | 6175 | ||||||||||
49 | 6195 | 51 | 6205 | 55 | 6225 | ||||||
53 | 6215 | ||||||||||
57 | 6235 | 59 | 6245 | ||||||||
61 | 6255 | ||||||||||
65 | 6275 | 67 | 6285 | 71 | 6305 | 79 | 6345 | 95 | 6425 | ||
69 | 6295 | ||||||||||
73 | 6315 | 75 | 6325 | ||||||||
77 | 6335 | ||||||||||
81 | 6355 | 83 | 6365 | 87 | 6385 | ||||||
85 | 6375 | ||||||||||
89 | 6395 | 91 | 6405 | ||||||||
93 | 6415 | ||||||||||
UNII-6(6425 to 6525) | 97 | 6435 | 99 | 6445 | 103 | 6465 | 111 | 6505 | 95 | 6425 | |
101 | 6455 | ||||||||||
105 | 6475 | 101 | 6485 | ||||||||
109 | 6495 | ||||||||||
113 | 6515 | 115 | 6525 | 119 | 6545 | ||||||
UNII-7(6525 to 6875) | 117 | 6535 | 115 | 6525 | 119 | 6545 | 111 | 6505 | 95 | 6425 | |
121 | 6555 | 123 | 6565 | ||||||||
125 | 6575 | ||||||||||
129 | 6595 | 131 | 6605 | 135 | 6625 | 143 | 6665 | 159 | 6745 | ||
133 | 6615 | ||||||||||
137 | 6635 | 139 | 6645 | ||||||||
141 | 6655 | ||||||||||
145 | 6675 | 147 | 6685 | 151 | 6705 | ||||||
149 | 6695 | ||||||||||
153 | 6715 | 155 | 6725 | ||||||||
157 | 6735 | ||||||||||
161 | 6755 | 163 | 6765 | 167 | 6785 | 175 | 6825 | ||||
165 | 6775 | ||||||||||
169 | 6795 | 171 | 6805 | ||||||||
173 | 6815 | ||||||||||
177 | 6835 | 179 | 6845 | 183 | 6865 | ||||||
182 | 6855 | ||||||||||
185 | 5875 | 187 | 6885 | ||||||||
UNII-8 (6875 to 7125) | 189 | 6895 | 187 | 6885 | 183 | 6865 | 175 | 6825 | 159 | 6745 | |
193 | 6915 | 195 | 6925 | 199 | 6945 | 207 | 6985 | NA | |||
197 | 6935 | ||||||||||
201 | 6955 | 203 | 6965 | ||||||||
205 | 6975 | ||||||||||
209 | 6995 | 211 | 7005 | 215 | 7025 | ||||||
213 | 7015 | ||||||||||
217 | 7035 | 219 | 7045 | ||||||||
221 | 7055 | ||||||||||
225 | 7075 | 227 | 7085 | NA | |||||||
229 | 7095 | ||||||||||
233 | 7115 | NA |