Topic: How to get dhcp lease ip from chillispot

Hi guys

I just want to know how to get dhcp lease ip address and client computer name to which the chillispot assign.
I only see in /var/log/message that:

  ....
  Jun  8 20:10:05 IaM chillispot[3617]: chilli.c: 3509: New DHCP request from MAC=00-21-E9-B2-81-FF
  Jun  8 20:29:02 IaM chillispot[3617]: chilli.c: 3550: DHCP addr released by MAC=00-21-E9-B2-81-FF IP=192.168.169.7
  Jun  8 20:38:26 IaM chillispot[3617]: chilli.c: 3509: New DHCP request from MAC=00-16-EA-E4-8D-00
  Jun  8 20:40:04 IaM chillispot[3617]: chilli.c: 3509: New DHCP request from MAC=00-21-E9-B2-81-FF
  Jun  8 21:02:11 IaM chillispot[3617]: chilli.c: 3509: New DHCP request from MAC=00-1B-77-C6-BB-34
  ....

Is there any way to get it as php code, shell script or what else in order to display in front-end user interface?

Thanks

Re: How to get dhcp lease ip from chillispot

you may get on getenv("HTTP_X_FORWARDED_FOR");