DonationCoder.com Forum

DonationCoder.com Software => Coding Snacks => Post New Requests Here => Topic started by: techidave on December 08, 2009, 08:56 PM

Title: request for a Access Point finder
Post by: techidave on December 08, 2009, 08:56 PM
after seeing Stoic Joker's Nany app for printers, it got me thinking about a similar app.  See this (https://www.donationcoder.com/forum/index.php?topic=20903.msg187355#msg187355)

Something similar that could find all the Access Points on a network and would report back:
IP address
MAC address
SSID
make and model
firmware version

and then report them all on one page.

is this possible??
Title: Re: request for a Access Point finder
Post by: techidave on December 09, 2009, 03:49 AM
perhaps I should have stuck this in the Nany 2010 program idea thread but at the time I couldn't find that thread.  Besides, I figured it might be a little late for that.
Title: Re: request for a Access Point finder
Post by: skwire on December 09, 2009, 04:34 AM
@techidave:  Have you, by chance, checked out NetStumbler? 

http://www.stumbler.net/
http://en.wikipedia.org/wiki/NetStumbler
Title: Re: request for a Access Point finder
Post by: techidave on December 09, 2009, 04:49 AM
actually I do use it some on my laptop.  I was thinking more of something that could be used on a desktop with a wired connection.

Sorry, I wasn't very clear in my thoughts.
Title: Re: request for a Access Point finder
Post by: techidave on December 09, 2009, 04:50 AM
I don't think that netstumbler will give you the nice list showing all the information at one time without clicking on each access point.
Title: Re: request for a Access Point finder
Post by: skwire on December 09, 2009, 04:51 AM
AFAIK, it's not possible to see wireless networks with a wired NIC.  Or, did I misunderstand you?
Title: Re: request for a Access Point finder
Post by: techidave on December 09, 2009, 05:30 AM
no you didn't.  Thanks for mentioning that, I hadn't thought about it.
Title: Re: request for a Access Point finder
Post by: techidave on December 09, 2009, 05:34 AM
I guess, I was assuming if it can find network printers then the same technology should be able to find access points.

But that is ok, I can just manually make my own list of AP's.  Sometimes its nice to run a scan and see what's there.

oh well...
Title: Re: request for a Access Point finder
Post by: skwire on December 09, 2009, 05:57 AM
I suppose I should have been a bit more detailed. 

A given network can have both wireless and wired hosts.  A scan from your wired NIC could find the access point's WIRED connection to the network but all that's going to seem to a scan is just another host on the network (router/computer/printer/NAS, etc.)  It's still not going to be able to see or know about the wireless network's metadata like you wanted to see.  Does that clear it up a bit?
Title: Re: request for a Access Point finder
Post by: techidave on December 09, 2009, 06:20 AM
yes. thanks a bunch for the lesson.   :-[
Title: Re: request for a Access Point finder
Post by: Stoic Joker on December 09, 2009, 06:40 AM
I guess, I was assuming if it can find network printers then the same technology should be able to find access points.
And rightfully so as SNMP (Simple Network Management Protocol) is a popular protocol/technology.

I suppose I should have been a bit more detailed.  

A given network can have both wireless and wired hosts.  A scan from your wired NIC could find the access point's WIRED connection to the network but all that's going to seem to a scan is just another host on the network (router/computer/printer/NAS, etc.)  It's still not going to be able to see or know about the wireless network's metadata like you wanted to see.  Does that clear it up a bit?
Not necessarily, Routers typically have a TTL that is higher than the surrounding workstations/printers/etc devices so they can be easily singled out. And of you stay with the Industry Standard OIDs you can usually get a great deal of info about any device on the wire with SNMP.

The main SNAFU with scanning for wireless devices (from a wired network) is that they tend to be bridged between wired/wireless media and therefore have no IP to query them with/at.
Title: Re: request for a Access Point finder
Post by: skwire on December 09, 2009, 07:01 AM
Not necessarily, Routers typically have a TTL that is higher than the surrounding workstations/printers/etc devices so they can be easily singled out.
Agreed.  I meant that the intial scan is for determining if a given IP in a subnet is alive/responding.  Once you determine that, SNMP, et cetera, comes into play.  I've written several SNMP-related tools for my workplace.  It's a great (and maddingly frustrating at times) protoocol.  =]

The main SNAFU with scanning for wireless devices (from a wired network) is that they tend to be bridged between wired/wireless media and therefore have no IP to query them with/at.

Again, agreed.  That's exactly the issue I was explaining to techidave. 

Your app worked fine on my network at work.  Very nice.  The only issue I had with it was a listview redraw bug if you dragged another window over the top of yours.
Title: Re: request for a Access Point finder
Post by: Stoic Joker on December 09, 2009, 08:08 AM
I've written several SNMP-related tools for my workplace.  It's a great (and maddingly frustrating at times) protoocol.  =]
I sentence Ye to walk the MIB ... Yep, that's the one. I just love hating it. :)

The only issue I had with it was a listview redraw bug if you dragged another window over the top of yours.
Hm... I've had (have) several with the alternating line color code & the Vista/7 generation ListView control (which is why I gave up on using them). I don't recall seeing a drag over redraw issue ... can you give me some detail on what you're running and how to duplicate it? (Probably best done back in its own thread so we don't hijack Techi's)
Title: Re: request for a Access Point finder
Post by: skwire on December 09, 2009, 10:09 AM
Ah, yeah.   :D  Walking a MIB...  Good grief...nothing like an endless stream of numbers and all you think is "WTF is that value?!"
Title: Re: request for a Access Point finder
Post by: Stoic Joker on December 09, 2009, 10:45 AM
Speaking of MIB Walking ... Ever try BP SNMP Utility (http://www.bpsoftware.com/products/BPSNMPUtil/)? It's a small, fast, portable, free SNMP utility that will dump the MIB from any device so you can pick through for what you want/need. It (saved me a boatload of time) quickly became my favorite toy while doing research for Page Countster.
Title: Re: request for a Access Point finder
Post by: skwire on December 09, 2009, 10:48 AM
Speaking of MIB Walking ... Ever try BP SNMP Utility (http://www.bpsoftware.com/products/BPSNMPUtil/)? It's a small, fast, portable, free SNMP utility that will dump the MIB from any device so you can pick through for what you want/need. It (saved me a boatload of time) quickly became my favorite toy while doing research for Page Countster.

Yep, love that tool.  I'm also intimately familiar with the standard snmpwalk/snmpget command line utils and their *bulk brothers.