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. | [reply] |
If I understand your question correctly, then you want to try ifconfig and Net::Interface. For an example from the source:
#!/usr/bin/perl
use strict;
use warnings;
use Net::Interface;
my @all = Net::Interface->interfaces();
print $all[0]->name,"\n";
my @allnames = "@all";
print @allnames,"\n";
| [reply] [d/l] [select] |
I apologize for not making myself more clear...While performing frame capture on tcpdump it returns the signal level that each frame was intercepted at. So, if I ping a host on my LAN, tcpdump receives two frames per ping sent. One directly from the pinged host, and the other from the AP which has rebroadcast the ping since it is acting as a wireless hub. The measurement from the AP is different from that of the host since the host is much closer. So, somehow, tcpdump is able to read the signal levels of frames intercepted by other hosts on my LAN, not just the signal level to my AP. Ifconfig and Net::Interface do not seem to grant me access to those frame by frame stats. I would like to use perl to collect the signal levels of other hosts on my LAN in a similar manner to how tcpdump does it.
Thanks
| [reply] |