I would like to write a script that create a log of all successfull connections (through wireless mode).

Log should have this form:
USER: $MAC-address / starting at: $TimeIN / leaving at: $TimeOUT
... where time is in "year, month, day, hour, minute, sec" format.

In fact, the wireless status web page give MAC address list in real time. I just want a little more: storing the starting and leaving process on file...

My fw is Oleg's 1.9.2.7-CR6b.

Could someone give me a hint to find the right commands - variables?

Thanks.