Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a small public WiFi network where I need to keep track of the number of monthly users. With a single Linksys E4200, I can use the firmware's DHCP client log. I dump the log and use a script to count the number of unique MAC addresses per day.

With three E4200s I haven't been able to do this. One router is connected to the modem. The other two are connected to the first router by Ethernet and are running in Cisco's bridge mode, which basically turns them into access points. The problem is that this disables the logs on these routers, and the log on the first router seems to only display the wireless clients of that router.

Does anyone have suggestions for counting WiFi users? I imagine I could try another firmware. This thread seems to suggest that DHCP client logging is trivial in Tomato, but this is only for a single router, not my setup. Does anyone have any experience with a router and a couple APs using Tomato or DD-WRT? Is DHCP client logging possible in this situation? Is there a better solution (but using my current hardware) I'm missing?

Thank you very much for your help.

share|improve this question
Why not move DHCP to a centralized DHCP server? – joeqwerty Oct 17 '12 at 20:51
Because our WiFi network isn't part of our actual network. The WAN link for WiFi is provided for free by a local ISP (since we're a public agency). There's literally just the modem and the routers. There aren't any computers on the network. – bsamek Oct 17 '12 at 21:40
You could try getting them all to send logs to a syslog server but I'm not certain if the E4200 supports syslog and I'm not certain if the other two record DHCP events in syslog. – Robin Gill Oct 17 '12 at 23:31
Hey @joeqwerty, I added a DHCP server to the network. It seemed like the easiest solution. If you want to add your comment as an answer to the question I'd be happy to choose it as the accepted answer. – bsamek Oct 24 '12 at 18:18
Done and done... – joeqwerty Oct 24 '12 at 18:26
up vote 1 down vote accepted

I would suggest moving the DHCP function to a centralized DHCP server.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.