NetStumbler.org Forums

Go Back   NetStumbler.org Forums > NetStumbler Community > Scripts
Register Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 05-02-2005   #1 (permalink)
adonis
 
Posts: n/a
Script for Getting Signal levels

Can somebody direct me to any light perl/C code that gets the signal and the noise levels from the NIC?

Thanks,
  Reply With Quote
Old 05-03-2005   #2 (permalink)
dwakeman
perlmonk
 
dwakeman's Avatar
 
Join Date: Jul 2004
Location: canadia
Posts: 57
Quote:
Originally Posted by adonis
Can somebody direct me to any light perl/C code that gets the signal and the noise levels from the NIC?

Thanks,
You mean the levels through NetStumbler for an AP?

Code:
use strict;
open(FILE, "+>SNRresults.txt") || die "Can't open file: ($!)", $/;
sub OnScanResult {
  my ( $ssid, $mac, $flags, $signal, $noise, $ls ) = @_;
  print FILE "$ssid,$signal,$noise", $/;
}
That would work.
dwakeman is offline   Reply With Quote
Old 05-03-2005   #3 (permalink)
Thorn
Did you do the math?
 
Thorn's Avatar
 
Join Date: Apr 2002
Location: Villa Straylight
Posts: 10,096
Quote:
Originally Posted by dwakeman
You mean the levels through NetStumbler for an AP?

Code:
use strict;
open(FILE, "+>SNRresults.txt") || die "Can't open file: ($!)", $/;
sub OnScanResult {
  my ( $ssid, $mac, $flags, $signal, $noise, $ls ) = @_;
  print FILE "$ssid,$signal,$noise", $/;
}
That would work.
It would seem from his other posts he wants the API-level info to talk to the cards directly. He's repeatedly requested this type of info. A lot of us are ignoring him now having answered variations on the same question over and over.

(And yes, the obvious answer is to get the SDKs.)
__________________
Thorn
"I'm The Doctor. I'm a Time Lord. I am from the planet Gallifrey in the constellation Kasterborous. I'm 903 years old and I am the man who is going to save your lives and all 6 billion people on the planet below... You got a problem with that?"
Thorn is offline   Reply With Quote
Old 05-03-2005   #4 (permalink)
adonis
 
Posts: n/a
Hello, They were all different questions with the only common thing between all being --reference to signal and noise strengths.

Thanks
  Reply With Quote
Old 05-03-2005   #5 (permalink)
wrzwaldo
I amuse you?
 
Join Date: Dec 2003
Posts: 9,127
Quote:
Originally Posted by adonis
Hello, They were all different questions with the only common thing between all being --reference to signal and noise strengths.

Thanks

Possibly in your world. But the questions I seen were all about the same thing. You have begun to wear out your welcome here.

LOL

Quote:
They were all different questions with the only common thing between all being...
Yeah they were different!!!
wrzwaldo is offline   Reply With Quote
Old 05-03-2005   #6 (permalink)
streaker69
Psychic Amish Stumbler
 
streaker69's Avatar
 
Join Date: Jul 2004
Location: Virginville, BlueBall, Bird In Hand, Intercourse, Paradise, PA
Posts: 11,837
I'm just curious, what kind of project are you working on that you need that information? Your repeated asking has me intrigued.
__________________
"One of these days, I'm going to cut you to pieces."

If you're offended by this post, please feel free to report it to one of the many helpful moderators of this forum.

Thank you.
streaker69 is online now   Reply With Quote
Old 05-03-2005   #7 (permalink)
adonis
 
Posts: n/a
Thanks, As Thorn said correctly I was not looking for the perl script as put above. However since you ask my project involves working on getting error patterns in wireless networks and fitting theoretical models to it. For that I need accurate and rapid signal strength and noise level measurements.
Never guessed it would be so confusing till I realised different cards report vastly different values. So far I have found the cisco aironets outputs to most closely match commercial vector analysers.
  Reply With Quote
Old 05-03-2005   #8 (permalink)
Scruge
Nyuk nyuk!
 
Scruge's Avatar
 
