On Tue, 07 May 2013 03:41:19 -0400
cmsv <[email protected]> wrote:

> 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.

This will actually only show those asking for a DHCP lease, not those
that probe / connect without using DHCP, e.g., those assigning
themselves a static address.

On my OpenWRT box, for example, that file currently only shows one
connection, although there are at least two more that are using static
configuration.

> 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
> > 


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

Reply via email to