nexmonster / nexmon_csi

Channel State Information for Raspberry Pi. Use the pi-5.10.92 branch.
https://github.com/nexmonster/nexmon_csi/tree/pi-5.10.92
60 stars 26 forks source link

Why turn on mon0 and capture from wlan0? #44

Open sangeun-jo opened 1 year ago

sangeun-jo commented 1 year ago

Readme instruction works for me but can't understand the process. Why we don't use mon0 interface? If we don't use mon0 interface, why we should turn on mon0? At first time, I thought the process should be below.

ifconfig wlan0 up
iw dev wlan0 interface add mon0 type monitor
ip link set mon0 up
nexutil -Imon0 -s500 -b -l34 -vm+IBEQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==

tcpdump -i mon0 dst port 5500

But it was failed. If I exactly follow Readme instruction, it works. I want to understand the process to reduce firmware crash.