Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm looking to see whether it's possible to implement a staff 'in office/out of office' facility by tracking the active wifi (phones/tablets/laptops) in the building.

Is it possible to return a list (MAC addresses?) of active wifi clients even if they are not associated with an AP? I'm wondering whether I could put together a Linux-based solution that's totally independent from the company Access Points as they have no simple way to pull off a list of attached devices.

Thanks

share|improve this question
    
Considering that the wifi could be turned off, which I do regularly in the office, this is really not a good solution plus the phone may not have a wifi connection. –  Karlson Aug 31 '12 at 14:29
    
Kalson: Appreciate the input but tracking wifi is not the only way things will be done, it's just the avenue I'm exploring here. –  Linker3000 Sep 2 '12 at 16:21
add comment

3 Answers

I would have just made a comment rather than an answer, but I don't have enough reputation yet.

Depending on the software your router is running, maybe you could get a list of the DHCP leases, and try pinging everyone on that list. For example, in OpenWRT, if you cat /tmp/dhcp.leases you get a list of IP addresses, MAC addresses, device names, and times when the leases were given. You could go through this list and for everyone who answers the ping, you know they're still around.

share|improve this answer
add comment

You just need wireless cards that you can run in rfmon mode, and then you can see all the traffic (including non-associated clients searching for APs), and extract MAC addresses from that.

I don't know if there is existing software to do that, or if you'd have to write your own.

share|improve this answer
add comment

Why wouldn't you check the list on your router's web page ?

But anyway, it's possible, with airodump-ng you could monitor traffic in real mode, see who's communicating with whom,

enter image description here

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.