Return to FAQ List
FAQ 62: Get the IP or MAC of the client who just joinedCategory: Action functions | Updated: 01/11/2011 7:59 PM
Download: JoinAction-variables.zip and extract to the C:\DNSREDIR working directory.
In this example, every join action triggers the client's MAC and IP address to be logged in C:\DNSREDIR\joinlog.txt
The IP is passed as variable %1 when JoinAction or LeaveAction is run
The MAC is obtained from the arp command and set in the variable %MAC%
Retaining the MAC address and IP may be useful to law enforcement, to determine abuse or violation of network policies.
One customer developed a script so after a client joined multiple access points where polled via SNMP, determining which AP the client associated with gave an idea of where they were in the building.
FAQ 90 Log only authorizations