Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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:

Hi,
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?

Thanks

Comment on Module to return signal levels on captured packets
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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://815599]
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (12)
As of 2014-10-23 21:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (129 votes), past polls