Capturing wireless traffic on the xo
Rafael Enrique Ortiz Guerrero
dirakx at gmail.com
Tue Oct 23 18:36:49 EDT 2007
Hi all,
i've put this procedure in the wiki:
http://wiki.laptop.org/go/Wireless
Feel free to add or correct the information.
Cheers!
On 10/22/07, Javier Cardona <javier at cozybit.com> wrote:
>
> 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
> _______________________________________________
> Devel mailing list
> Devel at lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
--
Rafael Enrique Ortiz Guerrero
One Laptop Per Child
rafael at laptop.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20071023/dc542fc8/attachment.html>
More information about the Devel
mailing list