5GHz Network Capturing Cheat Sheet 📶
- 1. Install Necessary Tools
sudo apt-get install hcxdumptool hcxtools
- 2. Check for 5GHz Support
iw list
- 3. Enable Monitor Mode
sudo ip link set wlan0 down
sudo iw dev wlan0 set type monitor
sudo ip link set wlan0 up
- 4. Set to 5GHz Channel
sudo iw dev wlan0 set channel 36
- 5. Identify Target Networks
sudo hcxdumptool -i wlan0 --scan
- 6. Capture Traffic
sudo hcxdumptool -i wlan0 --enable_status=1 -o output.pcapng --filterlist=filterlist.txt --filtermode=2
- 7. Analyze Captured Traffic
hcxpcaptool -z output.hccapx output.pcapng
- 8. Troubleshooting
sudo iw reg get
sudo iw reg set US
- 9. Switch Back to 2.4GHz
sudo ip link set wlan0 down
sudo iw dev wlan0 set type monitor
sudo iw dev wlan0 set channel 6
sudo ip link set wlan0 up
- 10. List 2.4GHz Channels
iw phy phy0 channels
iwlist wlan0 channel