Capturing wireless traffic on the xo
Javier Cardona
javier at cozybit.com
Mon Oct 22 19:57:13 EDT 2007
Bernie,
As requested, here are the steps to capture wireless traffic on the xo:
pre-req:
yum install tcpdump
killall NetworkManager
then:
echo $TRAFFIC_MASK > /sys/class/net/msh0/device/libertas_rtap
ifconfig rtap0 up
tcpdump -i rtap0 -w capture.dump
TRAFFIC_MASK bits:
Data frames: 0x1
Mgmt frames but beacons: 0x2
Beacons: 0x4
You can then open capture.dump with wireshark. To interpret mesh
traffic correctly, you will want to compile wireshark with this patch:
https://cozybit1.dnsalias.org/~javier/patches/wireshark-0.99.5-fw-5.220.11-support.patch
Let me know if you have any questions.
Cheers,
Javier
More information about the Devel
mailing list