Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Module to return signal levels on captured packets

by porpoise_paul (Novice)
on Jan 04, 2010 at 16:59 UTC ( #815599=perlquestion: print w/replies, xml ) Need Help??
porpoise_paul has asked for the wisdom of the Perl Monks concerning the following question:

I've been experimenting with the Net::Pcap module to some success. I've been unable to find a way of obtaining the signal level from each packet obtained. I've noticed that tcpdump displays the signal level by default when performing ethernet packet capture on a monitor mode enabled interface. Is there another module or way to find out this info on a packet by packet basis using Perl?

  • Comment on Module to return signal levels on captured packets

Replies are listed 'Best First'.
Re: Module to return signal levels on captured packets
by gmargo (Hermit) on Jan 04, 2010 at 19:08 UTC

    The signal level is a property of the wireless interface. It is not a property of any packets captured from that interface, and so cannot be derived from the packet content. tcpdump(1) is showing interface information that you could also display with iwconfig(1).

      I was obviously on the wrong track. Do you know of a way to measure signal level between two clients associated on the same AP?
        Also, I've noted that TCPdump will report the signal value between myself and another client when sending echo requests to it. Actually, during the echo request I see the reply directly from the target and also from the AP that is acting as a hub in this instance. I did not think that iwconfig was able to provide signal levels between clients in this fashion. Is there a perl module that can read interface statistics such as TCPdump appears to be doing?

        Any direction is greatly appreciated.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://815599]
Front-paged by Arunbear
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2018-05-21 05:45 GMT
Find Nodes?
    Voting Booth?