NetStumbler.org Forums

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

Reply
 
LinkBack Thread Tools Display Modes
Old 03-03-2009   #1 (permalink)
CubicVirtuoso
Registered Member
 
Join Date: Feb 2007
Posts: 5
Netstumbler vs. Netsh

Hey folks,

Long time admirer of netstumbler; however as most of you are familiar, netstumbler is not availble for Vista... which is perfectly fine and understandable I am not here to complain.

However, I was wondering if anyone knew the conversion between netstumblers SNR ratio and Vista's netstat signal percentage...

I.E. <blank>% roughly equates to 20SNR.

I've thought about taking my vista laptop, and my XP laptop and basically doing a quick site survey - comparing 20SNR to whatever the percentage was in Vista, but that would depend on the network card and other factors.

It's probably a lot to ask, but wondering if anyone has done any research into it. And no... Installing XP is unfortunately not an option.
CubicVirtuoso is offline   Reply With Quote
Old 03-03-2009   #2 (permalink)
CubicVirtuoso
Registered Member
 
Join Date: Feb 2007
Posts: 5
Solved my own issue this morning... for anyone who is interested.

Netstumbler uses a base noise floor of -100 for the APs I was testing on... the way netstumbler calculates the SNR is it takes the signal (in DB) and adds the absolute value of the noise floor.

Eg: -52 signal -100 noise floor = 48SNR

Unfortunately netsh doesn't output RSSI values so I found a much better program called inSSIDer developed by the good people at metageek that prints out RSSI values based on the module. Adding the netstumbler noise floor of 100 to the RSSI value will result in the SNR value.

For those who cannot run inSSIDer for any reason I also found some sample C# code written by Peter Bromberg:

Code:
public static int GetSignalStrengthAsInt()
{
Int32 returnStrength = 0;
ManagementObjectSearcher searcher = null;
try
{
// Query the management object with the valid scope and the
correct query statment
searcher = new ManagementObjectSearcher( @"root\WMI",
"select Ndis80211ReceivedSignalStrength from
MSNdis_80211_ReceivedSignalStrength where active=true" );

// Call the get in order to populate the collection
ManagementObjectCollection adapterObjects = searcher.Get();
// Loop though the management object and pull out the signal
strength
foreach ( ManagementObject mo in adapterObjects )
{
returnStrength = Convert.ToInt32( mo[
"Ndis80211ReceivedSignalStrength" ].ToString() );
break;
}

}
catch ( Exception e )
{

}
finally
{
if ( searcher != null )
{
searcher.Dispose();
}
}

return returnStrength;
}
This should return the RSSI value. Hope that helps someone else like me :P

Feel free to correct any of my ramblings if they are incorrect.
CubicVirtuoso is offline   Reply With Quote
Old 03-28-2009   #3 (permalink)
BennyTB9
Registered Member
 
Join Date: Aug 2006
Posts: 1
SNR is not what you want

SNR is not the value you want. SNR = Signal to Noise Ratio. This is only an accurate reading if your program and your wireless adapter show Noise. Noise is unwanted signal from Microwaves/Cordless Phones/Electrical interferrence etc.. Most wireless cards do not show noise. The important number is the Signal Strength. I know a negative number can be confusing but it is a ratio of dB/mV Decibles per millivolt. The closer to a positive number the better. Some wireless AP's will transmit a positive signal ratio directly out of the antenna. I hope this helps.
BennyTB9 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 On
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 04:49 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, 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.