Look at :  /tmp/dhcp.leases and you can tail it.

tail -f /tmp/dhcp.leases

It will show you in real time the list of clients connecting.

You can then write a small script that will email you via ssmtp every X
number of lines the file gets until the leases expire.
Default is 12h but you can change.

I have not attempted to do this but i am interested in your progress
regarding this subject.


On 05/07/2013 02:21 AM, Tim Uckun wrote:
> Hi.
> 
> I am using the openmesh om2p device. I would like this device to send me
> the list of mac addresses that probed the wireless network on a schedule
> (for the last X minutes).
> 
> What's the best way to accomplish this?
> 
> Thanks.
> 
> 
> _______________________________________________
> openwrt-users mailing list
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-users
> 

Attachment: 0x782BF73E.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to