PerliKnight has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

Has anyone ever used, or are there any Perl modules, that would let a Perl program poll a wireless access point to see what was nearby?

(This is for a cheap and cheerful attempt at WiFi RFID, in case you're wondering!)

Any pointers welcome.

Many thanks,

David

Replies are listed 'Best First'.
Re: Perl and WiFi access points
by marto (Cardinal) on Jul 18, 2006 at 14:42 UTC
    PerliKnight,

    These are not modules but you may want to take a look at wellenreiter written in Perl/Gtk, wlandetect and gkismet also written in Perl/Gtk. Since you have not specified an OS you are using I linked to what I knew about.

    Hope this helps

    Martin
      Cheers for that. OS? Not fussy.

      Idea is to have a master node on a network that can poll a bunch of WiFi access points and get logs off them of who wandered past them... Don't know if this is do-able but it's what I'd like to be able to do.

Re: Perl and WiFi access points
by clwolfe (Scribe) on Jul 18, 2006 at 16:30 UTC

    If your WAPs support SNMP, you might use Net::SNMP to poll them. Or if they have a web interface, you could use WWW::Mechanize to scrape the log.

    If it has both, I'd recommend doing it over the web interface rather than the SNMP interface - SNMP is a giant pain in the butt, IMHO. But maybe I'm still scarred from an old web-based switch manager I was forced to maintain.

    Cheers, ccw