Join Date: Jan 2005
Location: TX
Posts: 1,380
Quote:
Originally Posted by streaker69
I'm just curious, what kind of project are you working on that you need that information? Your repeated asking has me intrigued.
I maybe speaking out of turn here... But I think he's hell bent on finding out why his 2 wifi cards aren't reporting the same SNR.

Tenacity at its best/worst.
Scruge is offline   Reply With Quote
Old 05-03-2005   #9 (permalink)
dwakeman
perlmonk
 
dwakeman's Avatar
 
Join Date: Jul 2004
Location: canadia
Posts: 57
Quote:
Originally Posted by Thorn
It would seem from his other posts he wants the API-level info to talk to the cards directly. He's repeatedly requested this type of info. A lot of us are ignoring him now having answered variations on the same question over and over.

(And yes, the obvious answer is to get the SDKs.)

Ah ic. I wrongly assumed we'd be talking about NetStumbler I guess.
dwakeman is offline   Reply With Quote
Old 05-03-2005   #10 (permalink)
wrzwaldo
I amuse you?
 
Join Date: Dec 2003
Posts: 9,127
Quote:
Originally Posted by adonis
Thanks, As Thorn said correctly I was not looking for the perl script as put above. However since you ask my project involves working on getting error patterns in wireless networks and fitting theoretical models to it. For that I need accurate and rapid signal strength and noise level measurements.
Never guessed it would be so confusing till I realised different cards report vastly different values. So far I have found the cisco aironets outputs to most closely match commercial vector analysers.
So why not just buy an analyzer? Or try and rent/lease one when needed? Your "theoretical models" will be for shit unless you use something that can provide accurate/repeatable results.
wrzwaldo is offline   Reply With Quote
Old 05-03-2005   #11 (permalink)
adonis
 
Posts: n/a
Thanks, We already had airmagnet and airopeek in our lab. They are no different than NS in terms of readings. In fact I searched and found NS once these commercial s/w showed discrepancies. Recently placed an order for the BVS yellowjacket.

What kind of analyser are you talking about? Software analyser? There are other hardware analysers though from Agilent but they really give the baseband snr and not individual values for an AP.
  Reply With Quote
Old 05-03-2005   #12 (permalink)
wrzwaldo
I amuse you?
 
Join Date: Dec 2003
Posts: 9,127
Quote:
Originally Posted by adonis
Thanks, We already had airmagnet and airopeek in our lab. They are no different than NS in terms of readings. In fact I searched and found NS once these commercial s/w showed discrepancies. Recently placed an order for the BVS yellowjacket.

What kind of analyser are you talking about? Software analyser? There are other hardware analysers though from Agilent but they really give the baseband snr and not individual values for an AP.
What ever kind will get the job done for you without having to fiddle fuck around. Which one is dependant upon your desired features and size of your checkbook!
wrzwaldo is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Google
 
Web NetStumbler.org

All times are GMT -7. The time now is 03:39 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 ©2007, Crawlability, Inc.


All messages express the views of the author and are for entertainment purposes only. Netstumbler.org cannot be held responsible for the authenticity of the content or the actions of its members. By using this site and its services, you warrant that you will not post any messages that are discriminating, obscene, hateful, threatening, or otherwise violates any laws and you release Netstumbler.org from any future claims of any kind whatsoever including, but not limited to, addiction and loss of productivity. All forum messages, private messages and any other content are properties of Netstumbler.org. Even if publicly available, personal or copyrighted information are not to be posted without the consent of the owner. Distribution of licensed and copyrighted materials in any way not endorsed by the copyright owner is strictly prohibited. You may not use this site and its resources to spam other sites or individuals or perform any action that violates any law. Items sold or bought in the For Sale forum are sold as is and no warranty or insurance of any kind is provided. Netstumbler.org cannot be held responsible for the outcome of any transactions and no warranty of any kind is provided, either express or implied. Vulgar words are not allowed in the subject lines ; they may be used in the message body in any forum. The Administrator, Super Moderators and Moderators of Netstumbler.org have the right to remove, edit, move or close any thread for any reason and to reveal your identity and other known information in the event of a complaint or legal action arising from any message posted by you.