Pages: [1]   Go Down
Author Topic: Wifi smart phone mac address capture  (Read 1927 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 39
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Can this be done with a wifi module? If I understand correctly, smart phones that have the "scan for networks" setting turned on periodicly send out a broadcast singals as they search for networks. I'm looking for a way to capture these signals and retrieve the mac address. Any sugestions? sample code? Thanks in advance.   
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 654
Posts: 50931
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I'm looking for a way to capture these signals
Using what hardware?

Quote
and retrieve the mac address.
For what purpose?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 39
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm thinking of using something along these lines: https://www.sparkfun.com/products/10822

And I would like to build a device that could track the coming and goings of my shops customers. Nothing malicious.
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 654
Posts: 50931
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Nothing malicious.
Not if you inform the customers.

My iPhone has WiFi turned off most of the time. The only time it is on is when I turn it on to connect to particular WiFi access points (at home, mostly). So, even if I visited your shop, you would not find out about my phone.

I'm not sure when a WiFi packet contains any useful information. That may be when the phone is trying to access a WiFi access point (all the time it is looking) or it may be only when the access point agrees to let the device connect.

Only one way to find out.
Logged

Atlanta, GA
Offline Offline
Jr. Member
**
Karma: 0
Posts: 86
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://blog.spiderlabs.com/2012/12/wardrive-raspberry-pi-style.html

I came acesss that the other day - used a pi and kismet

Also check out this company

http://euclidanalytics.com/product/

Able to log Mac address and signal levels to figure out if people walk by or into the store.


Logged

Southern California
Offline Offline
God Member
*****
Karma: 5
Posts: 539
I like blinky lights
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I think Pantonvich's recommendations are a more likely solution than an Arduino-based one.

To capture arbitrary MAC addresses you'd need to be able to put the Ethernet card into promiscuous mode and parse the raw packers in your application yourself.

I'm not aware of any WiFi adapters for the Arduino that can do that. The RN-XV definitely can't; it goes so far out of its way to shield you from the lower protocols that you can't even use it to receive arbitrary UDP or multicast packets.
« Last Edit: January 16, 2013, 02:06:22 am by magagna » Logged

http://en.wiktionary.org/wiki/magagna <-- My last name.  Pretty apt.

Offline Offline
Newbie
*
Karma: 0
Posts: 39
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the responses. The bit about promiscuous mode is what I needed if I decide to continue.
Logged

Pages: [1]   Go Up
Jump to: