wifi capture packets

1. iw dev wlan0 interface add mon_wlan0 type monitor
2. ifconfig mon_wlan0 up
3. iwconfig mon_wlan0 channel 'X'
4. wireshark  base on mon_wlan0
 

Ps: check channel support or not with command "iwlist wlan0 channel"


tshark -r capture_packets_0.pcap -R "wlan.fc.type_subtype == 0x08 and wlan.bssid == 42:26:B6:DE:B5:B3" -V -c 1 > 0


你可能感兴趣的:(wifi capture packets)