Bbn_80211b_tap.py with tcpdump or wireshark


#1

Hi all,
Â
I ran the bbn_80211b_tap.py. I used both tcpdump and wireshark to try
to capture the packets. However, it doesn’t work.
Â
My steps:

  1. ./bbn_80211b_tap.py.
    2.ifconfig gr0 192.168.111.2
  2. tcpdump -i gr0 -e -X
    Â
    I have no idea what’s wrong.
    Â
    Could anyone please help me to capture the 802.11 packets?
    Â
    Thank you,
    Jane

#2

On Sat, Feb 21, 2009 at 09:00:34PM -0800, Jane C. wrote:

I have no idea what’s wrong.

Could anyone please help me to capture the 802.11 packets?

Thank you,
Jane

Jane,

Can you please be more specific than “it doesn’t work”.

This page

http://www.catb.org/~esr/faqs/smart-questions.html

contains many suggestions on how to ask questions that
are likely to result in a useful result.

Eric


#3

Thank you for your reply! I can see packets through bbn_80211b_rx.py.Â
It works well.
OS: fedora 9
Hardware: USRP and RFX2400
Â
Finally, I got something after I ran bbn_80211b_tap.py as follows: (But
I don’t think it decoded correctly.)

tcpdump -i gr0 -e -X

tcpdump: verbose output suppressed, use -v or -vv for full protocol
decode
listening on gr0, link-type EN10MB (Ethernet), capture size 96 bytes
20:42:10.763803 86:00:00:00:00:19 (oui Unknown) > 06:03:00:00:01:0b (oui
Unknown), ethertype Unknown (0xa955), length 76:
   0x0000: ded0 010b 8500 0000 306a 0019 a955 ded0 …0j…U…
   0x0010: aaaa 0300 0b85 cccd 001b 001d 45f0 d920 …E…
   0x0020: 007a 0aff 320e 0601 0101 0611 1100 4cd2 .z…2…L.
   0x0030: 16fa cddb aa05 1371 bff9 1d3a 4d2c      …q…:M,
20:42:36.163052 86:00:00:00:00:19 (oui Unknown) > 06:03:00:00:01:0b (oui
Unknown), ethertype Unknown (0xa955), length 76:
   0x0000: 6c80 010b 8500 0000 a020 0019 a955 6c80 l…Ul.
   0x0010: aaaa 0300 0b85 cccd 001b 001d 45f0 d920 …E…
   0x0020: 007a 0aff 320e 0601 0101 0611 1100 443d .z…2…D=
   0x0030: ecb5 a72b 28e3 bc20 06a7 7653 9006      …+(…vS…
.
.
.

Thank you,
Jane


From: Doug G. removed_email_address@domain.invalid
To: Jane C. removed_email_address@domain.invalid
Cc: removed_email_address@domain.invalid
Sent: Sunday, February 22, 2009 8:30:13 AM
Subject: Re: [Discuss-gnuradio] bbn_80211b_tap.py with tcpdump or
wireshark

Are you getting any errors when you run bbn_80211b_tap.py? What
hardware (USRP, daughterboard?) are you using? What OS? I think the
tun/tap interface is only supported on Linux and some BSD’s (I’ve only
tried under Linux myself). If you don’t see anything over tcpdump, are
you sure there are 1 and 2Mbps packets nearby on the frequency you are
tuning to (if you don’t specify one, the default is 2437MHz)? The
README.txt in the examples directory gives some help on the options you
can specify. If you are able to get bbn_80211b_rx.py to see packets with
certain options, make sure you use the same with _tap.py.
Doug


Doug G.
Research Assistant
Communications and Signal Processing Lab
Oklahoma State University
removed_email_address@domain.invalid
removed_email_address@domain.invalid
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmhfZMACgkQPJjTsCiwNz60OACeMmywJaDhW3r1Rp8xiHlhbj17
PKMAn3U+ezsVX76IO2iUi3Y1crmKCKUz
=/obu
-----END PGP SIGNATURE-----